Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_LoadDump.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.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_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_LoadDump") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.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_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_LoadDump") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009912/0.0009913, allocations: 198.7 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.197/1.197, allocations: 227.2 MB / 245 MB, free: 5.875 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008434/0.0008434, allocations: 98.78 kB / 297.3 MB, free: 5.957 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002071/0.0002072, allocations: 8 kB / 357.9 MB, free: 9.309 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1688/0.169, allocations: 51.48 MB / 409.4 MB, free: 26.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2601/0.4292, allocations: 116.8 MB / 0.5139 GB, free: 98 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002129/0.4294, allocations: 90.14 kB / 0.514 GB, free: 97.99 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.138/0.5675, allocations: 62.8 MB / 0.5753 GB, free: 35.94 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.5675, allocations: 0 / 0.5753 GB, free: 35.94 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002378/0.5678, allocations: 75.94 kB / 0.5754 GB, free: 35.86 MB / 378.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.007558/0.5753, allocations: 3.452 MB / 0.5787 GB, free: 32.34 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.5754, allocations: 8.031 kB / 0.5788 GB, free: 32.33 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001738/0.5771, allocations: 495.4 kB / 0.5792 GB, free: 31.84 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004096/0.5812, allocations: 2.096 MB / 0.5813 GB, free: 29.69 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001716/0.5814, allocations: 379.9 kB / 0.5816 GB, free: 29.28 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003432/0.5818, allocations: 283.9 kB / 0.5819 GB, free: 29 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004519/0.5863, allocations: 3.675 MB / 0.5855 GB, free: 25.18 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.509e-05/0.5864, allocations: 3.906 kB / 0.5855 GB, free: 25.17 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002292/0.5866, allocations: 124 kB / 0.5856 GB, free: 25.05 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.945e-05/0.5867, allocations: 113.5 kB / 0.5857 GB, free: 24.94 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003748/0.5904, allocations: 2.938 MB / 0.5886 GB, free: 21.99 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01418/0.6046, allocations: 11.96 MB / 0.6003 GB, free: 9.668 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002418/0.6071, allocations: 2.863 MB / 0.6031 GB, free: 6.586 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002423/0.6073, allocations: 146.3 kB / 0.6032 GB, free: 6.426 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001335/0.6087, allocations: 1.164 MB / 0.6044 GB, free: 5.223 MB / 378.7 MB Notification: Performance of pre-optimization done (n=156): time 3.126e-06/0.6087, allocations: 0 / 0.6044 GB, free: 5.223 MB / 378.7 MB Notification: Performance of matching and sorting (n=179): time 0.02051/0.6292, allocations: 9.889 MB / 0.614 GB, free: 11.18 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001495/0.6294, allocations: 308.7 kB / 0.6143 GB, free: 10.81 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003206/0.6326, allocations: 1.867 MB / 0.6161 GB, free: 8.914 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001647/0.6328, allocations: 57.7 kB / 0.6162 GB, free: 8.852 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001256/0.6341, allocations: 1.383 MB / 0.6175 GB, free: 7.457 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005298/0.6346, allocations: 0.5931 MB / 0.6181 GB, free: 6.855 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001353/0.6347, allocations: 40 kB / 0.6181 GB, free: 6.816 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001753/0.6349, allocations: 386 kB / 0.6185 GB, free: 6.434 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001618/0.6365, allocations: 1.054 MB / 0.6195 GB, free: 5.375 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002014/0.6386, allocations: 1.596 MB / 0.6211 GB, free: 3.555 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00187/0.6404, allocations: 1.255 MB / 0.6223 GB, free: 2.301 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.097e-05/0.6405, allocations: 4 kB / 0.6223 GB, free: 2.297 MB / 394.7 MB Notification: Performance of matching and sorting (n=263) (initialization): time 0.00591/0.6464, allocations: 3.683 MB / 0.6259 GB, free: 14.58 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001754/0.6482, allocations: 5.405 MB / 0.6312 GB, free: 8.801 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.231e-05/0.6482, allocations: 15.98 kB / 0.6312 GB, free: 8.785 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002921/0.6511, allocations: 1.209 MB / 0.6324 GB, free: 7.559 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001352/0.6525, allocations: 375.4 kB / 0.6328 GB, free: 7.191 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01567/0.6682, allocations: 14.86 MB / 0.6473 GB, free: 7.531 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002384/0.6706, allocations: 175.8 kB / 0.6474 GB, free: 7.359 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003295/0.6709, allocations: 79.98 kB / 0.6475 GB, free: 7.281 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.02e-05/0.671, allocations: 4 kB / 0.6475 GB, free: 7.277 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005661/0.6766, allocations: 3.414 MB / 0.6509 GB, free: 3.832 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.803e-05/0.6767, allocations: 20.03 kB / 0.6509 GB, free: 3.812 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002761/0.6794, allocations: 1.195 MB / 0.652 GB, free: 2.598 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001353/0.6808, allocations: 367.4 kB / 0.6524 GB, free: 2.238 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0152/0.696, allocations: 14.81 MB / 0.6669 GB, free: 2.617 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00206/0.6981, allocations: 171.8 kB / 0.667 GB, free: 2.449 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002118/0.6983, allocations: 87.98 kB / 0.6671 GB, free: 2.363 MB / 442.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (211): * Single equations (assignments): 204 * 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.001956/0.7003, allocations: 0.9789 MB / 0.6681 GB, free: 1.375 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005947/0.7009, allocations: 237.1 kB / 0.6683 GB, free: 1.141 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2114/0.9122, allocations: 3.502 MB / 0.6717 GB, free: 99.93 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.557e-05/0.9123, allocations: 18.34 kB / 0.6717 GB, free: 99.93 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.49e-05/0.9123, allocations: 7.141 kB / 0.6717 GB, free: 99.93 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.067e-05/0.9124, allocations: 10.69 kB / 0.6717 GB, free: 99.93 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01291/0.9253, allocations: 6.746 MB / 0.6783 GB, free: 99.41 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.296e-05/0.9253, allocations: 6.719 kB / 0.6783 GB, free: 99.41 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00108/0.9264, allocations: 196.6 kB / 0.6785 GB, free: 99.41 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003307/0.9297, allocations: 1.434 MB / 0.6799 GB, free: 99.37 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001443/0.9299, allocations: 46.31 kB / 0.68 GB, free: 99.37 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01575/0.9457, allocations: 15.24 MB / 0.6949 GB, free: 93.01 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/0.9457, allocations: 10.33 kB / 0.6949 GB, free: 93.01 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007514/0.9532, allocations: 4.964 MB / 0.6997 GB, free: 92.5 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001381/0.9546, allocations: 0.5313 MB / 0.7002 GB, free: 92.4 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006027/0.9552, allocations: 52.2 kB / 0.7003 GB, free: 92.4 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001677/0.9569, allocations: 132.1 kB / 0.7004 GB, free: 92.4 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005081/0.9574, allocations: 226.8 kB / 0.7006 GB, free: 92.4 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001309/0.9576, allocations: 51.64 kB / 0.7007 GB, free: 92.4 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002246/0.9599, allocations: 1.426 MB / 0.7021 GB, free: 91.93 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.11e-07/0.9599, allocations: 0 / 0.7021 GB, free: 91.93 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005458/0.9653, allocations: 1.268 MB / 0.7033 GB, free: 91.82 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (114): * Single equations (assignments): 105 * 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.0006305/0.966, allocations: 351.9 kB / 0.7036 GB, free: 91.7 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.008823/0.9748, allocations: 6.372 MB / 0.7099 GB, free: 88.62 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/0.9748, allocations: 3.281 kB / 0.7099 GB, free: 88.62 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003396/0.9782, allocations: 2.435 MB / 0.7122 GB, free: 87.44 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002429/0.9807, allocations: 0.5161 MB / 0.7127 GB, free: 87.3 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01072/0.9914, allocations: 7.338 MB / 0.7199 GB, free: 83.71 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002142/0.9936, allocations: 2.322 MB / 0.7222 GB, free: 82.73 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002007/0.9956, allocations: 0.5964 MB / 0.7228 GB, free: 82.68 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004902/0.9961, allocations: 141.1 kB / 0.7229 GB, free: 82.66 MB / 442.7 MB Notification: Performance of SimCode: time 1.032e-06/0.9961, allocations: 0 / 0.7229 GB, free: 82.66 MB / 442.7 MB Notification: Performance of Templates: time 0.06217/1.058, allocations: 47.88 MB / 0.7697 GB, free: 49.99 MB / 442.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_LoadDump.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_LoadDump.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_LoadDump.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_LoadDump.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_LoadDump.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_LoadDump -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_LoadDump.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_LoadDump_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMEE_LoadDump/SMEE_LoadDump.csv","../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_LoadDump.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches