Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_LoadDump.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_LoadDump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,variableFilter="time|loadInductor.inductor.2..i|loadInductor.inductor.3..i|smee.is.1.|smee.is.2.|smee.excitation.electroMagneticConverter.Phi.re|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|speed.phi|speed.w|voltageController.I.y",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_LoadDump") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_LoadDump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,variableFilter="time|loadInductor.inductor.2..i|loadInductor.inductor.3..i|smee.is.1.|smee.is.2.|smee.excitation.electroMagneticConverter.Phi.re|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|speed.phi|speed.w|voltageController.I.y",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_LoadDump") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001237/0.001237, allocations: 174.4 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.466/1.466, allocations: 221.3 MB / 235.5 MB, free: 2.93 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007459/0.0007459, allocations: 84.12 kB / 286.5 MB, free: 236 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.375e-05/2.377e-05, allocations: 4 kB / 343.8 MB, free: 4.305 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1047, allocations: 50.41 MB / 394.3 MB, free: 1.855 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3345/0.4393, allocations: 122.4 MB / 0.5046 GB, free: 13.03 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002156/0.4396, allocations: 99.77 kB / 0.5047 GB, free: 12.94 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4585/0.8981, allocations: 102.6 MB / 0.6048 GB, free: 93.84 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.973e-06/0.8981, allocations: 0 / 0.6048 GB, free: 93.84 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002732/0.8984, allocations: 103.1 kB / 0.6049 GB, free: 93.83 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1076 * Number of variables: 1076 Notification: Performance of Generate backend data structure: time 0.01052/0.9089, allocations: 4.197 MB / 0.609 GB, free: 91.12 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.909, allocations: 11.41 kB / 0.609 GB, free: 91.12 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005004/0.914, allocations: 0.9564 MB / 0.61 GB, free: 90.66 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008931/0.9229, allocations: 3.945 MB / 0.6138 GB, free: 88.08 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003822/0.9234, allocations: 482.9 kB / 0.6143 GB, free: 87.75 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001452/0.9248, allocations: 418.6 kB / 0.6147 GB, free: 87.6 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008823/0.9337, allocations: 5.202 MB / 0.6198 GB, free: 84.26 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.004e-05/0.9338, allocations: 7.906 kB / 0.6198 GB, free: 84.25 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003732/0.9342, allocations: 176 kB / 0.6199 GB, free: 84.08 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001139/0.9343, allocations: 168.2 kB / 0.6201 GB, free: 83.91 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006491/0.9408, allocations: 4.183 MB / 0.6242 GB, free: 79.71 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02601/0.9668, allocations: 17.97 MB / 0.6417 GB, free: 61.39 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005949/0.9728, allocations: 8.12 MB / 0.6497 GB, free: 52.32 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002575/0.9754, allocations: 1.815 MB / 0.6514 GB, free: 50.52 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008951/0.9844, allocations: 5.436 MB / 0.6567 GB, free: 44.98 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001576/0.986, allocations: 1.194 MB / 0.6579 GB, free: 43.74 MB / 426.7 MB Notification: Performance of pre-optimization done (n=176): time 4.108e-06/0.986, allocations: 4 kB / 0.6579 GB, free: 43.73 MB / 426.7 MB Notification: Performance of matching and sorting (n=208): time 0.01404/1, allocations: 6.911 MB / 0.6647 GB, free: 36.78 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001345/1, allocations: 338.4 kB / 0.665 GB, free: 36.38 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004719/1.005, allocations: 2.139 MB / 0.6671 GB, free: 34.22 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003301/1.005, allocations: 69.69 kB / 0.6671 GB, free: 34.15 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001545/1.007, allocations: 1.946 MB / 0.669 GB, free: 32.19 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006701/1.008, allocations: 0.6928 MB / 0.6697 GB, free: 31.5 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002777/1.008, allocations: 48 kB / 0.6698 GB, free: 31.46 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001898/1.008, allocations: 407.1 kB / 0.6702 GB, free: 31.05 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001865/1.01, allocations: 1.032 MB / 0.6712 GB, free: 30.02 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002227/1.012, allocations: 1.794 MB / 0.6729 GB, free: 27.91 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002108/1.014, allocations: 1.318 MB / 0.6742 GB, free: 26.59 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-05/1.014, allocations: 4 kB / 0.6742 GB, free: 26.59 MB / 426.7 MB Notification: Performance of matching and sorting (n=323) (initialization): time 0.007034/1.021, allocations: 3.887 MB / 0.678 GB, free: 22.65 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00195/1.023, allocations: 8.385 MB / 0.6862 GB, free: 13.48 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.383e-05/1.023, allocations: 23.95 kB / 0.6862 GB, free: 13.46 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002815/1.026, allocations: 1.009 MB / 0.6872 GB, free: 12.43 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002028/1.028, allocations: 471.2 kB / 0.6877 GB, free: 11.97 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01364/1.042, allocations: 14.14 MB / 0.7015 GB, free: 13.04 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003219/1.045, allocations: 171.8 kB / 0.7016 GB, free: 12.87 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005842/1.046, allocations: 104 kB / 0.7017 GB, free: 12.77 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/1.046, allocations: 4 kB / 0.7017 GB, free: 12.77 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007488/1.053, allocations: 3.619 MB / 0.7053 GB, free: 9.105 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-05/1.054, allocations: 20 kB / 0.7053 GB, free: 9.086 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002657/1.056, allocations: 0.9992 MB / 0.7063 GB, free: 8.066 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002129/1.058, allocations: 463.3 kB / 0.7067 GB, free: 7.613 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2988/1.357, allocations: 14.11 MB / 0.7205 GB, free: 93.96 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002723/1.36, allocations: 163 kB / 0.7206 GB, free: 93.96 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003979/1.36, allocations: 102.9 kB / 0.7207 GB, free: 93.96 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 90 * 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 (265): * Single equations (assignments): 258 * 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%) 22,(3,100.0%) 21,(1,100.0%) 8} * Non-linear torn systems: 3 {1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0005675/1.361, allocations: 279.9 kB / 0.721 GB, free: 93.86 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006307/1.362, allocations: 275.6 kB / 0.7213 GB, free: 93.86 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006607/1.368, allocations: 3.235 MB / 0.7244 GB, free: 93.72 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.15e-05/1.368, allocations: 21.75 kB / 0.7244 GB, free: 93.72 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.625e-06/1.368, allocations: 1.297 kB / 0.7244 GB, free: 93.72 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.704e-05/1.368, allocations: 10.56 kB / 0.7245 GB, free: 93.72 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01256/1.381, allocations: 7.033 MB / 0.7313 GB, free: 93.16 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.758e-06/1.381, allocations: 1.219 kB / 0.7313 GB, free: 93.16 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001242/1.382, allocations: 278.5 kB / 0.7316 GB, free: 93.16 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002626/1.385, allocations: 1.023 MB / 0.7326 GB, free: 93.12 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001942/1.385, allocations: 59.62 kB / 0.7326 GB, free: 93.12 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.012/1.397, allocations: 11.6 MB / 0.744 GB, free: 88 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/1.397, allocations: 3.812 kB / 0.744 GB, free: 88 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006474/1.404, allocations: 4.627 MB / 0.7485 GB, free: 87.54 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001844/1.405, allocations: 0.5942 MB / 0.7491 GB, free: 87.41 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005054/1.406, allocations: 58.64 kB / 0.7491 GB, free: 87.38 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001376/1.407, allocations: 137 kB / 0.7493 GB, free: 87.34 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005385/1.408, allocations: 227.4 kB / 0.7495 GB, free: 87.31 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001244/1.408, allocations: 57.61 kB / 0.7495 GB, free: 87.3 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002341/1.41, allocations: 1.63 MB / 0.7511 GB, free: 86.64 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.2e-07/1.41, allocations: 3.781 kB / 0.7511 GB, free: 86.64 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004609/1.415, allocations: 1.518 MB / 0.7526 GB, free: 86.5 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 8 (smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.rotorCage.strayReluctance.Phi.re,speed.phi,speed.w,voltageController.I.y,loadInductor.inductor[2].i,loadInductor.inductor[3].i) * 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 (147): * Single equations (assignments): 139 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {4 55,1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006749/1.416, allocations: 493.9 kB / 0.7531 GB, free: 86.35 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.008356/1.424, allocations: 6.428 MB / 0.7594 GB, free: 82.98 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/1.424, allocations: 0 / 0.7594 GB, free: 82.98 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002964/1.427, allocations: 2.105 MB / 0.7614 GB, free: 81.87 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00301/1.43, allocations: 0.6157 MB / 0.762 GB, free: 81.7 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01196/1.442, allocations: 6.452 MB / 0.7683 GB, free: 79.2 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00225/1.444, allocations: 2.92 MB / 0.7712 GB, free: 78.05 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003601/1.448, allocations: 1.04 MB / 0.7722 GB, free: 77.95 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003457/1.448, allocations: 137.8 kB / 0.7723 GB, free: 77.93 MB / 442.7 MB Notification: Performance of SimCode: time 9.62e-07/1.448, allocations: 4 kB / 0.7723 GB, free: 77.93 MB / 442.7 MB Notification: Performance of Templates: time 0.07762/1.526, allocations: 55.79 MB / 0.8268 GB, free: 39.73 MB / 442.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_LoadDump.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_LoadDump.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_LoadDump.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_LoadDump.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_LoadDump.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_LoadDump -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_LoadDump.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_LoadDump_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/SynchronousMachines/SMEE_LoadDump/SMEE_LoadDump.csv","../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_LoadDump.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches