Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.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.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001808/0.001808, allocations: 198.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.347/1.347, allocations: 225.6 MB / 234.8 MB, free: 3.223 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001141/0.001141, allocations: 97.61 kB / 286.7 MB, free: 5.289 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.52e-05/1.541e-05, allocations: 0 / 343.7 MB, free: 8.238 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1032, allocations: 51.47 MB / 395.2 MB, free: 4.723 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3606/0.4638, allocations: 111.2 MB / 0.4945 GB, free: 14.43 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002717/0.4641, allocations: 94.66 kB / 0.4946 GB, free: 14.38 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4523/0.9164, allocations: 83.02 MB / 0.5757 GB, free: 71 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.9164, allocations: 0 / 0.5757 GB, free: 71 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003756/0.9168, allocations: 81.19 kB / 0.5758 GB, free: 71 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 844 * Number of variables: 844 Notification: Performance of Generate backend data structure: time 0.01093/0.9278, allocations: 3.232 MB / 0.5789 GB, free: 70.43 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.356e-05/0.9278, allocations: 9.594 kB / 0.5789 GB, free: 70.43 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004996/0.9328, allocations: 0.7456 MB / 0.5797 GB, free: 70.24 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009005/0.9419, allocations: 3.334 MB / 0.5829 GB, free: 69.79 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001624/0.9421, allocations: 109.2 kB / 0.583 GB, free: 69.79 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009702/0.9431, allocations: 192.1 kB / 0.5832 GB, free: 69.79 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006667/0.9498, allocations: 3.122 MB / 0.5863 GB, free: 69.77 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006506/0.9563, allocations: 3.656 MB / 0.5898 GB, free: 69.39 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.926e-05/0.9564, allocations: 7.469 kB / 0.5898 GB, free: 69.39 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000262/0.9567, allocations: 6.375 kB / 0.5899 GB, free: 69.39 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001289/0.9568, allocations: 143.8 kB / 0.59 GB, free: 69.38 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01899/0.9758, allocations: 13.39 MB / 0.6031 GB, free: 66.48 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004722/0.9806, allocations: 6.526 MB / 0.6094 GB, free: 61.58 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001805/0.9824, allocations: 1.304 MB / 0.6107 GB, free: 61.56 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005653/0.9881, allocations: 3.765 MB / 0.6144 GB, free: 60.6 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.995e-05/0.9882, allocations: 50.66 kB / 0.6144 GB, free: 60.56 MB / 442.7 MB Notification: Performance of pre-optimization done (n=132): time 2.936e-06/0.9882, allocations: 0 / 0.6144 GB, free: 60.56 MB / 442.7 MB Notification: Performance of matching and sorting (n=135): time 0.008979/0.9972, allocations: 4.508 MB / 0.6188 GB, free: 59.41 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.376e-05/0.9972, allocations: 66.53 kB / 0.6189 GB, free: 59.34 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002165/0.9994, allocations: 1.273 MB / 0.6201 GB, free: 59.17 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.775e-05/0.9995, allocations: 26.8 kB / 0.6202 GB, free: 59.14 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008837/1, allocations: 1.457 MB / 0.6216 GB, free: 58.41 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002892/1.001, allocations: 461.9 kB / 0.622 GB, free: 58.12 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.87e-05/1.001, allocations: 0 / 0.622 GB, free: 58.12 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001402/1.001, allocations: 378.8 kB / 0.6224 GB, free: 57.81 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009076/1.002, allocations: 0.6104 MB / 0.623 GB, free: 57.8 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001125/1.003, allocations: 1.094 MB / 0.6241 GB, free: 57.05 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002119/1.005, allocations: 1.025 MB / 0.6251 GB, free: 56.69 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.345e-05/1.005, allocations: 3.969 kB / 0.6251 GB, free: 56.69 MB / 442.7 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.004472/1.01, allocations: 2.454 MB / 0.6275 GB, free: 55.77 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.351e-05/1.01, allocations: 15.91 kB / 0.6275 GB, free: 55.77 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.82e-05/1.01, allocations: 15.56 kB / 0.6275 GB, free: 55.77 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009317/1.011, allocations: 355.8 kB / 0.6278 GB, free: 55.64 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001404/1.012, allocations: 361.4 kB / 0.6282 GB, free: 55.62 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0059/1.018, allocations: 7.373 MB / 0.6354 GB, free: 49.43 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001551/1.02, allocations: 46.09 kB / 0.6354 GB, free: 49.43 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001314/1.02, allocations: 74.33 kB / 0.6355 GB, free: 49.41 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 70 * Number of states: 0 () * Number of discrete variables: 2 (booleanStep.y,greaterThreshold.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (188): * Single equations (assignments): 183 * 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: 4 * 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: 4 {(1,100.0%) 1,(1,100.0%) 7,(2,100.0%) 8,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000278/1.02, allocations: 148.2 kB / 0.6356 GB, free: 49.3 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002336/1.02, allocations: 179.5 kB / 0.6358 GB, free: 49.2 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004632/1.025, allocations: 2.279 MB / 0.638 GB, free: 48.2 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.752e-05/1.025, allocations: 18.09 kB / 0.638 GB, free: 48.2 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-05/1.025, allocations: 7.688 kB / 0.6381 GB, free: 48.2 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.008e-05/1.025, allocations: 10.66 kB / 0.6381 GB, free: 48.19 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009677/1.035, allocations: 4.642 MB / 0.6426 GB, free: 46.07 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.123e-06/1.035, allocations: 2.875 kB / 0.6426 GB, free: 46.07 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007977/1.035, allocations: 172.6 kB / 0.6428 GB, free: 46.06 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00134/1.037, allocations: 0.5165 MB / 0.6433 GB, free: 45.88 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.602e-05/1.037, allocations: 20.14 kB / 0.6433 GB, free: 45.88 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008618/1.046, allocations: 11.61 MB / 0.6546 GB, free: 36.19 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/1.046, allocations: 0 / 0.6546 GB, free: 36.19 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004606/1.05, allocations: 3.271 MB / 0.6578 GB, free: 34.52 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009383/1.051, allocations: 399.5 kB / 0.6582 GB, free: 34.24 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002304/1.051, allocations: 11.67 kB / 0.6582 GB, free: 34.23 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007998/1.052, allocations: 57.25 kB / 0.6583 GB, free: 34.23 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003006/1.052, allocations: 106.8 kB / 0.6584 GB, free: 34.21 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.636e-05/1.053, allocations: 38.73 kB / 0.6584 GB, free: 34.2 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00141/1.054, allocations: 0.953 MB / 0.6593 GB, free: 33.79 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.4e-07/1.054, allocations: 4 kB / 0.6593 GB, free: 33.78 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00268/1.057, allocations: 0.5492 MB / 0.6599 GB, free: 33.75 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 9 (aimc.inertiaRotor.w,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.stator.zeroInductor.i0,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (booleanStep.y,greaterThreshold.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 7,(2,100.0%) 8,(1,100.0%) 1,(1,100.0%) 8,(1,100.0%) 13,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005479/1.057, allocations: 351.4 kB / 0.6602 GB, free: 33.62 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002692/1.06, allocations: 2.145 MB / 0.6623 GB, free: 32.47 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/1.06, allocations: 3.281 kB / 0.6623 GB, free: 32.47 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001724/1.062, allocations: 1.597 MB / 0.6639 GB, free: 31.43 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0018/1.064, allocations: 391.7 kB / 0.6642 GB, free: 31.32 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007957/1.071, allocations: 4.639 MB / 0.6688 GB, free: 29.23 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00161/1.073, allocations: 2.373 MB / 0.6711 GB, free: 28.15 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001315/1.074, allocations: 374.2 kB / 0.6714 GB, free: 28.1 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002515/1.075, allocations: 112.9 kB / 0.6716 GB, free: 28.09 MB / 442.7 MB Notification: Performance of SimCode: time 7.12e-07/1.075, allocations: 0 / 0.6716 GB, free: 28.09 MB / 442.7 MB Notification: Performance of Templates: time 0.03688/1.112, allocations: 23.85 MB / 0.6948 GB, free: 26.73 MB / 442.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Steinmetz/IMC_Steinmetz.csv","../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches