Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.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.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|Itr|Iqs|ims.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|ims.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|ims.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|ims.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imsQS.rotor.electroMagneticConverter.port_p.reference.gamma|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|Itr|Iqs|ims.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|ims.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|ims.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|ims.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imsQS.rotor.electroMagneticConverter.port_p.reference.gamma|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001566/0.001566, allocations: 180.9 kB / 17.01 MB, free: 5.125 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.535/1.535, allocations: 205.4 MB / 223.1 MB, free: 9.113 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.0009056/0.0009056, allocations: 96.03 kB / 271.5 MB, free: 8.359 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00028/0.0002801, allocations: 11.98 kB / 328.3 MB, free: 15.49 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2923/0.2926, allocations: 47.56 MB / 375.8 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.404/0.6967, allocations: 162.1 MB / 0.5254 GB, free: 94.8 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002586/0.697, allocations: 103.3 kB / 0.5255 GB, free: 94.75 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.825/2.522, allocations: 0.5711 GB / 1.097 GB, free: 29.69 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.444e-06/2.522, allocations: 0 / 1.097 GB, free: 29.69 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.001888/2.524, allocations: 425.7 kB / 1.097 GB, free: 29.62 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5087 * Number of variables: 5087 Notification: Performance of Generate backend data structure: time 0.0638/2.587, allocations: 18.04 MB / 1.115 GB, free: 23.96 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/2.587, allocations: 10.31 kB / 1.115 GB, free: 23.96 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04842/2.636, allocations: 8.518 MB / 1.123 GB, free: 22.93 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04058/2.677, allocations: 14.59 MB / 1.137 GB, free: 18.09 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00191/2.678, allocations: 1.344 MB / 1.138 GB, free: 16.76 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009644/2.688, allocations: 1.75 MB / 1.14 GB, free: 15.04 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3875/3.076, allocations: 31.14 MB / 1.171 GB, free: 26.48 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001059/3.077, allocations: 26.14 kB / 1.171 GB, free: 26.48 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008124/3.085, allocations: 0.7512 MB / 1.171 GB, free: 26.48 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001502/3.086, allocations: 1.192 MB / 1.173 GB, free: 26.43 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06298/3.149, allocations: 27.66 MB / 1.2 GB, free: 26.26 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1919/3.341, allocations: 97.93 MB / 1.295 GB, free: 3.945 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03954/3.381, allocations: 35.74 MB / 1.33 GB, free: 12.38 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4103/3.791, allocations: 40.56 MB / 1.37 GB, free: 74.53 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001517/3.791, allocations: 149.2 kB / 1.37 GB, free: 74.48 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1283): time 3.463e-05/3.792, allocations: 0 / 1.37 GB, free: 74.48 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1291): time 0.2861/4.078, allocations: 106 MB / 1.473 GB, free: 61.57 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.422e-05/4.078, allocations: 189.6 kB / 1.474 GB, free: 61.47 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008031/4.086, allocations: 5.026 MB / 1.478 GB, free: 59.8 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.002758/4.089, allocations: 205.2 kB / 1.479 GB, free: 59.64 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.004058/4.093, allocations: 6.621 MB / 1.485 GB, free: 54.7 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.005503/4.098, allocations: 4.235 MB / 1.489 GB, free: 51.39 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001871/4.1, allocations: 216.8 kB / 1.489 GB, free: 51.22 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0009753/4.101, allocations: 0.8045 MB / 1.49 GB, free: 50.7 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01198/4.113, allocations: 8.352 MB / 1.498 GB, free: 44.91 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01379/4.127, allocations: 10.48 MB / 1.509 GB, free: 35.07 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01476/4.142, allocations: 9.957 MB / 1.518 GB, free: 26.23 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.072e-05/4.142, allocations: 12 kB / 1.518 GB, free: 26.22 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1574) (initialization): time 0.3235/4.465, allocations: 25.84 MB / 1.544 GB, free: 68.93 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 5.694e-05/4.465, allocations: 32.17 kB / 1.544 GB, free: 68.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001047/4.466, allocations: 59.38 kB / 1.544 GB, free: 68.93 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0158/4.481, allocations: 9.028 MB / 1.552 GB, free: 68.71 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008267/4.49, allocations: 1.883 MB / 1.554 GB, free: 68.71 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03144/4.521, allocations: 30.66 MB / 1.584 GB, free: 57.13 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008933/4.53, allocations: 0.5545 MB / 1.585 GB, free: 57.13 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00281/4.533, allocations: 468 kB / 1.585 GB, free: 57.13 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 244 * Number of states: 0 () * Number of discrete variables: 12 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y,rheostatQS.booleanStep[1].y,rheostatQS.booleanStep[2].y,rheostatQS.booleanStep[3].y,booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (992): * Single equations (assignments): 928 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 51 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 12 * 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: 7 {(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(1,100.0%) 1} * Non-linear torn systems: 5 {6 9,6 9,6 9,6 9,42 268} Notification: Performance of prepare postOptimizeDAE: time 0.01604/4.549, allocations: 6.755 MB / 1.592 GB, free: 56.98 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003762/4.553, allocations: 0.8543 MB / 1.593 GB, free: 56.98 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05446/4.607, allocations: 25.72 MB / 1.618 GB, free: 55.98 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.04142/4.649, allocations: 20.28 MB / 1.638 GB, free: 48.51 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.757e-05/4.649, allocations: 9.562 kB / 1.638 GB, free: 48.51 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002946/4.649, allocations: 62.92 kB / 1.638 GB, free: 48.5 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09573/4.745, allocations: 48.95 MB / 1.685 GB, free: 25.83 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001438/4.745, allocations: 4 kB / 1.685 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006853/4.752, allocations: 1.375 MB / 1.687 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0175/4.77, allocations: 9.139 MB / 1.696 GB, free: 17.32 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0028/4.772, allocations: 278 kB / 1.696 GB, free: 17.08 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.319/5.091, allocations: 36.94 MB / 1.732 GB, free: 86.46 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/5.091, allocations: 4.359 kB / 1.732 GB, free: 86.46 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06191/5.153, allocations: 38.41 MB / 1.77 GB, free: 84.44 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00977/5.163, allocations: 2.825 MB / 1.772 GB, free: 84.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004469/5.168, allocations: 190.7 kB / 1.773 GB, free: 84.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007637/5.175, allocations: 0.5114 MB / 1.773 GB, free: 84.34 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003391/5.179, allocations: 0.9836 MB / 1.774 GB, free: 84.34 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00163/5.18, allocations: 339.3 kB / 1.774 GB, free: 84.34 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.005952/5.186, allocations: 3.838 MB / 1.778 GB, free: 84.12 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.41e-07/5.186, allocations: 0 / 1.778 GB, free: 84.12 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01461/5.201, allocations: 3.252 MB / 1.781 GB, free: 84.12 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 11 (imsQS.rotor.resistor.plug_p.reference.gamma,loadInertiaQS.w,quadraticLoadTorqueQS.phi,ims.stator.core.Phi.re,ims.stator.core.Phi.im,ims.stator.zeroInductor.i0,ims.rotor.core.Phi.re,ims.rotor.core.Phi.im,ims.rotor.zeroInductor.i0,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 12 (rheostatQS.booleanStep[1].y,rheostatQS.booleanStep[2].y,rheostatQS.booleanStep[3].y,booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y,booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (730): * Single equations (assignments): 664 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 51 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 15 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 10 {(1,100.0%) 1,(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 8,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 5 {6 9,6 9,6 9,6 9,42 268} Notification: Performance of Backend phase and start with SimCode phase: time 0.003759/5.205, allocations: 0.7575 MB / 1.782 GB, free: 84.02 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.04117/5.246, allocations: 21.51 MB / 1.803 GB, free: 82.71 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.326e-05/5.246, allocations: 7.219 kB / 1.803 GB, free: 82.71 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.02784/5.274, allocations: 12.44 MB / 1.815 GB, free: 77.88 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01218/5.286, allocations: 1.972 MB / 1.817 GB, free: 77.39 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07926/5.365, allocations: 46.12 MB / 1.862 GB, free: 49.42 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01859/5.384, allocations: 11.93 MB / 1.874 GB, free: 40.49 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0114/5.395, allocations: 2.643 MB / 1.876 GB, free: 38.66 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003079/5.399, allocations: 0.5604 MB / 1.877 GB, free: 38.13 MB / 0.5261 GB Notification: Performance of SimCode: time 8.21e-07/5.399, allocations: 0 / 1.877 GB, free: 38.13 MB / 0.5261 GB Notification: Performance of Templates: time 0.6141/6.013, allocations: 222.6 MB / 2.094 GB, free: 11.77 MB / 0.5417 GB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMS_Start/IMS_Start.csv","../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches