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.001745/0.001745, allocations: 118.6 kB / 18.45 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001312/0.001312, allocations: 207.6 kB / 19.41 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.5/1.5, allocations: 227.4 MB / 247.6 MB, free: 10.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001838/0.001838, allocations: 63.89 kB / 359.4 MB, free: 12.85 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2792/0.2811, allocations: 50.54 MB / 410 MB, free: 1.539 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz): time 0.01893/0.3, allocations: 14.31 MB / 424.3 MB, free: 3.156 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01132/0.3113, allocations: 4.696 MB / 429 MB, free: 14.45 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003355/0.3147, allocations: 87.69 kB / 429.1 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00361/0.3183, allocations: 1.06 MB / 430.1 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005149/0.3234, allocations: 1.336 MB / 431.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003058/0.3265, allocations: 0.9342 MB / 432.4 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007105/0.3336, allocations: 4.131 MB / 436.5 MB, free: 6.879 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003513/0.3371, allocations: 2.246 MB / 438.8 MB, free: 4.559 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003362/0.3405, allocations: 1.916 MB / 440.7 MB, free: 2.637 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004216/0.3447, allocations: 2.223 MB / 442.9 MB, free: 416 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001127/0.3458, allocations: 0.5079 MB / 443.4 MB, free: 15.89 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001966/0.3478, allocations: 0.7301 MB / 444.2 MB, free: 15.17 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001175/0.3489, allocations: 1.13 MB / 445.3 MB, free: 14.04 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003687/0.3526, allocations: 2.136 MB / 447.4 MB, free: 11.89 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0129/0.3655, allocations: 6.766 MB / 454.2 MB, free: 5.102 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.427e-05/0.3656, allocations: 0 / 454.2 MB, free: 5.102 MB / 366.1 MB Notification: Performance of FrontEnd: time 6.692e-06/0.3656, allocations: 0 / 454.2 MB, free: 5.102 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003846/0.3659, allocations: 0 / 454.2 MB, free: 5.102 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.01506/0.381, allocations: 4.523 MB / 458.7 MB, free: 0.5 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.362e-05/0.3811, allocations: 12.03 kB / 458.7 MB, free: 500 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00472/0.3858, allocations: 0.8261 MB / 459.5 MB, free: 15.66 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005839/0.3916, allocations: 2.476 MB / 462 MB, free: 13.13 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002343/0.3918, allocations: 238.8 kB / 462.3 MB, free: 12.89 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007506/0.3926, allocations: 335.9 kB / 462.6 MB, free: 12.57 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008933/0.4015, allocations: 4.27 MB / 466.9 MB, free: 8.242 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.108e-05/0.4016, allocations: 3.953 kB / 466.9 MB, free: 8.238 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003299/0.4019, allocations: 132 kB / 467 MB, free: 8.109 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000165/0.4021, allocations: 150.4 kB / 467.1 MB, free: 7.961 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006776/0.4089, allocations: 3.605 MB / 470.7 MB, free: 4.348 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02476/0.4336, allocations: 13.85 MB / 484.6 MB, free: 6.102 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007796/0.4414, allocations: 6.516 MB / 491.1 MB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002599/0.444, allocations: 1.288 MB / 492.4 MB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007029/0.4511, allocations: 3.898 MB / 496.3 MB, free: 9.398 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.591e-05/0.4511, allocations: 51.88 kB / 496.3 MB, free: 9.34 MB / 414.1 MB Notification: Performance of pre-optimization done (n=134): time 2.826e-06/0.4511, allocations: 0 / 496.3 MB, free: 9.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=137): time 0.01265/0.4637, allocations: 5.915 MB / 0.4905 GB, free: 3.211 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.439e-05/0.4638, allocations: 68.72 kB / 0.4905 GB, free: 3.133 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002925/0.4667, allocations: 1.805 MB / 0.4923 GB, free: 1.328 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001397/0.4669, allocations: 57.64 kB / 0.4924 GB, free: 1.266 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001216/0.4681, allocations: 1.49 MB / 0.4938 GB, free: 15.76 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004928/0.4686, allocations: 0.4919 MB / 0.4943 GB, free: 15.26 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005037/0.4691, allocations: 323.4 kB / 0.4946 GB, free: 14.94 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.4692, allocations: 305.1 kB / 0.4949 GB, free: 14.64 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001166/0.4704, allocations: 0.687 MB / 0.4956 GB, free: 13.96 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001653/0.472, allocations: 1.186 MB / 0.4967 GB, free: 12.55 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00291/0.4749, allocations: 2.014 MB / 0.4987 GB, free: 10.31 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.718e-06/0.4749, allocations: 8 kB / 0.4987 GB, free: 10.3 MB / 430.1 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.004597/0.4795, allocations: 2.54 MB / 0.5012 GB, free: 7.723 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.691e-05/0.4796, allocations: 15.94 kB / 0.5012 GB, free: 7.707 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.171e-05/0.4796, allocations: 16 kB / 0.5012 GB, free: 7.691 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001031/0.4806, allocations: 364.3 kB / 0.5016 GB, free: 7.32 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001392/0.482, allocations: 379.4 kB / 0.5019 GB, free: 6.949 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008866/0.4909, allocations: 8.4 MB / 0.5101 GB, free: 14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002071/0.4929, allocations: 79.91 kB / 0.5102 GB, free: 13.92 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002494/0.4932, allocations: 71.98 kB / 0.5103 GB, free: 13.85 MB / 446.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.003055/0.4963, allocations: 1.009 MB / 0.5113 GB, free: 12.83 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007466/0.497, allocations: 206.7 kB / 0.5115 GB, free: 12.62 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00451/0.5015, allocations: 2.278 MB / 0.5137 GB, free: 10.28 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.589e-05/0.5015, allocations: 12 kB / 0.5137 GB, free: 10.27 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.688e-05/0.5015, allocations: 12 kB / 0.5137 GB, free: 10.25 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.258e-05/0.5016, allocations: 3.984 kB / 0.5137 GB, free: 10.25 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008704/0.5103, allocations: 5.075 MB / 0.5187 GB, free: 5.035 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.777e-06/0.5103, allocations: 4 kB / 0.5187 GB, free: 5.031 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000829/0.5111, allocations: 179.8 kB / 0.5188 GB, free: 4.855 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0015/0.5126, allocations: 0.5322 MB / 0.5194 GB, free: 4.305 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.82e-05/0.5127, allocations: 35.98 kB / 0.5194 GB, free: 4.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01391/0.5266, allocations: 13.25 MB / 0.5323 GB, free: 6.184 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.5266, allocations: 4.094 kB / 0.5323 GB, free: 6.18 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005894/0.5325, allocations: 3.211 MB / 0.5355 GB, free: 2.883 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001338/0.5338, allocations: 435.7 kB / 0.5359 GB, free: 2.438 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002669/0.5341, allocations: 36.02 kB / 0.5359 GB, free: 2.402 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008903/0.535, allocations: 71.89 kB / 0.536 GB, free: 2.332 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003807/0.5354, allocations: 101.2 kB / 0.5361 GB, free: 2.234 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.017e-05/0.5355, allocations: 43.98 kB / 0.5361 GB, free: 2.191 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002018/0.5375, allocations: 1.228 MB / 0.5373 GB, free: 0.9727 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5375, allocations: 0 / 0.5373 GB, free: 0.9727 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002401/0.5399, allocations: 0.5898 MB / 0.5379 GB, free: 392 kB / 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.0004147/0.5403, allocations: 175 kB / 0.5381 GB, free: 204 kB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.2455/0.7858, allocations: 2.282 MB / 0.5403 GB, free: 123.6 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/0.7859, allocations: 1 kB / 0.5403 GB, free: 123.6 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002251/0.7881, allocations: 1.68 MB / 0.5419 GB, free: 122.9 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002501/0.7906, allocations: 0.5583 MB / 0.5425 GB, free: 122.8 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008019/0.7986, allocations: 5.896 MB / 0.5482 GB, free: 120 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001786/0.8004, allocations: 2.315 MB / 0.5505 GB, free: 119 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001246/0.8017, allocations: 406.2 kB / 0.5509 GB, free: 118.9 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002813/0.8019, allocations: 132.3 kB / 0.551 GB, free: 118.9 MB / 462.1 MB Notification: Performance of SimCode: time 8.42e-07/0.8019, allocations: 0 / 0.551 GB, free: 118.9 MB / 462.1 MB Notification: Performance of Templates: time 0.04306/0.845, allocations: 30.68 MB / 0.581 GB, free: 91.83 MB / 462.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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Steinmetz/IMC_Steinmetz.csv","/var/lib/jenkins1/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