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/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_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/ModelicaServices trunk/package.mo): time 0.001023/0.001023, allocations: 96.48 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001324/0.001324, allocations: 205.5 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.374/1.374, allocations: 227.7 MB / 246.8 MB, free: 11.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002049/0.000205, allocations: 4 kB / 307.8 MB, free: 0.8164 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08785/0.08807, allocations: 51.53 MB / 359.3 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz): time 0.1722/0.2603, allocations: 13.41 MB / 372.7 MB, free: 9.812 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008108/0.2684, allocations: 4.547 MB / 377.2 MB, free: 9.723 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002128/0.2706, allocations: 82.25 kB / 377.3 MB, free: 9.699 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00284/0.2735, allocations: 0.8864 MB / 378.2 MB, free: 9.453 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00385/0.2773, allocations: 1.166 MB / 379.4 MB, free: 9.133 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002297/0.2796, allocations: 0.861 MB / 380.2 MB, free: 8.973 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006913/0.2866, allocations: 4.424 MB / 384.7 MB, free: 7.082 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003769/0.2904, allocations: 2.649 MB / 387.3 MB, free: 5.934 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002362/0.2928, allocations: 1.333 MB / 388.6 MB, free: 5.359 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002428/0.2952, allocations: 1.692 MB / 390.3 MB, free: 4.641 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000487/0.2957, allocations: 208.3 kB / 390.5 MB, free: 4.641 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001371/0.2971, allocations: 446 kB / 391 MB, free: 4.562 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006453/0.2977, allocations: 0.7582 MB / 391.7 MB, free: 4.164 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001696/0.2994, allocations: 1.771 MB / 393.5 MB, free: 3.035 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005046/0.3045, allocations: 6.322 MB / 399.8 MB, free: 14.77 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.3045, allocations: 3.984 kB / 399.8 MB, free: 14.77 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3045, allocations: 4 kB / 399.8 MB, free: 14.76 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001276/0.3047, allocations: 2.875 kB / 399.8 MB, free: 14.76 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: 844 * Number of variables: 844 Notification: Performance of Generate backend data structure: time 0.009399/0.3141, allocations: 3.725 MB / 403.6 MB, free: 12.32 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.3141, allocations: 10.75 kB / 403.6 MB, free: 12.32 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004512/0.3186, allocations: 0.8365 MB / 404.4 MB, free: 11.92 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004173/0.3228, allocations: 2.342 MB / 406.7 MB, free: 9.629 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002077/0.3231, allocations: 246.1 kB / 407 MB, free: 9.391 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005813/0.3236, allocations: 331.8 kB / 407.3 MB, free: 9.066 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007404/0.3311, allocations: 4.264 MB / 411.6 MB, free: 4.754 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.602e-05/0.3312, allocations: 15.83 kB / 411.6 MB, free: 4.738 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003298/0.3315, allocations: 134.7 kB / 411.7 MB, free: 4.609 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001407/0.3316, allocations: 150.4 kB / 411.9 MB, free: 4.461 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006105/0.3378, allocations: 3.605 MB / 415.5 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02114/0.3589, allocations: 14.03 MB / 429.5 MB, free: 2.523 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006741/0.3657, allocations: 6.667 MB / 436.2 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002336/0.3681, allocations: 1.408 MB / 437.6 MB, free: 9.598 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006068/0.3742, allocations: 3.902 MB / 441.5 MB, free: 5.594 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.546e-05/0.3742, allocations: 51.86 kB / 441.5 MB, free: 5.535 MB / 350.1 MB Notification: Performance of pre-optimization done (n=134): time 3.316e-06/0.3742, allocations: 0 / 441.5 MB, free: 5.535 MB / 350.1 MB Notification: Performance of matching and sorting (n=137): time 0.01156/0.3858, allocations: 5.933 MB / 447.5 MB, free: 15.39 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.989e-05/0.3859, allocations: 68.72 kB / 447.5 MB, free: 15.31 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002596/0.3885, allocations: 1.805 MB / 449.3 MB, free: 13.5 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000114/0.3886, allocations: 57.7 kB / 449.4 MB, free: 13.44 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001018/0.3896, allocations: 1.448 MB / 450.8 MB, free: 11.98 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003619/0.39, allocations: 477.3 kB / 451.3 MB, free: 11.52 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002046/0.3902, allocations: 145.6 kB / 451.4 MB, free: 11.37 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.739e-05/0.3903, allocations: 301.1 kB / 451.7 MB, free: 11.07 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001092/0.3914, allocations: 0.6832 MB / 452.4 MB, free: 10.39 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001452/0.3929, allocations: 1.201 MB / 453.6 MB, free: 8.969 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002664/0.3955, allocations: 2.007 MB / 455.6 MB, free: 6.742 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.636e-06/0.3956, allocations: 4 kB / 455.6 MB, free: 6.738 MB / 366.1 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.003993/0.3996, allocations: 2.554 MB / 458.2 MB, free: 4.141 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.493e-05/0.3996, allocations: 12 kB / 458.2 MB, free: 4.129 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.031e-05/0.3996, allocations: 16 kB / 458.2 MB, free: 4.113 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009013/0.4005, allocations: 360.3 kB / 458.6 MB, free: 3.746 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001327/0.4019, allocations: 375.4 kB / 458.9 MB, free: 3.379 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007012/0.4089, allocations: 7.711 MB / 466.6 MB, free: 11.15 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001457/0.4104, allocations: 79.86 kB / 466.7 MB, free: 11.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001314/0.4105, allocations: 76 kB / 466.8 MB, free: 11 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * Number of states: 0 () * Number of discrete variables: 2 (idealOpener.control,idealCloser.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (192): * Single equations (assignments): 187 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,7,100.0%), (2,8,100.0%), (1,1,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001729/0.4122, allocations: 1.005 MB / 467.8 MB, free: 9.984 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002997/0.4126, allocations: 201.6 kB / 468 MB, free: 9.785 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004001/0.4166, allocations: 2.293 MB / 470.3 MB, free: 7.418 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.289e-05/0.4166, allocations: 12 kB / 470.3 MB, free: 7.406 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.41e-05/0.4166, allocations: 8 kB / 470.3 MB, free: 7.398 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.264e-05/0.4166, allocations: 7.984 kB / 470.3 MB, free: 7.391 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008368/0.425, allocations: 5.1 MB / 475.4 MB, free: 2.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.095e-06/0.4251, allocations: 0 / 475.4 MB, free: 2.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000863/0.4259, allocations: 171.8 kB / 475.6 MB, free: 2.012 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001463/0.4274, allocations: 0.5391 MB / 476.1 MB, free: 1.457 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001109/0.4275, allocations: 39.98 kB / 476.2 MB, free: 1.418 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0121/0.4396, allocations: 12.1 MB / 488.3 MB, free: 4.527 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.873e-06/0.4397, allocations: 7.922 kB / 488.3 MB, free: 4.52 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005257/0.445, allocations: 3.233 MB / 491.5 MB, free: 1.199 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008876/0.4459, allocations: 426.6 kB / 491.9 MB, free: 0.7617 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002293/0.4461, allocations: 32 kB / 492 MB, free: 0.7305 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008788/0.447, allocations: 75.94 kB / 492 MB, free: 0.6562 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002616/0.4473, allocations: 109.1 kB / 492.1 MB, free: 0.5469 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.003e-05/0.4473, allocations: 40 kB / 492.2 MB, free: 0.5078 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001869/0.4492, allocations: 1.232 MB / 493.4 MB, free: 15.29 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4492, allocations: 0.5625 kB / 493.4 MB, free: 15.29 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002114/0.4514, allocations: 0.5898 MB / 494 MB, free: 14.7 MB / 414.1 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.zeroInductor.i0,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,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 (idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,7,100.0%), (2,8,100.0%), (1,1,100.0%), (1,13,100.0%), (1,8,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003366/0.4517, allocations: 185.1 kB / 494.2 MB, free: 14.51 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003478/0.4552, allocations: 2.349 MB / 496.5 MB, free: 12.09 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.4552, allocations: 5.75 kB / 496.5 MB, free: 12.08 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002381/0.4576, allocations: 1.732 MB / 498.3 MB, free: 10.28 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002642/0.4602, allocations: 0.5149 MB / 498.8 MB, free: 9.77 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009684/0.4699, allocations: 7.396 MB / 0.4943 GB, free: 2.328 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001995/0.472, allocations: 2.311 MB / 0.4966 GB, free: 15.99 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001441/0.4734, allocations: 409.1 kB / 0.497 GB, free: 15.59 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000319/0.4737, allocations: 123.4 kB / 0.4971 GB, free: 15.46 MB / 430.1 MB Notification: Performance of SimCode: time 6.51e-07/0.4738, allocations: 0 / 0.4971 GB, free: 15.46 MB / 430.1 MB Notification: Performance of Templates: time 0.0512/0.525, allocations: 28.66 MB / 0.5251 GB, free: 3.109 MB / 446.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches