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.001082/0.001082, allocations: 196.8 kB / 18.1 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.375/1.375, allocations: 226.5 MB / 245.4 MB, free: 6.512 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007635/0.0007635, allocations: 105.5 kB / 297.5 MB, free: 6.695 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003042/0.0003042, allocations: 8 kB / 358.1 MB, free: 10.07 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2647/0.265, allocations: 51.28 MB / 409.4 MB, free: 27.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3173/0.5823, allocations: 116.9 MB / 0.5139 GB, free: 99.08 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000225/0.5826, allocations: 93.52 kB / 0.514 GB, free: 99.08 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1462/0.7288, allocations: 62.67 MB / 0.5752 GB, free: 37.68 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.7288, allocations: 0 / 0.5752 GB, free: 37.68 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002792/0.7291, allocations: 79.88 kB / 0.5753 GB, free: 37.61 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.007948/0.7371, allocations: 3.421 MB / 0.5786 GB, free: 34.11 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.7371, allocations: 12.03 kB / 0.5786 GB, free: 34.09 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002069/0.7392, allocations: 488.4 kB / 0.5791 GB, free: 33.61 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004218/0.7434, allocations: 2.158 MB / 0.5812 GB, free: 31.4 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002114/0.7436, allocations: 380.4 kB / 0.5816 GB, free: 30.99 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006221/0.7443, allocations: 288.3 kB / 0.5818 GB, free: 30.71 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00566/0.7499, allocations: 3.69 MB / 0.5854 GB, free: 26.87 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.381e-05/0.75, allocations: 11.89 kB / 0.5855 GB, free: 26.86 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002489/0.7503, allocations: 124 kB / 0.5856 GB, free: 26.74 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-05/0.7504, allocations: 109.5 kB / 0.5857 GB, free: 26.63 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004587/0.755, allocations: 2.942 MB / 0.5886 GB, free: 23.68 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01696/0.772, allocations: 11.98 MB / 0.6003 GB, free: 11.34 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002638/0.7746, allocations: 2.859 MB / 0.603 GB, free: 8.27 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001401/0.7761, allocations: 1.157 MB / 0.6042 GB, free: 7.109 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002389/0.7763, allocations: 138.4 kB / 0.6043 GB, free: 6.957 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001363/0.7777, allocations: 1.171 MB / 0.6054 GB, free: 5.742 MB / 378.7 MB Notification: Performance of pre-optimization done (n=156): time 3.336e-06/0.7777, allocations: 0 / 0.6054 GB, free: 5.742 MB / 378.7 MB Notification: Performance of matching and sorting (n=180): time 0.02089/0.7986, allocations: 9.973 MB / 0.6152 GB, free: 11.62 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001518/0.7988, allocations: 312.7 kB / 0.6155 GB, free: 11.25 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003085/0.8019, allocations: 2.081 MB / 0.6175 GB, free: 9.133 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001704/0.8021, allocations: 61.7 kB / 0.6176 GB, free: 9.066 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001203/0.8033, allocations: 1.376 MB / 0.6189 GB, free: 7.676 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005211/0.8038, allocations: 0.601 MB / 0.6195 GB, free: 7.066 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001157/0.8039, allocations: 44 kB / 0.6196 GB, free: 7.023 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001729/0.8041, allocations: 389.9 kB / 0.6199 GB, free: 6.637 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001679/0.8058, allocations: 1.05 MB / 0.6209 GB, free: 5.582 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002003/0.8078, allocations: 1.596 MB / 0.6225 GB, free: 3.766 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003741/0.8116, allocations: 2.63 MB / 0.6251 GB, free: 0.9531 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.007e-05/0.8116, allocations: 4 kB / 0.6251 GB, free: 0.9492 MB / 394.7 MB Notification: Performance of matching and sorting (n=264) (initialization): time 0.006344/0.8179, allocations: 3.679 MB / 0.6287 GB, free: 13.23 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003611/0.8183, allocations: 493.8 kB / 0.6291 GB, free: 12.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.413e-05/0.8184, allocations: 16.03 kB / 0.6292 GB, free: 12.56 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002989/0.8214, allocations: 1.202 MB / 0.6303 GB, free: 11.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001449/0.8228, allocations: 379.3 kB / 0.6307 GB, free: 10.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01645/0.8393, allocations: 14.6 MB / 0.645 GB, free: 11.56 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0024/0.8417, allocations: 179.8 kB / 0.6451 GB, free: 11.39 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000213/0.842, allocations: 79.98 kB / 0.6452 GB, free: 11.31 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.297e-06/0.842, allocations: 6.812 kB / 0.6452 GB, free: 11.3 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005695/0.8477, allocations: 3.418 MB / 0.6485 GB, free: 7.863 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.404e-05/0.8477, allocations: 20.03 kB / 0.6486 GB, free: 7.844 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00277/0.8505, allocations: 1.185 MB / 0.6497 GB, free: 6.637 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001378/0.8519, allocations: 371.4 kB / 0.6501 GB, free: 6.273 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01511/0.867, allocations: 14.58 MB / 0.6643 GB, free: 6.895 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002261/0.8693, allocations: 167.9 kB / 0.6645 GB, free: 6.73 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001771/0.8695, allocations: 83.98 kB / 0.6646 GB, free: 6.648 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 (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.001827/0.8713, allocations: 0.9884 MB / 0.6655 GB, free: 5.648 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004585/0.8718, allocations: 237.1 kB / 0.6657 GB, free: 5.414 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006331/0.8781, allocations: 3.505 MB / 0.6692 GB, free: 1.879 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.517e-05/0.8782, allocations: 20 kB / 0.6692 GB, free: 1.859 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.307e-05/0.8782, allocations: 8 kB / 0.6692 GB, free: 1.852 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.633e-05/0.8782, allocations: 11.91 kB / 0.6692 GB, free: 1.84 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2261/1.104, allocations: 6.771 MB / 0.6758 GB, free: 100.3 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.105e-05/1.104, allocations: 7.125 kB / 0.6758 GB, free: 100.3 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008009/1.105, allocations: 205.3 kB / 0.676 GB, free: 100.3 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0032/1.108, allocations: 1.433 MB / 0.6774 GB, free: 100.2 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001313/1.109, allocations: 48.81 kB / 0.6775 GB, free: 100.2 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01505/1.124, allocations: 14.84 MB / 0.692 GB, free: 93.9 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.87e-06/1.124, allocations: 9.797 kB / 0.692 GB, free: 93.9 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007859/1.132, allocations: 4.863 MB / 0.6967 GB, free: 93.53 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001664/1.133, allocations: 0.53 MB / 0.6972 GB, free: 93.44 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003473/1.134, allocations: 56.72 kB / 0.6973 GB, free: 93.44 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001356/1.135, allocations: 134.6 kB / 0.6974 GB, free: 93.44 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005381/1.135, allocations: 231.2 kB / 0.6976 GB, free: 93.43 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001211/1.136, allocations: 53.17 kB / 0.6977 GB, free: 93.43 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002258/1.138, allocations: 1.431 MB / 0.6991 GB, free: 93.29 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.9e-07/1.138, allocations: 0 / 0.6991 GB, free: 93.29 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003873/1.142, allocations: 1.267 MB / 0.7003 GB, free: 93.29 MB / 442.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) * Number of clocked states: 0 () * 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.0006503/1.142, allocations: 338.5 kB / 0.7006 GB, free: 93.2 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.009008/1.151, allocations: 6.367 MB / 0.7069 GB, free: 91.17 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.494e-06/1.151, allocations: 0 / 0.7069 GB, free: 91.17 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003605/1.155, allocations: 2.491 MB / 0.7093 GB, free: 89.98 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003483/1.159, allocations: 0.5417 MB / 0.7098 GB, free: 89.82 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01014/1.169, allocations: 7.369 MB / 0.717 GB, free: 86.24 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001666/1.17, allocations: 2.264 MB / 0.7192 GB, free: 85.26 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002046/1.173, allocations: 0.5982 MB / 0.7198 GB, free: 85.2 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004212/1.173, allocations: 140.9 kB / 0.7199 GB, free: 85.19 MB / 442.7 MB Notification: Performance of SimCode: time 7.52e-07/1.173, allocations: 0 / 0.7199 GB, free: 85.19 MB / 442.7 MB Notification: Performance of Templates: time 0.06478/1.238, allocations: 48.48 MB / 0.7673 GB, free: 54.71 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/jenkins1/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