Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.0009557/0.0009556, allocations: 177.3 kB / 17.41 MB, free: 4.414 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.502/1.502, allocations: 205.4 MB / 223.6 MB, free: 9.027 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.0008289/0.0008291, allocations: 81.44 kB / 271.9 MB, free: 8.273 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000315/0.0003151, allocations: 8 kB / 328.2 MB, free: 15.92 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2621/0.2624, allocations: 47.57 MB / 375.8 MB, free: 45.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3832/0.6457, allocations: 162.8 MB / 0.5259 GB, free: 94.04 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002415/0.646, allocations: 108.7 kB / 0.526 GB, free: 93.98 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.964/2.61, allocations: 0.5673 GB / 1.093 GB, free: 30.44 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.966e-06/2.61, allocations: 0 / 1.093 GB, free: 30.44 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.002391/2.612, allocations: 430.6 kB / 1.094 GB, free: 30.36 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.07812/2.691, allocations: 17.85 MB / 1.111 GB, free: 24.71 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.042e-05/2.691, allocations: 9.656 kB / 1.111 GB, free: 24.71 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04826/2.739, allocations: 8.512 MB / 1.12 GB, free: 23.68 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04544/2.784, allocations: 14.03 MB / 1.133 GB, free: 20.04 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002542/2.787, allocations: 1.344 MB / 1.135 GB, free: 19.28 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01185/2.799, allocations: 1.745 MB / 1.136 GB, free: 17.55 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.846/3.645, allocations: 31.36 MB / 1.167 GB, free: 25.61 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00143/3.646, allocations: 25.27 kB / 1.167 GB, free: 25.61 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01101/3.657, allocations: 0.7484 MB / 1.168 GB, free: 25.61 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00212/3.66, allocations: 1.195 MB / 1.169 GB, free: 25.57 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07871/3.738, allocations: 27.65 MB / 1.196 GB, free: 25.39 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2455/3.984, allocations: 98.69 MB / 1.292 GB, free: 7.602 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04502/4.029, allocations: 35.54 MB / 1.327 GB, free: 15.16 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02726/4.056, allocations: 12.96 MB / 1.34 GB, free: 7.504 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4762/4.532, allocations: 39.34 MB / 1.378 GB, free: 78.14 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002418/4.533, allocations: 154 kB / 1.378 GB, free: 78.09 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1271): time 3.22e-05/4.533, allocations: 0 / 1.378 GB, free: 78.09 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1279): time 0.301/4.834, allocations: 101.4 MB / 1.477 GB, free: 62.3 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001349/4.834, allocations: 191.3 kB / 1.477 GB, free: 62.1 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01027/4.844, allocations: 5.695 MB / 1.483 GB, free: 57.34 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.002602/4.847, allocations: 197.7 kB / 1.483 GB, free: 57.14 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003239/4.85, allocations: 6.644 MB / 1.49 GB, free: 51.27 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.005373/4.856, allocations: 4.192 MB / 1.494 GB, free: 47.48 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002392/4.858, allocations: 216 kB / 1.494 GB, free: 47.27 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.001075/4.859, allocations: 0.8043 MB / 1.495 GB, free: 46.6 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01259/4.872, allocations: 8.307 MB / 1.503 GB, free: 39.49 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01354/4.885, allocations: 10.49 MB / 1.513 GB, free: 29.6 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02541/4.911, allocations: 19.78 MB / 1.532 GB, free: 11.21 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.795e-05/4.911, allocations: 20 kB / 1.532 GB, free: 11.19 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1566) (initialization): time 0.2769/5.188, allocations: 25.3 MB / 1.557 GB, free: 76.14 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 5.6e-05/5.188, allocations: 35.22 kB / 1.557 GB, free: 76.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.407e-05/5.188, allocations: 54.59 kB / 1.557 GB, free: 76.14 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01568/5.204, allocations: 9.011 MB / 1.566 GB, free: 75.92 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007348/5.211, allocations: 1.87 MB / 1.568 GB, free: 75.92 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02876/5.24, allocations: 30.5 MB / 1.598 GB, free: 64.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007924/5.248, allocations: 0.5489 MB / 1.598 GB, free: 64.32 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00259/5.25, allocations: 469.3 kB / 1.599 GB, free: 64.32 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 248 * 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 (984): * Single equations (assignments): 920 * 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.02047/5.271, allocations: 6.749 MB / 1.605 GB, free: 64.18 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004908/5.276, allocations: 0.8517 MB / 1.606 GB, free: 64.18 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06056/5.336, allocations: 25.62 MB / 1.631 GB, free: 56.36 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.04079/5.377, allocations: 20.26 MB / 1.651 GB, free: 47.62 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001484/5.377, allocations: 8.375 kB / 1.651 GB, free: 47.62 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002733/5.378, allocations: 53.02 kB / 1.651 GB, free: 47.62 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1065/5.484, allocations: 48.68 MB / 1.698 GB, free: 11.22 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001237/5.484, allocations: 4 kB / 1.698 GB, free: 11.22 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007736/5.492, allocations: 1.352 MB / 1.7 GB, free: 10.19 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01822/5.51, allocations: 9.138 MB / 1.709 GB, free: 2.738 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003052/5.513, allocations: 273.1 kB / 1.709 GB, free: 2.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4153/5.929, allocations: 36.64 MB / 1.745 GB, free: 83.44 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.552e-06/5.929, allocations: 9.75 kB / 1.745 GB, free: 83.44 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0664/5.995, allocations: 37.69 MB / 1.781 GB, free: 82.01 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008529/6.004, allocations: 2.824 MB / 1.784 GB, free: 81.91 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00428/6.008, allocations: 186.6 kB / 1.784 GB, free: 81.91 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007928/6.016, allocations: 0.511 MB / 1.785 GB, free: 81.91 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004252/6.02, allocations: 0.9692 MB / 1.786 GB, free: 81.91 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003041/6.023, allocations: 340.5 kB / 1.786 GB, free: 81.91 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 0.00903/6.032, allocations: 3.842 MB / 1.79 GB, free: 81.69 MB / 0.5262 GB Notification: Performance of sort global known variables: time 6.51e-07/6.033, allocations: 1.406 kB / 1.79 GB, free: 81.69 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.01807/6.051, allocations: 3.248 MB / 1.793 GB, free: 81.69 MB / 0.5262 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 (718): * Single equations (assignments): 652 * 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.003962/6.055, allocations: 0.758 MB / 1.794 GB, free: 81.58 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.03976/6.094, allocations: 21.4 MB / 1.815 GB, free: 74.5 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 1.228e-05/6.094, allocations: 2.062 kB / 1.815 GB, free: 74.5 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.02364/6.118, allocations: 12.35 MB / 1.827 GB, free: 69.09 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02327/6.141, allocations: 2.108 MB / 1.829 GB, free: 68.5 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09351/6.235, allocations: 44.89 MB / 1.873 GB, free: 34.5 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03053/6.266, allocations: 11.27 MB / 1.884 GB, free: 25.81 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007632/6.273, allocations: 0.6296 MB / 1.884 GB, free: 25.22 MB / 0.5262 GB Notification: Performance of SimCode: time 2.565e-06/6.273, allocations: 0 / 1.884 GB, free: 25.22 MB / 0.5262 GB Notification: Performance of Templates: time 5.199/11.47, allocations: 1.884 GB / 3.768 GB, free: 115.6 MB / 0.573 GB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches