Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=300000,variableFilter="time|imc.airGap.V_mrr.im|imc.airGap.V_mrr.re|imc.airGap.V_msr.im|imc.airGap.V_msr.re|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.port_p.V_m.im|imc.stator.port_p.V_m.re|imc.stator.zeroInductor.i0|imcQS.rotorCage.port_p.reference.gamma|loadInertia.phi|loadInertia.w|loadInertiaQS.phi|loadInertiaQS.w",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=300000,variableFilter="time|imc.airGap.V_mrr.im|imc.airGap.V_mrr.re|imc.airGap.V_msr.im|imc.airGap.V_msr.re|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.port_p.V_m.im|imc.stator.port_p.V_m.re|imc.stator.zeroInductor.i0|imcQS.rotorCage.port_p.reference.gamma|loadInertia.phi|loadInertia.w|loadInertiaQS.phi|loadInertiaQS.w",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009721/0.0009722, allocations: 118.8 kB / 17.79 MB, free: 5.234 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001016/0.001016, allocations: 198 kB / 18.73 MB, free: 4.293 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.307/1.307, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001021/0.001021, allocations: 63.91 kB / 358.7 MB, free: 12.87 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2734/0.2744, allocations: 50.55 MB / 409.3 MB, free: 1.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.03299/0.3075, allocations: 33.49 MB / 442.8 MB, free: 15.91 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0198/0.3273, allocations: 9.235 MB / 452 MB, free: 6.652 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006978/0.3343, allocations: 247.1 kB / 452.3 MB, free: 6.41 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01844/0.3529, allocations: 7.966 MB / 460.2 MB, free: 14.43 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01214/0.365, allocations: 3.663 MB / 463.9 MB, free: 10.75 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007084/0.3721, allocations: 2.141 MB / 466 MB, free: 8.613 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01684/0.389, allocations: 13.14 MB / 479.2 MB, free: 11.44 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03472/0.4237, allocations: 22.47 MB / 0.4899 GB, free: 4.793 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009446/0.4332, allocations: 6.557 MB / 0.4963 GB, free: 14.22 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01108/0.4443, allocations: 7.386 MB / 0.5035 GB, free: 6.809 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004898/0.4492, allocations: 1.883 MB / 0.5053 GB, free: 4.926 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007244/0.4565, allocations: 2.261 MB / 0.5075 GB, free: 2.664 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005124/0.4617, allocations: 3.753 MB / 0.5112 GB, free: 14.9 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01045/0.4721, allocations: 7.109 MB / 0.5181 GB, free: 7.766 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.4742/0.9464, allocations: 25.1 MB / 0.5427 GB, free: 52.89 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.293e-06/0.9464, allocations: 0.5 kB / 0.5427 GB, free: 52.89 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.086e-06/0.9464, allocations: 0.5625 kB / 0.5427 GB, free: 52.89 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0006631/0.9471, allocations: 2.188 kB / 0.5427 GB, free: 52.89 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2952 * Number of variables: 2952 Notification: Performance of Generate backend data structure: time 0.04603/0.9931, allocations: 14.88 MB / 0.5572 GB, free: 48.75 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.9932, allocations: 11.81 kB / 0.5572 GB, free: 48.75 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03766/1.031, allocations: 6.898 MB / 0.5639 GB, free: 48.06 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0148/1.046, allocations: 8.148 MB / 0.5719 GB, free: 46.92 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000556/1.046, allocations: 0.7943 MB / 0.5727 GB, free: 46.89 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00385/1.05, allocations: 1.048 MB / 0.5737 GB, free: 46.88 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04002/1.09, allocations: 17.22 MB / 0.5905 GB, free: 34.12 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007128/1.091, allocations: 15.61 kB / 0.5905 GB, free: 34.11 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004142/1.095, allocations: 443.9 kB / 0.591 GB, free: 33.7 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000566/1.096, allocations: 0.6314 MB / 0.5916 GB, free: 33.06 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03079/1.126, allocations: 16.3 MB / 0.6075 GB, free: 16.74 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09296/1.219, allocations: 56.45 MB / 0.6626 GB, free: 7.746 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02999/1.249, allocations: 31.4 MB / 0.6933 GB, free: 4.633 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008201/1.258, allocations: 4.334 MB / 0.6975 GB, free: 308 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02173/1.279, allocations: 10.72 MB / 0.708 GB, free: 5.609 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.709e-05/1.28, allocations: 77.47 kB / 0.708 GB, free: 5.527 MB / 0.545 GB Notification: Performance of pre-optimization done (n=398): time 8.186e-06/1.28, allocations: 0 / 0.708 GB, free: 5.527 MB / 0.545 GB Notification: Performance of matching and sorting (n=423): time 0.05518/1.335, allocations: 21.81 MB / 0.7293 GB, free: 15.45 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.823e-05/1.335, allocations: 120.7 kB / 0.7295 GB, free: 15.31 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01118/1.346, allocations: 4.711 MB / 0.7341 GB, free: 10.59 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.0009573/1.347, allocations: 97.7 kB / 0.7342 GB, free: 10.49 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.003786/1.351, allocations: 4.821 MB / 0.7389 GB, free: 5.66 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.002351/1.353, allocations: 1.519 MB / 0.7403 GB, free: 4.16 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004159/1.357, allocations: 1.141 MB / 0.7415 GB, free: 3.008 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001145/1.358, allocations: 305.1 kB / 0.7418 GB, free: 2.707 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005077/1.363, allocations: 2.905 MB / 0.7446 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00614/1.369, allocations: 4.949 MB / 0.7494 GB, free: 9.949 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01144/1.38, allocations: 8.345 MB / 0.7576 GB, free: 0.9336 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.097e-05/1.38, allocations: 16 kB / 0.7576 GB, free: 0.918 MB / 0.5919 GB Notification: Performance of matching and sorting (n=764) (initialization): time 0.2914/1.672, allocations: 9.755 MB / 0.7671 GB, free: 230.9 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 7.088e-05/1.672, allocations: 35.56 kB / 0.7671 GB, free: 230.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001461/1.672, allocations: 71.17 kB / 0.7672 GB, free: 230.9 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004403/1.676, allocations: 1.658 MB / 0.7688 GB, free: 230.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0054/1.682, allocations: 1.316 MB / 0.7701 GB, free: 230.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02054/1.702, allocations: 17.77 MB / 0.7875 GB, free: 219.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005346/1.708, allocations: 332 kB / 0.7878 GB, free: 219 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001106/1.709, allocations: 283.8 kB / 0.7881 GB, free: 219 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 296 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (671): * Single equations (assignments): 667 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (7,28,61.2%), (1,1,100.0%), (14,44,39.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006411/1.715, allocations: 3.887 MB / 0.7919 GB, free: 217 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001243/1.717, allocations: 0.5222 MB / 0.7924 GB, free: 217 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01233/1.729, allocations: 7.787 MB / 0.8 GB, free: 213.7 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.746e-05/1.729, allocations: 47.22 kB / 0.8 GB, free: 213.7 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.994e-05/1.729, allocations: 15.75 kB / 0.8 GB, free: 213.7 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.386e-05/1.729, allocations: 24.89 kB / 0.8001 GB, free: 213.7 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02674/1.756, allocations: 17.46 MB / 0.8171 GB, free: 198.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-05/1.756, allocations: 4 kB / 0.8171 GB, free: 198.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003289/1.759, allocations: 0.7295 MB / 0.8178 GB, free: 198 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003924/1.763, allocations: 1.553 MB / 0.8193 GB, free: 196.5 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006389/1.764, allocations: 111.9 kB / 0.8194 GB, free: 196.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01901/1.783, allocations: 21.22 MB / 0.8402 GB, free: 174.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/1.783, allocations: 7.938 kB / 0.8402 GB, free: 174.4 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0153/1.798, allocations: 11.48 MB / 0.8514 GB, free: 162.9 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002507/1.801, allocations: 1.177 MB / 0.8525 GB, free: 161.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001128/1.802, allocations: 91.92 kB / 0.8526 GB, free: 161.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003027/1.805, allocations: 231.8 kB / 0.8528 GB, free: 161.4 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007142/1.806, allocations: 336.6 kB / 0.8532 GB, free: 161 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002673/1.806, allocations: 128 kB / 0.8533 GB, free: 160.9 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.004005/1.81, allocations: 3.194 MB / 0.8564 GB, free: 157.7 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2e-07/1.81, allocations: 0 / 0.8564 GB, free: 157.7 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.006413/1.816, allocations: 1.862 MB / 0.8582 GB, free: 155.9 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 10 (imcQS.inertiaRotor.w,imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.phi,imc.inertiaRotor.w,imc.stator.zeroInductor.i0,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.stator.stray.Phi.re,imc.stator.stray.Phi.im,loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (364): * Single equations (assignments): 357 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,1,100.0%), (14,44,41.3%), (2,12,100.0%), (1,1,100.0%), (1,12,100.0%), (1,5,100.0%), (1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006765/1.817, allocations: 282.1 kB / 0.8585 GB, free: 155.6 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01166/1.829, allocations: 8.167 MB / 0.8665 GB, free: 147.4 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.103e-05/1.829, allocations: 4 kB / 0.8665 GB, free: 147.4 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.007345/1.836, allocations: 4.647 MB / 0.871 GB, free: 142.7 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00785/1.844, allocations: 1.31 MB / 0.8723 GB, free: 141.4 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03292/1.877, allocations: 19.45 MB / 0.8913 GB, free: 121.8 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008321/1.885, allocations: 6.766 MB / 0.8979 GB, free: 115 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.004993/1.89, allocations: 1.867 MB / 0.8997 GB, free: 113.1 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001128/1.892, allocations: 379.4 kB / 0.9001 GB, free: 112.8 MB / 0.5919 GB Notification: Performance of SimCode: time 1.152e-06/1.892, allocations: 0 / 0.9001 GB, free: 112.8 MB / 0.5919 GB Notification: Performance of Templates: time 0.1184/2.01, allocations: 81.26 MB / 0.9794 GB, free: 32.17 MB / 0.5919 GB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize_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_Initialize/IMC_Initialize.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches