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.001137/0.001137, allocations: 111.7 kB / 17.71 MB, free: 5.383 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.001058/0.001058, allocations: 183.7 kB / 18.64 MB, free: 4.465 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.265/1.265, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009997/0.0009998, allocations: 51.92 kB / 351.9 MB, free: 3.262 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2388/0.2398, allocations: 49.45 MB / 401.4 MB, free: 8.754 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz): time 0.01351/0.2534, allocations: 13.64 MB / 415 MB, free: 11.19 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007588/0.261, allocations: 4.403 MB / 419.4 MB, free: 6.77 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001625/0.2627, allocations: 83.69 kB / 419.5 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002281/0.265, allocations: 0.9978 MB / 420.5 MB, free: 5.684 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003239/0.2683, allocations: 1.316 MB / 421.8 MB, free: 4.359 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001819/0.2701, allocations: 0.8909 MB / 422.7 MB, free: 3.469 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004261/0.2744, allocations: 4.071 MB / 426.8 MB, free: 15.38 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003386/0.2778, allocations: 3.225 MB / 430 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0027/0.2805, allocations: 1.889 MB / 431.9 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002791/0.2833, allocations: 2.09 MB / 434 MB, free: 8.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007225/0.2841, allocations: 0.5117 MB / 434.5 MB, free: 7.578 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001277/0.2854, allocations: 0.7107 MB / 435.2 MB, free: 6.867 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000885/0.2863, allocations: 1.118 MB / 436.3 MB, free: 5.746 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002145/0.2884, allocations: 2.136 MB / 438.5 MB, free: 3.602 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005618/0.294, allocations: 6.708 MB / 445.2 MB, free: 12.88 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.2941, allocations: 0 / 445.2 MB, free: 12.88 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.2941, allocations: 4 kB / 445.2 MB, free: 12.87 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001035/0.2942, allocations: 0 / 445.2 MB, free: 12.87 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.01087/0.3051, allocations: 4.398 MB / 449.6 MB, free: 8.402 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.3051, allocations: 8.031 kB / 449.6 MB, free: 8.395 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004221/0.3094, allocations: 0.8124 MB / 450.4 MB, free: 7.578 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004245/0.3136, allocations: 2.435 MB / 452.8 MB, free: 5.086 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001778/0.3138, allocations: 242.8 kB / 453.1 MB, free: 4.848 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005645/0.3144, allocations: 328 kB / 453.4 MB, free: 4.527 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007372/0.3218, allocations: 4.267 MB / 457.7 MB, free: 212 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.875e-05/0.3219, allocations: 7.844 kB / 457.7 MB, free: 204 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003517/0.3223, allocations: 132 kB / 457.8 MB, free: 72 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001487/0.3224, allocations: 154.5 kB / 457.9 MB, free: 15.91 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006478/0.3289, allocations: 3.601 MB / 461.5 MB, free: 12.3 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02098/0.3499, allocations: 13.68 MB / 475.2 MB, free: 14.25 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006416/0.3563, allocations: 6.575 MB / 481.8 MB, free: 6.844 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002312/0.3587, allocations: 1.39 MB / 483.2 MB, free: 5.453 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005814/0.3645, allocations: 3.624 MB / 486.8 MB, free: 1.738 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.429e-05/0.3646, allocations: 47.88 kB / 486.9 MB, free: 1.684 MB / 398.1 MB Notification: Performance of pre-optimization done (n=134): time 2.554e-06/0.3646, allocations: 0 / 486.9 MB, free: 1.684 MB / 398.1 MB Notification: Performance of matching and sorting (n=137): time 0.01133/0.3759, allocations: 5.875 MB / 492.7 MB, free: 11.59 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.957e-05/0.376, allocations: 68.66 kB / 492.8 MB, free: 11.51 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002621/0.3786, allocations: 1.784 MB / 494.6 MB, free: 9.723 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001075/0.3787, allocations: 49.7 kB / 494.6 MB, free: 9.668 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009021/0.3796, allocations: 1.442 MB / 496.1 MB, free: 8.207 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003454/0.38, allocations: 477.1 kB / 496.5 MB, free: 7.734 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004645/0.3805, allocations: 323.2 kB / 496.9 MB, free: 7.414 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.023e-05/0.3806, allocations: 305.1 kB / 497.2 MB, free: 7.113 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001066/0.3816, allocations: 0.6832 MB / 497.8 MB, free: 6.43 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001373/0.383, allocations: 1.193 MB / 499 MB, free: 5.012 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002559/0.3856, allocations: 1.995 MB / 0.4893 GB, free: 2.797 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.377e-05/0.3856, allocations: 4 kB / 0.4893 GB, free: 2.793 MB / 414.1 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.003961/0.3896, allocations: 2.547 MB / 0.4918 GB, free: 208 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.65e-05/0.3896, allocations: 15.94 kB / 0.4918 GB, free: 192 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.573e-05/0.3897, allocations: 16.34 kB / 0.4918 GB, free: 176 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009309/0.3906, allocations: 374 kB / 0.4922 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001344/0.392, allocations: 375.4 kB / 0.4925 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007255/0.3992, allocations: 8.408 MB / 0.5007 GB, free: 6.457 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001368/0.4006, allocations: 76.05 kB / 0.5008 GB, free: 6.383 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000166/0.4008, allocations: 72 kB / 0.5009 GB, free: 6.312 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.001705/0.4025, allocations: 1.001 MB / 0.5018 GB, free: 5.301 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004028/0.4029, allocations: 193.6 kB / 0.502 GB, free: 5.109 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003979/0.4069, allocations: 2.289 MB / 0.5043 GB, free: 2.754 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.524e-05/0.4069, allocations: 19.92 kB / 0.5043 GB, free: 2.734 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.082e-05/0.407, allocations: 8 kB / 0.5043 GB, free: 2.727 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.146e-05/0.407, allocations: 3.984 kB / 0.5043 GB, free: 2.723 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008204/0.4152, allocations: 5.079 MB / 0.5093 GB, free: 13.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/0.4152, allocations: 4 kB / 0.5093 GB, free: 13.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008013/0.416, allocations: 167.8 kB / 0.5094 GB, free: 13.33 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00139/0.4174, allocations: 0.5321 MB / 0.5099 GB, free: 12.78 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001021/0.4176, allocations: 39.98 kB / 0.51 GB, free: 12.74 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01178/0.4293, allocations: 13.23 MB / 0.5229 GB, free: 14.69 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.4294, allocations: 4.031 kB / 0.5229 GB, free: 14.68 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004968/0.4343, allocations: 3.214 MB / 0.526 GB, free: 11.38 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008859/0.4353, allocations: 426.6 kB / 0.5265 GB, free: 10.94 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003835/0.4357, allocations: 39.94 kB / 0.5265 GB, free: 10.9 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008976/0.4366, allocations: 59.95 kB / 0.5266 GB, free: 10.84 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000253/0.4368, allocations: 105.2 kB / 0.5267 GB, free: 10.74 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.901e-05/0.4369, allocations: 39.98 kB / 0.5267 GB, free: 10.7 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001683/0.4386, allocations: 1.219 MB / 0.5279 GB, free: 9.492 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4386, allocations: 3.938 kB / 0.5279 GB, free: 9.488 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002037/0.4406, allocations: 0.5742 MB / 0.5284 GB, free: 8.914 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.0003124/0.441, allocations: 175.2 kB / 0.5286 GB, free: 8.73 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003379/0.4444, allocations: 2.365 MB / 0.5309 GB, free: 6.293 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.4444, allocations: 0 / 0.5309 GB, free: 6.293 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002439/0.4468, allocations: 1.743 MB / 0.5326 GB, free: 4.477 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00235/0.4492, allocations: 0.5402 MB / 0.5331 GB, free: 3.941 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2029/0.6521, allocations: 5.778 MB / 0.5388 GB, free: 128.1 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001982/0.6542, allocations: 2.26 MB / 0.541 GB, free: 127.4 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005358/0.6547, allocations: 136.6 kB / 0.5411 GB, free: 127.4 MB / 462.1 MB Notification: Performance of SimCode: time 6.91e-07/0.6547, allocations: 0 / 0.5411 GB, free: 127.4 MB / 462.1 MB Notification: Performance of Templates: time 0.08519/0.7399, allocations: 128.4 MB / 0.6666 GB, free: 7.988 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/jenkins1/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/jenkins1/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