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.0007974/0.0007974, allocations: 88.8 kB / 17.31 MB, free: 5.938 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.0008393/0.0008394, allocations: 178.9 kB / 18.22 MB, free: 5.391 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.114/1.114, allocations: 223.3 MB / 242.2 MB, free: 220 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000203/0.000203, allocations: 4 kB / 302.1 MB, free: 6.117 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07021/0.07042, allocations: 50.42 MB / 352.5 MB, free: 3.684 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz): time 0.01083/0.08128, allocations: 12.82 MB / 365.3 MB, free: 6.801 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006222/0.08752, allocations: 4.314 MB / 369.6 MB, free: 2.473 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001406/0.08894, allocations: 71.75 kB / 369.7 MB, free: 2.402 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001974/0.09093, allocations: 0.8667 MB / 370.6 MB, free: 1.531 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002754/0.0937, allocations: 1.197 MB / 371.8 MB, free: 336 kB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1302/0.2239, allocations: 0.7969 MB / 372.6 MB, free: 10.31 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004754/0.2287, allocations: 4.311 MB / 376.9 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003228/0.232, allocations: 2.654 MB / 379.5 MB, free: 9.695 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001933/0.2339, allocations: 1.32 MB / 380.9 MB, free: 9.445 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002469/0.2364, allocations: 1.685 MB / 382.5 MB, free: 9.074 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007043/0.2371, allocations: 207.8 kB / 382.7 MB, free: 9.074 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001491/0.2386, allocations: 419.6 kB / 383.2 MB, free: 9.074 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007424/0.2393, allocations: 0.7594 MB / 383.9 MB, free: 8.945 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001786/0.2411, allocations: 1.766 MB / 385.7 MB, free: 8.285 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00346/0.2446, allocations: 5.497 MB / 391.2 MB, free: 5.863 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.2446, allocations: 4 kB / 391.2 MB, free: 5.859 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2446, allocations: 0 / 391.2 MB, free: 5.859 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.953e-05/0.2447, allocations: 0 / 391.2 MB, free: 5.859 MB / 302.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.006862/0.2515, allocations: 3.705 MB / 394.9 MB, free: 3.434 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.074e-05/0.2516, allocations: 8.25 kB / 394.9 MB, free: 3.434 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003585/0.2552, allocations: 0.8236 MB / 395.7 MB, free: 3.043 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002593/0.2578, allocations: 2.32 MB / 398 MB, free: 1.418 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001174/0.2579, allocations: 244.8 kB / 398.3 MB, free: 1.309 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003796/0.2583, allocations: 327 kB / 398.6 MB, free: 1.195 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005582/0.2639, allocations: 4.273 MB / 402.9 MB, free: 13.91 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.092e-05/0.264, allocations: 7.094 kB / 402.9 MB, free: 13.91 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002758/0.2642, allocations: 132 kB / 403 MB, free: 13.78 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001179/0.2644, allocations: 150.4 kB / 403.2 MB, free: 13.63 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005055/0.2694, allocations: 3.609 MB / 406.8 MB, free: 10.02 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01611/0.2855, allocations: 13.94 MB / 420.7 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005499/0.2911, allocations: 6.557 MB / 427.3 MB, free: 4.449 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001986/0.2931, allocations: 1.398 MB / 428.7 MB, free: 3.051 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004627/0.2977, allocations: 3.647 MB / 432.3 MB, free: 15.36 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.09e-05/0.2977, allocations: 51.81 kB / 432.4 MB, free: 15.3 MB / 350.1 MB Notification: Performance of pre-optimization done (n=134): time 2.455e-06/0.2977, allocations: 0 / 432.4 MB, free: 15.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=137): time 0.009576/0.3073, allocations: 5.914 MB / 438.3 MB, free: 9.172 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.505e-05/0.3074, allocations: 68.66 kB / 438.3 MB, free: 9.094 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002031/0.3094, allocations: 1.784 MB / 440.1 MB, free: 7.309 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.67e-05/0.3095, allocations: 49.7 kB / 440.2 MB, free: 7.254 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008058/0.3103, allocations: 1.441 MB / 441.6 MB, free: 5.801 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002868/0.3106, allocations: 478.2 kB / 442.1 MB, free: 5.34 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001678/0.3108, allocations: 149.6 kB / 442.2 MB, free: 5.188 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.16e-05/0.3109, allocations: 305.1 kB / 442.5 MB, free: 4.887 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009516/0.3118, allocations: 0.6832 MB / 443.2 MB, free: 4.207 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001232/0.313, allocations: 1.203 MB / 444.4 MB, free: 2.777 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002275/0.3153, allocations: 2.004 MB / 446.4 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/0.3154, allocations: 4 kB / 446.4 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.003402/0.3188, allocations: 2.551 MB / 449 MB, free: 13.96 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/0.3188, allocations: 12 kB / 449 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.6e-05/0.3188, allocations: 16 kB / 449 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007888/0.3196, allocations: 365.2 kB / 449.3 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00117/0.3208, allocations: 371.4 kB / 449.7 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006063/0.3269, allocations: 7.716 MB / 457.4 MB, free: 4.969 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009331/0.3278, allocations: 80.06 kB / 457.5 MB, free: 4.891 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001023/0.3279, allocations: 71.98 kB / 457.6 MB, free: 4.82 MB / 366.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.001361/0.3293, allocations: 1.006 MB / 458.6 MB, free: 3.809 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002153/0.3295, allocations: 189.7 kB / 458.8 MB, free: 3.621 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003398/0.3329, allocations: 2.305 MB / 461.1 MB, free: 1.242 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.331e-05/0.3329, allocations: 12.19 kB / 461.1 MB, free: 1.23 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.099e-05/0.333, allocations: 11.94 kB / 461.1 MB, free: 1.219 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.178e-05/0.333, allocations: 11.91 kB / 461.1 MB, free: 1.207 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006516/0.3395, allocations: 5.08 MB / 466.2 MB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.3395, allocations: 4 kB / 466.2 MB, free: 12.01 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006893/0.3402, allocations: 175.8 kB / 466.4 MB, free: 11.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001219/0.3414, allocations: 0.5265 MB / 466.9 MB, free: 11.3 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.221e-05/0.3415, allocations: 39.98 kB / 466.9 MB, free: 11.26 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009833/0.3514, allocations: 12.1 MB / 479 MB, free: 14.37 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/0.3514, allocations: 4.031 kB / 479 MB, free: 14.37 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004225/0.3556, allocations: 3.225 MB / 482.3 MB, free: 11.06 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005753/0.3562, allocations: 426.6 kB / 482.7 MB, free: 10.62 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002319/0.3564, allocations: 35.98 kB / 482.7 MB, free: 10.59 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007865/0.3572, allocations: 64.05 kB / 482.8 MB, free: 10.52 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001952/0.3574, allocations: 117 kB / 482.9 MB, free: 10.41 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.406e-05/0.3575, allocations: 43.98 kB / 482.9 MB, free: 10.37 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001475/0.359, allocations: 1.219 MB / 484.1 MB, free: 9.156 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.273e-06/0.359, allocations: 0 / 484.1 MB, free: 9.156 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001718/0.3607, allocations: 0.5821 MB / 484.7 MB, free: 8.574 MB / 398.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.00028/0.361, allocations: 167 kB / 484.9 MB, free: 8.398 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003059/0.3641, allocations: 2.361 MB / 487.3 MB, free: 5.965 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.3641, allocations: 0 / 487.3 MB, free: 5.965 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002121/0.3662, allocations: 1.754 MB / 489 MB, free: 4.133 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002192/0.3684, allocations: 0.5045 MB / 489.5 MB, free: 3.637 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008525/0.377, allocations: 7.362 MB / 496.9 MB, free: 12.22 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001736/0.3787, allocations: 2.257 MB / 499.1 MB, free: 9.938 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003454/0.3791, allocations: 139.4 kB / 499.3 MB, free: 9.801 MB / 414.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3791, allocations: 0 / 499.3 MB, free: 9.801 MB / 414.1 MB Notification: Performance of Templates: time 0.2168/0.5959, allocations: 127.9 MB / 0.6125 GB, free: 80.64 MB / 446.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