Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.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.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|PI.x|aimc.airGap.V_mrr.im|aimc.airGap.V_mrr.re|aimc.airGap.V_msr.im|aimc.airGap.V_msr.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.core.Phi.im|aimc.stator.core.Phi.re|aimc.stator.port_p.V_m.im|aimc.stator.port_p.V_m.re|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|PI.x|aimc.airGap.V_mrr.im|aimc.airGap.V_mrr.re|aimc.airGap.V_msr.im|aimc.airGap.V_msr.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.core.Phi.im|aimc.stator.core.Phi.re|aimc.stator.port_p.V_m.im|aimc.stator.port_p.V_m.re|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001059/0.001059, allocations: 186.5 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.268/1.268, allocations: 222.9 MB / 240.9 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009974/0.0009975, allocations: 104.8 kB / 291.2 MB, free: 10.95 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001073/0.001073, allocations: 43.94 kB / 350.1 MB, free: 64 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2034/0.2045, allocations: 49.43 MB / 399.5 MB, free: 33.37 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.01043/0.215, allocations: 13.46 MB / 413 MB, free: 19.86 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006754/0.2218, allocations: 4.922 MB / 417.9 MB, free: 14.92 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001744/0.2236, allocations: 71.75 kB / 417.9 MB, free: 14.85 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002142/0.2258, allocations: 0.9055 MB / 418.9 MB, free: 13.94 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002682/0.2285, allocations: 1.275 MB / 420.1 MB, free: 12.66 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0015/0.23, allocations: 0.8973 MB / 421 MB, free: 11.77 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003259/0.2332, allocations: 4.673 MB / 425.7 MB, free: 7.074 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002232/0.2355, allocations: 2.773 MB / 428.5 MB, free: 4.234 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00138/0.2369, allocations: 1.615 MB / 430.1 MB, free: 2.613 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001743/0.2386, allocations: 2.16 MB / 432.2 MB, free: 456 kB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003968/0.239, allocations: 316 kB / 432.6 MB, free: 140 kB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001349/0.2404, allocations: 0.6986 MB / 433.3 MB, free: 15.44 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008365/0.2412, allocations: 1.078 MB / 434.3 MB, free: 14.36 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001859/0.2431, allocations: 2.103 MB / 436.4 MB, free: 12.24 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006031/0.2491, allocations: 7.119 MB / 443.6 MB, free: 5.102 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.2492, allocations: 0 / 443.6 MB, free: 5.102 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.21e-07/0.2492, allocations: 0 / 443.6 MB, free: 5.102 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001215/0.2493, allocations: 4 kB / 443.6 MB, free: 5.098 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 877 * Number of variables: 877 Notification: Performance of Generate backend data structure: time 0.01048/0.2598, allocations: 4.973 MB / 448.5 MB, free: 48 kB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.2599, allocations: 8.031 kB / 448.5 MB, free: 40 kB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003935/0.2638, allocations: 0.8782 MB / 449.4 MB, free: 15.15 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004248/0.2681, allocations: 2.674 MB / 452.1 MB, free: 12.4 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001752/0.2683, allocations: 258.6 kB / 452.3 MB, free: 12.15 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004567/0.2687, allocations: 331.9 kB / 452.7 MB, free: 11.82 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007094/0.2758, allocations: 4.551 MB / 457.2 MB, free: 7.223 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.106e-05/0.2759, allocations: 4 kB / 457.2 MB, free: 7.219 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002936/0.2762, allocations: 132 kB / 457.3 MB, free: 7.09 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001427/0.2764, allocations: 154.7 kB / 457.5 MB, free: 6.938 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006518/0.2829, allocations: 3.915 MB / 461.4 MB, free: 3.016 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01952/0.3024, allocations: 14.17 MB / 475.6 MB, free: 4.543 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007096/0.3095, allocations: 6.977 MB / 482.6 MB, free: 12.77 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002931/0.3125, allocations: 1.689 MB / 484.2 MB, free: 11.08 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007163/0.3197, allocations: 4.249 MB / 488.5 MB, free: 6.742 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.338e-05/0.3198, allocations: 55.86 kB / 488.6 MB, free: 6.68 MB / 362.7 MB Notification: Performance of pre-optimization done (n=165): time 3.286e-06/0.3198, allocations: 0 / 488.6 MB, free: 6.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=185): time 0.01568/0.3355, allocations: 7.766 MB / 496.3 MB, free: 14.77 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5e-05/0.3355, allocations: 69.41 kB / 496.4 MB, free: 14.7 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00325/0.3388, allocations: 2.62 MB / 499 MB, free: 12.05 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001074/0.3389, allocations: 61.69 kB / 499.1 MB, free: 11.98 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001078/0.34, allocations: 1.619 MB / 0.4889 GB, free: 10.35 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004419/0.3404, allocations: 0.6199 MB / 0.4896 GB, free: 9.719 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005406/0.341, allocations: 331.3 kB / 0.4899 GB, free: 9.387 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.87e-05/0.3411, allocations: 313.1 kB / 0.4902 GB, free: 9.078 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00152/0.3426, allocations: 0.9058 MB / 0.4911 GB, free: 8.172 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001742/0.3444, allocations: 1.31 MB / 0.4923 GB, free: 6.715 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00339/0.3478, allocations: 2.351 MB / 0.4946 GB, free: 4.219 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.133e-06/0.3478, allocations: 4 kB / 0.4946 GB, free: 4.215 MB / 378.7 MB Notification: Performance of matching and sorting (n=246) (initialization): time 0.005157/0.353, allocations: 3.069 MB / 0.4976 GB, free: 1.129 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.247e-05/0.353, allocations: 12 kB / 0.4976 GB, free: 1.117 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.547e-05/0.353, allocations: 8 kB / 0.4976 GB, free: 1.109 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001469/0.3545, allocations: 0.5558 MB / 0.4982 GB, free: 0.5469 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001687/0.3562, allocations: 435.3 kB / 0.4986 GB, free: 124 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1674/0.5236, allocations: 6.96 MB / 0.5054 GB, free: 89.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001656/0.5252, allocations: 85.58 kB / 0.5055 GB, free: 89.4 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001457/0.5254, allocations: 79.12 kB / 0.5056 GB, free: 89.39 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (198): * Single equations (assignments): 194 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (7,34,75.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001674/0.5271, allocations: 1.164 MB / 0.5067 GB, free: 88.79 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003617/0.5275, allocations: 249.1 kB / 0.5069 GB, free: 88.79 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004808/0.5323, allocations: 2.888 MB / 0.5098 GB, free: 87.58 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.872e-05/0.5323, allocations: 19.16 kB / 0.5098 GB, free: 87.58 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.291e-05/0.5323, allocations: 11.25 kB / 0.5098 GB, free: 87.58 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.356e-05/0.5324, allocations: 11.2 kB / 0.5098 GB, free: 87.58 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009084/0.5414, allocations: 6.338 MB / 0.516 GB, free: 84.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.496e-06/0.5415, allocations: 0 / 0.516 GB, free: 84.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001188/0.5427, allocations: 286.1 kB / 0.5163 GB, free: 84.8 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001384/0.5441, allocations: 0.6108 MB / 0.5169 GB, free: 84.61 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000113/0.5442, allocations: 42.66 kB / 0.5169 GB, free: 84.58 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008094/0.5523, allocations: 10.49 MB / 0.5271 GB, free: 74.76 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.5523, allocations: 3.938 kB / 0.5271 GB, free: 74.76 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03547/0.5878, allocations: 29.15 MB / 0.5556 GB, free: 45.11 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008448/0.5887, allocations: 0.5408 MB / 0.5561 GB, free: 44.55 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002456/0.589, allocations: 39.83 kB / 0.5562 GB, free: 44.51 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001056/0.59, allocations: 87.86 kB / 0.5563 GB, free: 44.43 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003178/0.5903, allocations: 137.7 kB / 0.5564 GB, free: 44.29 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001046/0.5905, allocations: 51.98 kB / 0.5564 GB, free: 44.24 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001888/0.5924, allocations: 1.842 MB / 0.5582 GB, free: 42.39 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.5924, allocations: 0 / 0.5582 GB, free: 42.39 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002503/0.5949, allocations: 0.9465 MB / 0.5592 GB, free: 41.45 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (aimc.inertiaRotor.w,aimc.stator.zeroInductor.i0,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.stator.stray.Phi.re,aimc.stator.stray.Phi.im,loadInertia.phi,PI.x) * 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 (126): * Single equations (assignments): 120 * Array equations: 2 * 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 {(2,12,100.0%), (1,6,100.0%), (1,12,100.0%), (2,25,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009113/0.5958, allocations: 467.8 kB / 0.5596 GB, free: 41.15 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004059/0.5999, allocations: 2.825 MB / 0.5624 GB, free: 38.29 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.5999, allocations: 0 / 0.5624 GB, free: 38.29 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002361/0.6022, allocations: 1.937 MB / 0.5643 GB, free: 36.31 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002271/0.6045, allocations: 0.552 MB / 0.5648 GB, free: 35.77 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0113/0.6158, allocations: 10.55 MB / 0.5751 GB, free: 25.14 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001755/0.6176, allocations: 2.689 MB / 0.5777 GB, free: 22.43 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001695/0.6194, allocations: 0.5084 MB / 0.5782 GB, free: 21.92 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004698/0.6198, allocations: 175.4 kB / 0.5784 GB, free: 21.75 MB / 378.7 MB Notification: Performance of SimCode: time 6.81e-07/0.6199, allocations: 0 / 0.5784 GB, free: 21.75 MB / 378.7 MB Notification: Performance of Templates: time 0.06243/0.6823, allocations: 43.13 MB / 0.6205 GB, free: 10.99 MB / 410.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_withLosses/IMC_withLosses.csv","../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches