Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.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.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Itr|Iqs",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Itr|Iqs",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001432/0.001432, allocations: 176.2 kB / 8.348 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.391/1.391, allocations: 221.5 MB / 230.3 MB, free: 7.527 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.0009413/0.0009412, allocations: 92.58 kB / 281.2 MB, free: 5.281 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.334e-05/1.335e-05, allocations: 0 / 337.1 MB, free: 10.01 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1009, allocations: 50.41 MB / 387.5 MB, free: 7.551 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3859/0.4868, allocations: 153.1 MB / 0.5279 GB, free: 5.605 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000305/0.4871, allocations: 115.8 kB / 0.528 GB, free: 5.492 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.704/2.192, allocations: 451.9 MB / 0.9693 GB, free: 39.21 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.164e-06/2.192, allocations: 0 / 0.9693 GB, free: 39.21 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.001497/2.193, allocations: 333.4 kB / 0.9696 GB, free: 39.16 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3921 * Number of variables: 3921 Notification: Performance of Generate backend data structure: time 0.04882/2.242, allocations: 13.17 MB / 0.9825 GB, free: 35.09 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.357e-05/2.242, allocations: 12.14 kB / 0.9825 GB, free: 35.09 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03304/2.275, allocations: 5.821 MB / 0.9882 GB, free: 34.3 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0292/2.304, allocations: 11.68 MB / 0.9996 GB, free: 30.26 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001085/2.305, allocations: 450.8 kB / 1 GB, free: 30.26 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007588/2.313, allocations: 0.8 MB / 1.001 GB, free: 30.24 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03761/2.351, allocations: 17.54 MB / 1.018 GB, free: 15.76 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06291/2.414, allocations: 19.97 MB / 1.037 GB, free: 14.07 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008693/2.415, allocations: 23.77 kB / 1.037 GB, free: 14.05 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005826/2.42, allocations: 16 kB / 1.037 GB, free: 14.03 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001296/2.422, allocations: 0.9757 MB / 1.038 GB, free: 13.17 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4592/2.881, allocations: 71.36 MB / 1.108 GB, free: 48.27 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03144/2.912, allocations: 41.89 MB / 1.149 GB, free: 12 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008267/2.921, allocations: 5.07 MB / 1.154 GB, free: 10.02 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02856/2.949, allocations: 13.08 MB / 1.167 GB, free: 4.098 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001096/2.949, allocations: 92.67 kB / 1.167 GB, free: 4.023 MB / 474.7 MB Notification: Performance of pre-optimization done (n=502): time 1.013e-05/2.949, allocations: 0 / 1.167 GB, free: 4.023 MB / 474.7 MB Notification: Performance of matching and sorting (n=510): time 0.05509/3.005, allocations: 22.19 MB / 1.189 GB, free: 11.49 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.099e-05/3.005, allocations: 130.7 kB / 1.189 GB, free: 11.39 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009685/3.014, allocations: 4.352 MB / 1.193 GB, free: 9.68 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001027/3.015, allocations: 28.45 kB / 1.193 GB, free: 9.648 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004559/3.02, allocations: 6.133 MB / 1.199 GB, free: 5.035 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002402/3.022, allocations: 1.671 MB / 1.201 GB, free: 3.727 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001098/3.024, allocations: 0 / 1.201 GB, free: 3.727 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0007427/3.024, allocations: 0.6096 MB / 1.201 GB, free: 3.289 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005619/3.03, allocations: 3.576 MB / 1.205 GB, free: 1.824 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007933/3.038, allocations: 6.316 MB / 1.211 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01217/3.05, allocations: 6.032 MB / 1.217 GB, free: 8.258 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001715/3.05, allocations: 28 kB / 1.217 GB, free: 8.23 MB / 0.4948 GB Notification: Performance of matching and sorting (n=960) (initialization): time 0.03328/3.084, allocations: 12.75 MB / 1.229 GB, free: 15.09 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001465/3.084, allocations: 48 kB / 1.229 GB, free: 15.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002046/3.084, allocations: 92 kB / 1.229 GB, free: 14.96 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004561/3.089, allocations: 1.483 MB / 1.231 GB, free: 13.81 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007514/3.096, allocations: 1.693 MB / 1.232 GB, free: 12.38 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3663/3.463, allocations: 17.22 MB / 1.249 GB, free: 93.76 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008496/3.471, allocations: 333.8 kB / 1.25 GB, free: 93.76 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002523/3.474, allocations: 364 kB / 1.25 GB, free: 93.76 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 417 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (860): * Single equations (assignments): 850 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 5 * 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: 5 {(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 13,(1,100.0%) 1,(12,53.5%) 64} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002016/3.476, allocations: 356.7 kB / 1.25 GB, free: 93.66 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001606/3.477, allocations: 0.559 MB / 1.251 GB, free: 93.66 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02249/3.5, allocations: 10.08 MB / 1.261 GB, free: 93.18 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01498/3.515, allocations: 6.742 MB / 1.267 GB, free: 93 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.25e-05/3.515, allocations: 22.45 kB / 1.267 GB, free: 93 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001493/3.515, allocations: 23.86 kB / 1.267 GB, free: 93 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04597/3.561, allocations: 20.17 MB / 1.287 GB, free: 91.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.054e-05/3.561, allocations: 8.188 kB / 1.287 GB, free: 91.86 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004502/3.566, allocations: 0.9077 MB / 1.288 GB, free: 91.86 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004623/3.57, allocations: 1.5 MB / 1.289 GB, free: 91.79 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001041/3.571, allocations: 58.94 kB / 1.289 GB, free: 91.79 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02343/3.595, allocations: 20.35 MB / 1.309 GB, free: 83.07 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.748e-06/3.595, allocations: 7.969 kB / 1.309 GB, free: 83.07 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02556/3.62, allocations: 15.51 MB / 1.324 GB, free: 80.07 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003956/3.624, allocations: 1.361 MB / 1.326 GB, free: 79.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002063/3.627, allocations: 22.98 kB / 1.326 GB, free: 79.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004407/3.631, allocations: 264.1 kB / 1.326 GB, free: 79.48 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001336/3.632, allocations: 405.8 kB / 1.326 GB, free: 79.42 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007115/3.633, allocations: 157 kB / 1.327 GB, free: 79.39 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.006063/3.639, allocations: 3.193 MB / 1.33 GB, free: 78.12 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.72e-07/3.639, allocations: 2.594 kB / 1.33 GB, free: 78.12 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01093/3.65, allocations: 2.119 MB / 1.332 GB, free: 78.09 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 10 (loadInertiaQS.w,quadraticLoadTorqueQS.phi,imcQS.rotorCage.port_p.reference.gamma,imc.inertiaRotor.w,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.stator.zeroInductor.i0,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque.phi) * Number of discrete variables: 6 (booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y,booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (439): * Single equations (assignments): 428 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 1,(12,50.7%) 64,(1,100.0%) 1,(1,100.0%) 13,(1,100.0%) 5,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001567/3.652, allocations: 0.5061 MB / 1.332 GB, free: 77.96 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01432/3.666, allocations: 9.579 MB / 1.342 GB, free: 74.02 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.038e-05/3.666, allocations: 0 / 1.342 GB, free: 74.02 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.008217/3.674, allocations: 5.387 MB / 1.347 GB, free: 71.5 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007413/3.682, allocations: 1.187 MB / 1.348 GB, free: 71.23 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04765/3.729, allocations: 21.07 MB / 1.369 GB, free: 59.29 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01677/3.746, allocations: 9.087 MB / 1.377 GB, free: 52.5 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.009733/3.756, allocations: 2.491 MB / 1.38 GB, free: 50.86 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00288/3.759, allocations: 432.8 kB / 1.38 GB, free: 50.46 MB / 0.5105 GB Notification: Performance of SimCode: time 1.582e-06/3.759, allocations: 0 / 1.38 GB, free: 50.46 MB / 0.5105 GB Notification: Performance of Templates: time 0.4918/4.251, allocations: 86.06 MB / 1.464 GB, free: 76.35 MB / 0.5105 GB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_DOL/IMC_DOL.csv","../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches