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.001431/0.001431, allocations: 112.3 kB / 17.06 MB, free: 5.992 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.001458/0.001458, allocations: 198.8 kB / 18.01 MB, free: 5.066 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.43/1.43, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001089/0.001089, allocations: 51.92 kB / 351.3 MB, free: 3.215 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2393/0.2404, allocations: 49.43 MB / 400.7 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz): time 0.01418/0.2546, allocations: 13.64 MB / 414.4 MB, free: 11.16 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008061/0.2627, allocations: 4.419 MB / 418.8 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002196/0.2649, allocations: 79.69 kB / 418.9 MB, free: 6.652 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003081/0.268, allocations: 1.006 MB / 419.9 MB, free: 5.641 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004196/0.2722, allocations: 1.311 MB / 421.2 MB, free: 4.324 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002052/0.2743, allocations: 0.8898 MB / 422.1 MB, free: 3.438 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005497/0.2798, allocations: 4.079 MB / 426.2 MB, free: 15.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004723/0.2845, allocations: 3.221 MB / 429.4 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003515/0.2881, allocations: 1.893 MB / 431.3 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003655/0.2918, allocations: 2.094 MB / 433.4 MB, free: 8.047 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00131/0.2931, allocations: 0.5078 MB / 433.9 MB, free: 7.539 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002251/0.2953, allocations: 0.7029 MB / 434.6 MB, free: 6.836 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001538/0.2969, allocations: 1.126 MB / 435.7 MB, free: 5.707 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002528/0.2994, allocations: 2.132 MB / 437.8 MB, free: 3.566 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006212/0.3057, allocations: 6.727 MB / 444.6 MB, free: 12.82 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.3057, allocations: 0 / 444.6 MB, free: 12.82 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.3057, allocations: 0 / 444.6 MB, free: 12.82 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.798e-05/0.3058, allocations: 0 / 444.6 MB, free: 12.82 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.009817/0.3156, allocations: 4.499 MB / 449.1 MB, free: 8.242 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.3157, allocations: 12.03 kB / 449.1 MB, free: 8.23 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004141/0.3198, allocations: 0.83 MB / 449.9 MB, free: 7.398 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003906/0.3237, allocations: 2.444 MB / 452.3 MB, free: 4.898 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001603/0.3239, allocations: 242.8 kB / 452.6 MB, free: 4.66 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004555/0.3244, allocations: 328.1 kB / 452.9 MB, free: 4.34 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006777/0.3312, allocations: 4.263 MB / 457.2 MB, free: 24 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.438e-05/0.3313, allocations: 7.953 kB / 457.2 MB, free: 16 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003025/0.3316, allocations: 132 kB / 457.3 MB, free: 15.89 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001328/0.3317, allocations: 150.4 kB / 457.5 MB, free: 15.74 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005675/0.3374, allocations: 3.605 MB / 461.1 MB, free: 12.12 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01877/0.3562, allocations: 13.73 MB / 474.8 MB, free: 14.02 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006059/0.3623, allocations: 6.582 MB / 481.4 MB, free: 6.609 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002242/0.3645, allocations: 1.39 MB / 482.8 MB, free: 5.219 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005622/0.3702, allocations: 3.628 MB / 486.4 MB, free: 1.5 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.687e-05/0.3702, allocations: 59.86 kB / 486.4 MB, free: 1.434 MB / 398.1 MB Notification: Performance of pre-optimization done (n=134): time 2.715e-06/0.3702, allocations: 0 / 486.4 MB, free: 1.434 MB / 398.1 MB Notification: Performance of matching and sorting (n=137): time 0.01096/0.3812, allocations: 5.919 MB / 492.4 MB, free: 11.3 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.003e-05/0.3813, allocations: 64.72 kB / 492.4 MB, free: 11.22 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002402/0.3837, allocations: 1.78 MB / 494.2 MB, free: 9.441 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 9.169e-05/0.3838, allocations: 53.7 kB / 494.3 MB, free: 9.383 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009307/0.3847, allocations: 1.466 MB / 495.7 MB, free: 7.902 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003356/0.3851, allocations: 0.4958 MB / 496.2 MB, free: 7.402 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000447/0.3855, allocations: 315.5 kB / 496.5 MB, free: 7.09 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.636e-05/0.3856, allocations: 305.1 kB / 496.8 MB, free: 6.789 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001058/0.3867, allocations: 0.6832 MB / 497.5 MB, free: 6.105 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001339/0.388, allocations: 1.193 MB / 498.7 MB, free: 4.688 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00251/0.3905, allocations: 2.007 MB / 0.489 GB, free: 2.461 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.448e-06/0.3906, allocations: 7.984 kB / 0.489 GB, free: 2.453 MB / 414.1 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.003995/0.3946, allocations: 2.548 MB / 0.4915 GB, free: 15.86 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.475e-05/0.3946, allocations: 12 kB / 0.4915 GB, free: 15.85 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.102e-05/0.3946, allocations: 16 kB / 0.4915 GB, free: 15.84 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009666/0.3956, allocations: 368.3 kB / 0.4918 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001345/0.397, allocations: 371.4 kB / 0.4922 GB, free: 15.1 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007294/0.4043, allocations: 8.418 MB / 0.5004 GB, free: 6.121 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001389/0.4057, allocations: 71.95 kB / 0.5005 GB, free: 6.051 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001296/0.4058, allocations: 76 kB / 0.5006 GB, free: 5.977 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.001597/0.4074, allocations: 1.009 MB / 0.5015 GB, free: 4.957 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003042/0.4077, allocations: 206.6 kB / 0.5017 GB, free: 4.754 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003708/0.4114, allocations: 2.294 MB / 0.504 GB, free: 2.395 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-05/0.4115, allocations: 12 kB / 0.504 GB, free: 2.383 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.126e-05/0.4115, allocations: 8 kB / 0.504 GB, free: 2.375 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.216e-05/0.4115, allocations: 3.984 kB / 0.504 GB, free: 2.371 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00773/0.4192, allocations: 5.087 MB / 0.509 GB, free: 13.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.234e-06/0.4193, allocations: 4 kB / 0.509 GB, free: 13.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007756/0.4201, allocations: 171.8 kB / 0.5091 GB, free: 12.97 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001361/0.4214, allocations: 0.5319 MB / 0.5097 GB, free: 12.42 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-05/0.4215, allocations: 35.98 kB / 0.5097 GB, free: 12.39 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0119/0.4334, allocations: 13.24 MB / 0.5226 GB, free: 14.32 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.748e-06/0.4335, allocations: 4.031 kB / 0.5226 GB, free: 14.32 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005154/0.4386, allocations: 3.219 MB / 0.5258 GB, free: 11.01 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00108/0.4397, allocations: 439.7 kB / 0.5262 GB, free: 10.56 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007701/0.4405, allocations: 36.03 kB / 0.5262 GB, free: 10.53 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001486/0.442, allocations: 67.83 kB / 0.5263 GB, free: 10.46 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004124/0.4425, allocations: 105.2 kB / 0.5264 GB, free: 10.36 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001307/0.4426, allocations: 43.98 kB / 0.5264 GB, free: 10.32 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002323/0.4449, allocations: 1.215 MB / 0.5276 GB, free: 9.109 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.445, allocations: 0 / 0.5276 GB, free: 9.109 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002591/0.4476, allocations: 0.5781 MB / 0.5282 GB, free: 8.531 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.0004033/0.448, allocations: 177.4 kB / 0.5284 GB, free: 8.348 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004063/0.452, allocations: 2.362 MB / 0.5307 GB, free: 5.914 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.4521, allocations: 4.438 kB / 0.5307 GB, free: 5.91 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002533/0.4546, allocations: 1.741 MB / 0.5324 GB, free: 4.094 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002661/0.4573, allocations: 0.5441 MB / 0.5329 GB, free: 3.555 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2102/0.6675, allocations: 5.905 MB / 0.5387 GB, free: 127.6 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001677/0.6692, allocations: 2.307 MB / 0.5409 GB, free: 126.8 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001214/0.6704, allocations: 403.1 kB / 0.5413 GB, free: 126.8 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002718/0.6707, allocations: 121.7 kB / 0.5414 GB, free: 126.8 MB / 462.1 MB Notification: Performance of SimCode: time 4.81e-07/0.6707, allocations: 3.219 kB / 0.5414 GB, free: 126.8 MB / 462.1 MB Notification: Performance of Templates: time 0.0392/0.7099, allocations: 30.22 MB / 0.5709 GB, free: 104.7 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