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.001151/0.001152, allocations: 172.6 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.471/1.471, allocations: 205.2 MB / 219.8 MB, free: 14.27 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007728/0.000773, allocations: 82.66 kB / 268 MB, free: 14.09 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.453e-05/2.454e-05, allocations: 4 kB / 322.5 MB, free: 17.35 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08313/0.08317, allocations: 47.58 MB / 370 MB, free: 1.707 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3169/0.4002, allocations: 115.6 MB / 485.6 MB, free: 10.22 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002438/0.4005, allocations: 91.44 kB / 485.7 MB, free: 10.18 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3581/0.7585, allocations: 62.46 MB / 0.5353 GB, free: 94.9 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.7586, allocations: 0 / 0.5353 GB, free: 94.9 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002865/0.7589, allocations: 80.75 kB / 0.5354 GB, free: 94.89 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.008757/0.7676, allocations: 3.021 MB / 0.5384 GB, free: 93.79 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.055e-05/0.7677, allocations: 9.656 kB / 0.5384 GB, free: 93.79 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003283/0.771, allocations: 484.4 kB / 0.5388 GB, free: 93.6 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006055/0.7771, allocations: 2.065 MB / 0.5408 GB, free: 93.12 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002942/0.7774, allocations: 392.6 kB / 0.5412 GB, free: 92.92 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000889/0.7783, allocations: 283.1 kB / 0.5415 GB, free: 92.92 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007127/0.7854, allocations: 3.586 MB / 0.545 GB, free: 92.48 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.798e-05/0.7856, allocations: 9.438 kB / 0.545 GB, free: 92.48 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002895/0.7859, allocations: 130.2 kB / 0.5451 GB, free: 92.48 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001183/0.786, allocations: 111.2 kB / 0.5452 GB, free: 92.47 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004961/0.791, allocations: 2.824 MB / 0.548 GB, free: 92.44 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01804/0.809, allocations: 11.97 MB / 0.5597 GB, free: 89.4 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002454/0.8115, allocations: 2.776 MB / 0.5624 GB, free: 87.67 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001266/0.8128, allocations: 1.105 MB / 0.5635 GB, free: 87.26 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002771/0.8131, allocations: 141 kB / 0.5636 GB, free: 87.16 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00139/0.8145, allocations: 1.122 MB / 0.5647 GB, free: 86.69 MB / 410.7 MB Notification: Performance of pre-optimization done (n=156): time 3.286e-06/0.8145, allocations: 5.438 kB / 0.5647 GB, free: 86.69 MB / 410.7 MB Notification: Performance of matching and sorting (n=180): time 0.01642/0.831, allocations: 8.007 MB / 0.5725 GB, free: 83.95 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001002/0.8311, allocations: 311.3 kB / 0.5728 GB, free: 83.61 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002764/0.8339, allocations: 1.838 MB / 0.5746 GB, free: 82.87 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002047/0.8341, allocations: 68.19 kB / 0.5747 GB, free: 82.81 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009958/0.8351, allocations: 1.384 MB / 0.576 GB, free: 81.76 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004398/0.8355, allocations: 0.6011 MB / 0.5766 GB, free: 81.29 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001025/0.8356, allocations: 42.53 kB / 0.5767 GB, free: 81.26 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001132/0.8358, allocations: 384.9 kB / 0.577 GB, free: 80.93 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001262/0.837, allocations: 1 MB / 0.578 GB, free: 80.55 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001486/0.8385, allocations: 1.542 MB / 0.5795 GB, free: 79.55 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001425/0.84, allocations: 1.223 MB / 0.5807 GB, free: 79.09 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.666e-06/0.84, allocations: 2.875 kB / 0.5807 GB, free: 79.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=264) (initialization): time 0.005188/0.8452, allocations: 3.58 MB / 0.5842 GB, free: 77.8 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001077/0.8463, allocations: 5.406 MB / 0.5895 GB, free: 72.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.057e-05/0.8463, allocations: 18.23 kB / 0.5895 GB, free: 72.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002765/0.8491, allocations: 1.187 MB / 0.5907 GB, free: 71.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001565/0.8507, allocations: 382.7 kB / 0.591 GB, free: 71.76 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01218/0.8628, allocations: 14.56 MB / 0.6053 GB, free: 61.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002308/0.8652, allocations: 178.8 kB / 0.6054 GB, free: 61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00016/0.8654, allocations: 86.56 kB / 0.6055 GB, free: 60.98 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/0.8654, allocations: 7.438 kB / 0.6055 GB, free: 60.97 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004402/0.8698, allocations: 3.342 MB / 0.6088 GB, free: 59.72 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.471e-05/0.8698, allocations: 14.09 kB / 0.6088 GB, free: 59.72 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002391/0.8722, allocations: 1.193 MB / 0.61 GB, free: 59.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001182/0.8734, allocations: 372.5 kB / 0.6103 GB, free: 59.35 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01151/0.8849, allocations: 14.52 MB / 0.6245 GB, free: 45.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002636/0.8876, allocations: 168.2 kB / 0.6246 GB, free: 45.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000275/0.8879, allocations: 83.7 kB / 0.6247 GB, free: 45.64 MB / 410.7 MB 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 {(4,100.0%) 14,(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.0004516/0.8883, allocations: 243.8 kB / 0.625 GB, free: 45.4 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004524/0.8888, allocations: 239.8 kB / 0.6252 GB, free: 45.17 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005667/0.8945, allocations: 3.425 MB / 0.6285 GB, free: 42.32 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.389e-05/0.8945, allocations: 19.7 kB / 0.6285 GB, free: 42.3 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.8945, allocations: 3.281 kB / 0.6286 GB, free: 42.3 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.777e-05/0.8946, allocations: 10.66 kB / 0.6286 GB, free: 42.3 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01008/0.9046, allocations: 6.695 MB / 0.6351 GB, free: 36.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.365e-06/0.9047, allocations: 4 kB / 0.6351 GB, free: 36.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008074/0.9055, allocations: 198.3 kB / 0.6353 GB, free: 36.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003119/0.9086, allocations: 1.403 MB / 0.6367 GB, free: 35.59 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001358/0.9088, allocations: 42.7 kB / 0.6367 GB, free: 35.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01357/0.9224, allocations: 14.66 MB / 0.651 GB, free: 21.74 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.9224, allocations: 7.938 kB / 0.651 GB, free: 21.73 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00642/0.9288, allocations: 4.875 MB / 0.6558 GB, free: 17.32 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001397/0.9302, allocations: 0.5285 MB / 0.6563 GB, free: 16.84 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004949/0.9308, allocations: 57.94 kB / 0.6564 GB, free: 16.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001433/0.9322, allocations: 137.2 kB / 0.6565 GB, free: 16.69 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005126/0.9327, allocations: 232.1 kB / 0.6567 GB, free: 16.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001062/0.9328, allocations: 54.7 kB / 0.6568 GB, free: 16.5 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001801/0.9346, allocations: 1.409 MB / 0.6581 GB, free: 15.2 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.9347, allocations: 4 kB / 0.6581 GB, free: 15.19 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004138/0.9388, allocations: 1.261 MB / 0.6594 GB, free: 13.93 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.0005947/0.9394, allocations: 365.1 kB / 0.6597 GB, free: 13.63 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.008263/0.9477, allocations: 6.264 MB / 0.6658 GB, free: 7.77 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/0.9477, allocations: 0 / 0.6658 GB, free: 7.77 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003279/0.951, allocations: 2.427 MB / 0.6682 GB, free: 5.578 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0025/0.9535, allocations: 0.5119 MB / 0.6687 GB, free: 5.172 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00872/0.9623, allocations: 5.169 MB / 0.6738 GB, free: 300 kB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00206/0.9644, allocations: 2.334 MB / 0.676 GB, free: 13.94 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.003028/0.9674, allocations: 0.9021 MB / 0.6769 GB, free: 13.05 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003147/0.9677, allocations: 111.4 kB / 0.677 GB, free: 12.95 MB / 426.7 MB Notification: Performance of SimCode: time 1.162e-06/0.9677, allocations: 0 / 0.677 GB, free: 12.95 MB / 426.7 MB Notification: Performance of Templates: time 0.3095/1.277, allocations: 51.26 MB / 0.7271 GB, free: 90.38 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