Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.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.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_trunk_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_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001306/0.001306, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001342/0.001342, allocations: 207.5 kB / 19.36 MB, free: 3.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.319/1.319, allocations: 227.4 MB / 247.5 MB, free: 10.33 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00113/0.00113, allocations: 60.16 kB / 308.4 MB, free: 15.87 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08027/0.08142, allocations: 50.53 MB / 358.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.1499/0.2314, allocations: 14.26 MB / 373.2 MB, free: 11.28 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007766/0.2392, allocations: 5.373 MB / 378.5 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00154/0.2407, allocations: 84.47 kB / 378.6 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002272/0.243, allocations: 1.055 MB / 379.7 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003072/0.2461, allocations: 1.423 MB / 381.1 MB, free: 9.543 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002056/0.2482, allocations: 1.013 MB / 382.1 MB, free: 9.055 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004439/0.2527, allocations: 4.365 MB / 386.5 MB, free: 6.906 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003433/0.2561, allocations: 3.352 MB / 389.8 MB, free: 5.512 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002668/0.2588, allocations: 2.024 MB / 391.9 MB, free: 4.555 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002871/0.2617, allocations: 2.402 MB / 394.3 MB, free: 3.477 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006734/0.2624, allocations: 0.5357 MB / 394.8 MB, free: 3.477 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001716/0.2641, allocations: 0.9126 MB / 395.7 MB, free: 3.355 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009536/0.265, allocations: 1.378 MB / 397.1 MB, free: 2.539 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001853/0.2669, allocations: 2.36 MB / 399.5 MB, free: 0.8125 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005979/0.2729, allocations: 7.391 MB / 406.8 MB, free: 11.04 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.2729, allocations: 0 / 406.8 MB, free: 11.04 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2729, allocations: 0 / 406.8 MB, free: 11.04 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001185/0.2731, allocations: 0 / 406.8 MB, free: 11.04 MB / 318.1 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.01124/0.2843, allocations: 5.029 MB / 411.9 MB, free: 5.953 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.2843, allocations: 8.031 kB / 411.9 MB, free: 5.945 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004498/0.2889, allocations: 0.9109 MB / 412.8 MB, free: 5.035 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005154/0.294, allocations: 2.819 MB / 415.6 MB, free: 2.184 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001694/0.2942, allocations: 252 kB / 415.9 MB, free: 1.938 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005285/0.2947, allocations: 335 kB / 416.2 MB, free: 1.613 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007279/0.302, allocations: 4.547 MB / 420.7 MB, free: 13.02 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.562e-05/0.3021, allocations: 0 / 420.7 MB, free: 13.02 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002936/0.3024, allocations: 138.6 kB / 420.9 MB, free: 12.89 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001466/0.3026, allocations: 154.7 kB / 421 MB, free: 12.73 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006443/0.309, allocations: 3.915 MB / 424.9 MB, free: 8.812 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02006/0.3291, allocations: 14.01 MB / 438.9 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007077/0.3362, allocations: 6.986 MB / 445.9 MB, free: 2.832 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002693/0.3389, allocations: 1.678 MB / 447.6 MB, free: 1.164 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007455/0.3464, allocations: 4.479 MB / 452.1 MB, free: 12.6 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/0.3464, allocations: 47.88 kB / 452.1 MB, free: 12.54 MB / 366.1 MB Notification: Performance of pre-optimization done (n=165): time 3.817e-06/0.3465, allocations: 0 / 452.1 MB, free: 12.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=185): time 0.01658/0.363, allocations: 7.777 MB / 459.9 MB, free: 4.629 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.485e-05/0.3631, allocations: 69.41 kB / 460 MB, free: 4.551 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003951/0.3671, allocations: 2.661 MB / 462.6 MB, free: 1.867 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001402/0.3672, allocations: 57.7 kB / 462.7 MB, free: 1.805 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001132/0.3684, allocations: 1.632 MB / 464.3 MB, free: 160 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005118/0.3689, allocations: 0.6216 MB / 464.9 MB, free: 15.54 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005635/0.3695, allocations: 327.4 kB / 465.3 MB, free: 15.21 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.116e-05/0.3696, allocations: 313.1 kB / 465.6 MB, free: 14.9 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001576/0.3712, allocations: 0.9058 MB / 466.5 MB, free: 14 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001799/0.373, allocations: 1.31 MB / 467.8 MB, free: 12.54 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003521/0.3765, allocations: 2.348 MB / 470.1 MB, free: 10.05 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.648e-06/0.3765, allocations: 4 kB / 470.1 MB, free: 10.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=246) (initialization): time 0.005718/0.3822, allocations: 3.082 MB / 473.2 MB, free: 6.945 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.789e-05/0.3823, allocations: 8 kB / 473.2 MB, free: 6.938 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.75e-05/0.3823, allocations: 12 kB / 473.2 MB, free: 6.926 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001565/0.3839, allocations: 0.548 MB / 473.8 MB, free: 6.371 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001777/0.3857, allocations: 435.3 kB / 474.2 MB, free: 5.945 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009597/0.3953, allocations: 7.594 MB / 481.8 MB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00177/0.3971, allocations: 88.02 kB / 481.9 MB, free: 14 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002763/0.3974, allocations: 79.97 kB / 482 MB, free: 13.92 MB / 398.1 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.001998/0.3994, allocations: 1.169 MB / 483.1 MB, free: 12.74 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006055/0.4, allocations: 256.8 kB / 483.4 MB, free: 12.49 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005417/0.4054, allocations: 2.908 MB / 486.3 MB, free: 9.555 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.798e-05/0.4055, allocations: 23.94 kB / 486.3 MB, free: 9.531 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.923e-05/0.4055, allocations: 8 kB / 486.3 MB, free: 9.523 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.674e-05/0.4055, allocations: 7.969 kB / 486.3 MB, free: 9.516 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0109/0.4164, allocations: 6.34 MB / 492.7 MB, free: 3.125 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.064e-06/0.4164, allocations: 0 / 492.7 MB, free: 3.125 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001307/0.4178, allocations: 279.7 kB / 492.9 MB, free: 2.852 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001594/0.4194, allocations: 0.6192 MB / 493.6 MB, free: 2.223 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001395/0.4195, allocations: 42.25 kB / 493.6 MB, free: 2.184 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01166/0.4312, allocations: 11.45 MB / 0.4932 GB, free: 6.199 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.4312, allocations: 8.016 kB / 0.4932 GB, free: 6.191 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006956/0.4382, allocations: 4.154 MB / 0.4973 GB, free: 1.996 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001325/0.4395, allocations: 0.5408 MB / 0.4978 GB, free: 1.434 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005142/0.44, allocations: 43.94 kB / 0.4979 GB, free: 1.391 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001342/0.4414, allocations: 75.94 kB / 0.4979 GB, free: 1.316 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003174/0.4417, allocations: 137.8 kB / 0.4981 GB, free: 1.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001356/0.4419, allocations: 55.97 kB / 0.4981 GB, free: 1.125 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00289/0.4448, allocations: 1.867 MB / 0.4999 GB, free: 15.25 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4448, allocations: 0 / 0.4999 GB, free: 15.25 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002341/0.4471, allocations: 0.6936 MB / 0.5006 GB, free: 14.55 MB / 430.1 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.001103/0.4482, allocations: 449.9 kB / 0.501 GB, free: 14.23 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005054/0.4533, allocations: 2.832 MB / 0.5038 GB, free: 11.38 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/0.4533, allocations: 4 kB / 0.5038 GB, free: 11.38 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003016/0.4563, allocations: 1.94 MB / 0.5057 GB, free: 9.383 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00259/0.4589, allocations: 0.5917 MB / 0.5063 GB, free: 8.801 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01219/0.4711, allocations: 7.071 MB / 0.5132 GB, free: 1.707 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002854/0.474, allocations: 2.64 MB / 0.5158 GB, free: 15.04 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001839/0.4759, allocations: 0.5008 MB / 0.5163 GB, free: 14.53 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006171/0.4765, allocations: 171.4 kB / 0.5164 GB, free: 14.36 MB / 446.1 MB Notification: Performance of SimCode: time 6.31e-07/0.4765, allocations: 0 / 0.5164 GB, free: 14.36 MB / 446.1 MB Notification: Performance of Templates: time 0.2139/0.6904, allocations: 35.2 MB / 0.5508 GB, free: 137 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_withLosses/IMC_withLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches