Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,variableFilter="time|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.|smee.lesigma.i|speed.phi|speed.w|voltageController.I.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,variableFilter="time|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.|smee.lesigma.i|speed.phi|speed.w|voltageController.I.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001424/0.001424, allocations: 178.4 kB / 8.698 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.396/1.396, allocations: 205.3 MB / 214.4 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008211/0.0008212, allocations: 82.69 kB / 262.4 MB, free: 1.684 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.595e-05/1.615e-05, allocations: 4 kB / 315.5 MB, free: 22.71 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08127/0.0813, allocations: 47.58 MB / 363.1 MB, free: 7.07 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3226/0.4039, allocations: 115.2 MB / 478.3 MB, free: 13.05 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002644/0.4043, allocations: 86.89 kB / 478.3 MB, free: 13.01 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1645/0.5688, allocations: 61.7 MB / 0.5274 GB, free: 4.297 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.5688, allocations: 0 / 0.5274 GB, free: 4.297 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003255/0.5692, allocations: 79.92 kB / 0.5275 GB, free: 4.219 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 731 * Number of variables: 731 Notification: Performance of Generate backend data structure: time 0.00821/0.5774, allocations: 3.014 MB / 0.5304 GB, free: 1.137 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.5775, allocations: 12.03 kB / 0.5304 GB, free: 1.125 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002459/0.5799, allocations: 479.5 kB / 0.5309 GB, free: 0.6523 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2024/0.7824, allocations: 2.057 MB / 0.5329 GB, free: 95.36 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002273/0.7826, allocations: 298.3 kB / 0.5332 GB, free: 95.16 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005403/0.7832, allocations: 172 kB / 0.5333 GB, free: 95.16 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005183/0.7884, allocations: 2.662 MB / 0.5359 GB, free: 95.14 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005381/0.7938, allocations: 3.183 MB / 0.539 GB, free: 94.72 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.828e-05/0.7939, allocations: 8.281 kB / 0.5391 GB, free: 94.72 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002302/0.7941, allocations: 12.05 kB / 0.5391 GB, free: 94.72 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001071/0.7942, allocations: 111.2 kB / 0.5392 GB, free: 94.71 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01951/0.8137, allocations: 11.43 MB / 0.5503 GB, free: 91.86 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002401/0.8162, allocations: 2.711 MB / 0.553 GB, free: 90.7 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001147/0.8173, allocations: 1.055 MB / 0.554 GB, free: 90.68 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002734/0.8176, allocations: 144.5 kB / 0.5541 GB, free: 90.59 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00128/0.8189, allocations: 1.075 MB / 0.5552 GB, free: 90.45 MB / 410.7 MB Notification: Performance of pre-optimization done (n=156): time 3.717e-06/0.8189, allocations: 0 / 0.5552 GB, free: 90.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=180): time 0.01075/0.8297, allocations: 6.398 MB / 0.5614 GB, free: 89.43 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.856e-05/0.8298, allocations: 316.2 kB / 0.5617 GB, free: 89.07 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001981/0.8318, allocations: 1.558 MB / 0.5633 GB, free: 88.41 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001152/0.8319, allocations: 33.11 kB / 0.5633 GB, free: 88.38 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009734/0.8329, allocations: 1.391 MB / 0.5647 GB, free: 87.33 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003677/0.8333, allocations: 0.5745 MB / 0.5652 GB, free: 86.88 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001001/0.8334, allocations: 0 / 0.5652 GB, free: 86.88 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001177/0.8335, allocations: 393.5 kB / 0.5656 GB, free: 86.54 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001152/0.8347, allocations: 0.961 MB / 0.5665 GB, free: 86.16 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001458/0.8361, allocations: 1.489 MB / 0.568 GB, free: 85.18 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001409/0.8376, allocations: 1.164 MB / 0.5691 GB, free: 84.75 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.616e-06/0.8376, allocations: 5.656 kB / 0.5691 GB, free: 84.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=264) (initialization): time 0.004531/0.8421, allocations: 3.355 MB / 0.5724 GB, free: 83.59 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008733/0.843, allocations: 5.34 MB / 0.5776 GB, free: 77.92 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.726e-05/0.843, allocations: 11.75 kB / 0.5776 GB, free: 77.92 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002562/0.8456, allocations: 1.174 MB / 0.5788 GB, free: 77.61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001315/0.8469, allocations: 376.1 kB / 0.5791 GB, free: 77.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01169/0.8586, allocations: 14.01 MB / 0.5928 GB, free: 67.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002353/0.861, allocations: 134.8 kB / 0.5929 GB, free: 67.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001872/0.8612, allocations: 83.17 kB / 0.593 GB, free: 67.39 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.8613, allocations: 5.219 kB / 0.593 GB, free: 67.39 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004433/0.8657, allocations: 3.093 MB / 0.596 GB, free: 66.28 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.875e-05/0.8657, allocations: 11.75 kB / 0.5961 GB, free: 66.28 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002531/0.8683, allocations: 1.172 MB / 0.5972 GB, free: 65.97 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001292/0.8696, allocations: 373.1 kB / 0.5976 GB, free: 65.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01166/0.8812, allocations: 14 MB / 0.6112 GB, free: 55.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002165/0.8834, allocations: 122 kB / 0.6113 GB, free: 55.67 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001747/0.8836, allocations: 82.06 kB / 0.6114 GB, free: 55.66 MB / 410.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: switch.closerWithArc[1].v:VARIABLE(unit = "V" ) "Voltage drop of the two pins (= p.v - n.v)" type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: switch.closerWithArc[3].v:VARIABLE(unit = "V" ) "Voltage drop of the two pins (= p.v - n.v)" type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: switch.closerWithArc[2].v:VARIABLE(unit = "V" ) "Voltage drop of the two pins (= p.v - n.v)" type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.loadControl.pulseStart,loadControl.pulseStart,$PRE.switch.closerWithArc[1].off,switch.closerWithArc[1].off,$PRE.switch.closerWithArc[1].quenched,switch.closerWithArc[1].quenched,$PRE.switch.closerWithArc[1].tSwitch,switch.closerWithArc[1].tSwitch,$PRE.switch.closerWithArc[2].off,switch.closerWithArc[2].off,$PRE.switch.closerWithArc[2].quenched,switch.closerWithArc[2].quenched,$PRE.switch.closerWithArc[2].tSwitch,switch.closerWithArc[2].tSwitch,$PRE.switch.closerWithArc[3].off,switch.closerWithArc[3].off,$PRE.switch.closerWithArc[3].quenched,switch.closerWithArc[3].quenched,$PRE.switch.closerWithArc[3].tSwitch,switch.closerWithArc[3].tSwitch,voltageController.I.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (212): * Single equations (assignments): 205 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 16,(3,100.0%) 24,(2,100.0%) 4} * Non-linear torn systems: 3 {1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0005052/0.8841, allocations: 182 kB / 0.6116 GB, free: 55.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003647/0.8845, allocations: 218.5 kB / 0.6118 GB, free: 55.39 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005545/0.8901, allocations: 3.242 MB / 0.615 GB, free: 54.22 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.331e-05/0.8901, allocations: 24.36 kB / 0.615 GB, free: 54.22 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.698e-06/0.8901, allocations: 1.75 kB / 0.615 GB, free: 54.22 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.81e-05/0.8901, allocations: 11.39 kB / 0.615 GB, free: 54.22 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009718/0.8999, allocations: 6.141 MB / 0.621 GB, free: 50.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.624e-06/0.8999, allocations: 7.609 kB / 0.621 GB, free: 50.72 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008145/0.9007, allocations: 200 kB / 0.6212 GB, free: 50.56 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00305/0.9038, allocations: 1.39 MB / 0.6226 GB, free: 49.47 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001184/0.9039, allocations: 29.45 kB / 0.6226 GB, free: 49.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01333/0.9173, allocations: 14.17 MB / 0.6364 GB, free: 36.19 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.56e-06/0.9173, allocations: 0 / 0.6364 GB, free: 36.19 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006349/0.9236, allocations: 4.704 MB / 0.641 GB, free: 31.94 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001209/0.9249, allocations: 0.5054 MB / 0.6415 GB, free: 31.47 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003227/0.9252, allocations: 23.59 kB / 0.6415 GB, free: 31.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001316/0.9265, allocations: 110.1 kB / 0.6416 GB, free: 31.38 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005122/0.9271, allocations: 228.5 kB / 0.6419 GB, free: 31.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001075/0.9272, allocations: 55.61 kB / 0.6419 GB, free: 31.2 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001521/0.9287, allocations: 1.171 MB / 0.6431 GB, free: 30.12 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.9287, allocations: 0 / 0.6431 GB, free: 30.12 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003494/0.9322, allocations: 1.112 MB / 0.6441 GB, free: 29.02 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 8 (smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[1],smee.idq_rr[2],smee.idq_dr[1],speed.phi,speed.w,voltageController.I.y) * Number of discrete variables: 14 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,loadControl.pulseStart,switch.closerWithArc[1].off,switch.closerWithArc[1].quenched,switch.closerWithArc[1].tSwitch,switch.closerWithArc[2].off,switch.closerWithArc[2].quenched,switch.closerWithArc[2].tSwitch,switch.closerWithArc[3].off,switch.closerWithArc[3].quenched,switch.closerWithArc[3].tSwitch) * Number of discrete states: 6 (switch.closerWithArc[3].off,switch.closerWithArc[3].quenched,switch.closerWithArc[1].off,switch.closerWithArc[1].quenched,switch.closerWithArc[2].off,switch.closerWithArc[2].quenched) * Top-level inputs: 0 Notification: Strong component statistics for simulation (116): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 4} * Non-linear torn systems: 4 {7 52,1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005139/0.9327, allocations: 334.5 kB / 0.6445 GB, free: 28.75 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.007803/0.9406, allocations: 5.953 MB / 0.6503 GB, free: 23.23 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/0.9406, allocations: 0 / 0.6503 GB, free: 23.23 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003238/0.9438, allocations: 2.33 MB / 0.6526 GB, free: 21.14 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002339/0.9462, allocations: 404.1 kB / 0.6529 GB, free: 20.83 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009931/0.9561, allocations: 5.055 MB / 0.6579 GB, free: 16.38 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001868/0.958, allocations: 2.321 MB / 0.6601 GB, free: 14.56 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00274/0.9608, allocations: 0.8423 MB / 0.661 GB, free: 14.02 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00027/0.9611, allocations: 106.4 kB / 0.6611 GB, free: 13.92 MB / 410.7 MB Notification: Performance of SimCode: time 5.91e-07/0.9611, allocations: 0 / 0.6611 GB, free: 13.92 MB / 410.7 MB Notification: Performance of Templates: time 0.2628/1.224, allocations: 42.62 MB / 0.7027 GB, free: 94.51 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/SynchronousInductionMachines/SMEE_LoadDump/SMEE_LoadDump.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches