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_Steinmetz.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001388/0.001388, allocations: 109.1 kB / 17.06 MB, free: 6.023 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001255/0.001255, allocations: 191 kB / 18 MB, free: 5.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.344/1.344, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009806/0.0009807, allocations: 55.91 kB / 351.3 MB, free: 3.227 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2518/0.2528, allocations: 49.44 MB / 400.7 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz): time 0.01436/0.2672, allocations: 13.64 MB / 414.4 MB, free: 11.16 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008247/0.2754, allocations: 4.396 MB / 418.8 MB, free: 6.746 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002605/0.2781, allocations: 83.69 kB / 418.9 MB, free: 6.664 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002787/0.2809, allocations: 1.045 MB / 419.9 MB, free: 5.613 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004371/0.2853, allocations: 1.359 MB / 421.3 MB, free: 4.246 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002361/0.2877, allocations: 0.892 MB / 422.2 MB, free: 3.355 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005926/0.2936, allocations: 4.082 MB / 426.2 MB, free: 15.26 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004205/0.2979, allocations: 3.221 MB / 429.5 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003053/0.3009, allocations: 1.912 MB / 431.4 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003284/0.3042, allocations: 2.09 MB / 433.5 MB, free: 7.949 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008946/0.3052, allocations: 0.5078 MB / 434 MB, free: 7.441 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001555/0.3067, allocations: 0.7107 MB / 434.7 MB, free: 6.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009826/0.3077, allocations: 1.118 MB / 435.8 MB, free: 5.609 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002604/0.3103, allocations: 2.132 MB / 437.9 MB, free: 3.469 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006643/0.317, allocations: 6.708 MB / 444.6 MB, free: 12.74 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.317, allocations: 0 / 444.6 MB, free: 12.74 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.424e-06/0.317, allocations: 0 / 444.6 MB, free: 12.74 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001343/0.3172, allocations: 0 / 444.6 MB, free: 12.74 MB / 366.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.01091/0.3281, allocations: 4.406 MB / 449 MB, free: 8.266 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.3282, allocations: 8.031 kB / 449.1 MB, free: 8.258 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004274/0.3324, allocations: 0.8163 MB / 449.9 MB, free: 7.438 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004345/0.3368, allocations: 2.431 MB / 452.3 MB, free: 4.949 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001879/0.337, allocations: 242.8 kB / 452.5 MB, free: 4.711 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005773/0.3376, allocations: 332 kB / 452.9 MB, free: 4.387 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007312/0.3449, allocations: 4.263 MB / 457.1 MB, free: 72 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.989e-05/0.345, allocations: 7.906 kB / 457.1 MB, free: 64 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003225/0.3453, allocations: 128.1 kB / 457.3 MB, free: 15.93 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001406/0.3455, allocations: 150.4 kB / 457.4 MB, free: 15.79 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005931/0.3514, allocations: 3.605 MB / 461 MB, free: 12.17 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02134/0.3728, allocations: 13.68 MB / 474.7 MB, free: 14.11 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006547/0.3794, allocations: 6.586 MB / 481.3 MB, free: 6.695 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002437/0.3819, allocations: 1.394 MB / 482.7 MB, free: 5.301 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006284/0.3882, allocations: 3.62 MB / 486.3 MB, free: 1.59 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.808e-05/0.3882, allocations: 47.88 kB / 486.3 MB, free: 1.535 MB / 398.1 MB Notification: Performance of pre-optimization done (n=134): time 3.607e-06/0.3883, allocations: 0 / 486.3 MB, free: 1.535 MB / 398.1 MB Notification: Performance of matching and sorting (n=137): time 0.01236/0.4006, allocations: 5.867 MB / 492.2 MB, free: 11.45 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.342e-05/0.4007, allocations: 68.72 kB / 492.3 MB, free: 11.37 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00329/0.404, allocations: 1.784 MB / 494.1 MB, free: 9.582 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001088/0.4041, allocations: 49.7 kB / 494.1 MB, free: 9.527 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009836/0.4051, allocations: 1.438 MB / 495.5 MB, free: 8.07 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003995/0.4055, allocations: 485.1 kB / 496 MB, free: 7.59 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005263/0.4061, allocations: 315.2 kB / 496.3 MB, free: 7.277 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001009/0.4062, allocations: 305.1 kB / 496.6 MB, free: 6.977 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001144/0.4073, allocations: 0.6793 MB / 497.3 MB, free: 6.297 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001445/0.4088, allocations: 1.201 MB / 498.5 MB, free: 4.871 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002675/0.4115, allocations: 1.999 MB / 0.4888 GB, free: 2.652 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.424e-05/0.4115, allocations: 8 kB / 0.4888 GB, free: 2.645 MB / 414.1 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.004221/0.4157, allocations: 2.535 MB / 0.4913 GB, free: 68 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.153e-05/0.4158, allocations: 12 kB / 0.4913 GB, free: 56 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.605e-05/0.4158, allocations: 16 kB / 0.4913 GB, free: 40 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001006/0.4168, allocations: 364.4 kB / 0.4916 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001437/0.4183, allocations: 375.4 kB / 0.492 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008273/0.4266, allocations: 8.418 MB / 0.5002 GB, free: 6.324 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001686/0.4283, allocations: 71.97 kB / 0.5003 GB, free: 6.254 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002147/0.4285, allocations: 84.08 kB / 0.5004 GB, free: 6.172 MB / 430.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.001884/0.4304, allocations: 0.9969 MB / 0.5013 GB, free: 5.164 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005244/0.4309, allocations: 193.6 kB / 0.5015 GB, free: 4.973 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004151/0.4351, allocations: 2.289 MB / 0.5038 GB, free: 2.617 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.201e-05/0.4351, allocations: 20 kB / 0.5038 GB, free: 2.598 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.863e-05/0.4352, allocations: 8 kB / 0.5038 GB, free: 2.59 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.384e-05/0.4352, allocations: 7.969 kB / 0.5038 GB, free: 2.582 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008338/0.4435, allocations: 5.083 MB / 0.5088 GB, free: 13.36 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.304e-06/0.4436, allocations: 0 / 0.5088 GB, free: 13.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008232/0.4444, allocations: 171.8 kB / 0.5089 GB, free: 13.19 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001439/0.4458, allocations: 0.5361 MB / 0.5094 GB, free: 12.64 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001036/0.446, allocations: 31.98 kB / 0.5095 GB, free: 12.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01247/0.4584, allocations: 13.22 MB / 0.5224 GB, free: 14.55 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/0.4585, allocations: 4 kB / 0.5224 GB, free: 14.55 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005678/0.4642, allocations: 3.214 MB / 0.5255 GB, free: 11.24 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0014/0.4656, allocations: 426.5 kB / 0.5259 GB, free: 10.8 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006269/0.4663, allocations: 35.94 kB / 0.526 GB, free: 10.77 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001203/0.4675, allocations: 67.94 kB / 0.526 GB, free: 10.7 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003136/0.4678, allocations: 109.1 kB / 0.5261 GB, free: 10.6 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.637e-05/0.4679, allocations: 35.98 kB / 0.5262 GB, free: 10.56 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002552/0.4705, allocations: 1.219 MB / 0.5274 GB, free: 9.352 MB / 462.1 MB Notification: Performance of sort global known variables: time 5.01e-07/0.4705, allocations: 0 / 0.5274 GB, free: 9.352 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002669/0.4732, allocations: 0.5781 MB / 0.5279 GB, free: 8.773 MB / 462.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.0003902/0.4736, allocations: 173.3 kB / 0.5281 GB, free: 8.594 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003867/0.4774, allocations: 2.369 MB / 0.5304 GB, free: 6.152 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.4775, allocations: 0 / 0.5304 GB, free: 6.152 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002582/0.48, allocations: 1.738 MB / 0.5321 GB, free: 4.34 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002751/0.4828, allocations: 0.5516 MB / 0.5326 GB, free: 3.797 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2057/0.6886, allocations: 5.799 MB / 0.5383 GB, free: 128.5 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002299/0.6909, allocations: 2.305 MB / 0.5406 GB, free: 127.7 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001302/0.6922, allocations: 405.2 kB / 0.5409 GB, free: 127.7 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002787/0.6925, allocations: 124.7 kB / 0.5411 GB, free: 127.7 MB / 462.1 MB Notification: Performance of SimCode: time 1.102e-06/0.6925, allocations: 0 / 0.5411 GB, free: 127.7 MB / 462.1 MB Notification: Performance of Templates: time 0.04128/0.7338, allocations: 30.23 MB / 0.5706 GB, free: 106 MB / 462.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches