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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 186.5 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.269/1.269, allocations: 222.9 MB / 240.9 MB, free: 10.97 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001034/0.001034, allocations: 108.4 kB / 291.2 MB, free: 10.93 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007962/0.0007962, allocations: 39.94 kB / 350.1 MB, free: 52 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2011/0.2019, allocations: 49.42 MB / 399.5 MB, free: 33.37 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz): time 0.01087/0.2128, allocations: 13.48 MB / 413 MB, free: 19.84 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007946/0.2208, allocations: 4.381 MB / 417.3 MB, free: 15.45 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002698/0.2236, allocations: 75.69 kB / 417.4 MB, free: 15.37 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00296/0.2266, allocations: 0.8707 MB / 418.3 MB, free: 14.5 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003523/0.2302, allocations: 1.192 MB / 419.5 MB, free: 13.3 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001624/0.2318, allocations: 0.8109 MB / 420.3 MB, free: 12.49 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003606/0.2354, allocations: 4.371 MB / 424.7 MB, free: 8.102 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00226/0.2377, allocations: 2.682 MB / 427.3 MB, free: 5.348 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001498/0.2392, allocations: 1.522 MB / 428.9 MB, free: 3.82 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001528/0.2408, allocations: 1.93 MB / 430.8 MB, free: 1.883 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003783/0.2411, allocations: 300 kB / 431.1 MB, free: 1.59 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009564/0.2421, allocations: 0.4997 MB / 431.6 MB, free: 1.09 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005051/0.2426, allocations: 0.8798 MB / 432.5 MB, free: 212 kB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001841/0.2445, allocations: 1.905 MB / 434.4 MB, free: 14.29 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00546/0.2499, allocations: 6.488 MB / 440.9 MB, free: 7.785 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.25, allocations: 0 / 440.9 MB, free: 7.785 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.25, allocations: 4 kB / 440.9 MB, free: 7.781 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001278/0.2501, allocations: 4 kB / 440.9 MB, free: 7.777 MB / 314.7 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.0105/0.2606, allocations: 4.387 MB / 445.3 MB, free: 3.32 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.2607, allocations: 8.031 kB / 445.3 MB, free: 3.312 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004127/0.2648, allocations: 0.8201 MB / 446.1 MB, free: 2.488 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004397/0.2693, allocations: 2.322 MB / 448.4 MB, free: 112 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002144/0.2695, allocations: 238.9 kB / 448.6 MB, free: 15.87 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007887/0.2703, allocations: 336 kB / 449 MB, free: 15.55 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006967/0.2773, allocations: 4.263 MB / 453.2 MB, free: 11.23 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.722e-05/0.2774, allocations: 11.91 kB / 453.2 MB, free: 11.21 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002819/0.2777, allocations: 124 kB / 453.4 MB, free: 11.09 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001354/0.2778, allocations: 154.4 kB / 453.5 MB, free: 10.94 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005669/0.2835, allocations: 3.609 MB / 457.1 MB, free: 7.324 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02253/0.306, allocations: 13.85 MB / 471 MB, free: 9.098 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006411/0.3125, allocations: 6.567 MB / 477.5 MB, free: 1.695 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002287/0.3148, allocations: 1.39 MB / 478.9 MB, free: 312 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006185/0.321, allocations: 3.624 MB / 482.5 MB, free: 12.59 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.944e-05/0.3211, allocations: 51.88 kB / 482.6 MB, free: 12.53 MB / 362.7 MB Notification: Performance of pre-optimization done (n=134): time 3.176e-06/0.3211, allocations: 0 / 482.6 MB, free: 12.53 MB / 362.7 MB Notification: Performance of matching and sorting (n=137): time 0.01127/0.3324, allocations: 5.894 MB / 488.5 MB, free: 6.422 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.417e-05/0.3324, allocations: 64.72 kB / 488.6 MB, free: 6.348 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002779/0.3352, allocations: 1.784 MB / 490.3 MB, free: 4.562 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001038/0.3353, allocations: 53.7 kB / 490.4 MB, free: 4.504 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000927/0.3363, allocations: 1.427 MB / 491.8 MB, free: 3.059 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003636/0.3367, allocations: 485 kB / 492.3 MB, free: 2.578 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004805/0.3371, allocations: 319.3 kB / 492.6 MB, free: 2.262 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.59e-05/0.3372, allocations: 305.1 kB / 492.9 MB, free: 1.961 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001062/0.3383, allocations: 0.6832 MB / 493.6 MB, free: 1.277 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00133/0.3396, allocations: 1.19 MB / 494.8 MB, free: 15.86 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002533/0.3422, allocations: 1.999 MB / 496.8 MB, free: 13.64 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.311e-05/0.3422, allocations: 4 kB / 496.8 MB, free: 13.63 MB / 378.7 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.004013/0.3462, allocations: 2.547 MB / 499.3 MB, free: 11.04 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.379e-05/0.3463, allocations: 12 kB / 499.3 MB, free: 11.03 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.449e-05/0.3463, allocations: 16 kB / 499.4 MB, free: 11.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009231/0.3472, allocations: 368.4 kB / 499.7 MB, free: 10.64 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001267/0.3485, allocations: 375.4 kB / 0.4884 GB, free: 10.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006809/0.3553, allocations: 7.707 MB / 0.4959 GB, free: 2.039 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001206/0.3565, allocations: 76.14 kB / 0.496 GB, free: 1.965 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001282/0.3567, allocations: 76.09 kB / 0.496 GB, free: 1.891 MB / 378.7 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.001498/0.3582, allocations: 1.009 MB / 0.497 GB, free: 0.8711 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003719/0.3586, allocations: 197.6 kB / 0.4972 GB, free: 0.6758 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1609/0.5195, allocations: 2.29 MB / 0.4994 GB, free: 93.62 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.096e-05/0.5195, allocations: 11.91 kB / 0.4995 GB, free: 93.62 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.456e-05/0.5195, allocations: 7.938 kB / 0.4995 GB, free: 93.62 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.595e-05/0.5196, allocations: 7.547 kB / 0.4995 GB, free: 93.61 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007953/0.5275, allocations: 5.082 MB / 0.5044 GB, free: 91.39 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.576e-06/0.5276, allocations: 0 / 0.5044 GB, free: 91.39 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007979/0.5284, allocations: 168.1 kB / 0.5046 GB, free: 91.38 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001328/0.5297, allocations: 0.5386 MB / 0.5051 GB, free: 91.2 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.921e-05/0.5298, allocations: 38.66 kB / 0.5052 GB, free: 91.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00955/0.5394, allocations: 12.07 MB / 0.5169 GB, free: 81.09 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.5394, allocations: 5.969 kB / 0.5169 GB, free: 81.09 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03298/0.5724, allocations: 27.51 MB / 0.5438 GB, free: 55.82 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009193/0.5734, allocations: 422.6 kB / 0.5442 GB, free: 55.38 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004105/0.5738, allocations: 39.98 kB / 0.5443 GB, free: 55.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001039/0.5749, allocations: 63.89 kB / 0.5443 GB, free: 55.28 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002959/0.5752, allocations: 109.2 kB / 0.5444 GB, free: 55.17 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.967e-05/0.5753, allocations: 35.84 kB / 0.5445 GB, free: 55.14 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001694/0.577, allocations: 1.222 MB / 0.5456 GB, free: 53.93 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.577, allocations: 0 / 0.5456 GB, free: 53.93 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002915/0.5799, allocations: 0.8072 MB / 0.5464 GB, free: 53.12 MB / 378.7 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.0003472/0.5803, allocations: 160.3 kB / 0.5466 GB, free: 52.96 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003111/0.5834, allocations: 2.342 MB / 0.5489 GB, free: 50.55 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.5834, allocations: 4.062 kB / 0.5489 GB, free: 50.55 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002112/0.5855, allocations: 1.762 MB / 0.5506 GB, free: 48.73 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002516/0.5881, allocations: 0.5164 MB / 0.5511 GB, free: 48.21 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0112/0.5993, allocations: 9.1 MB / 0.56 GB, free: 39.01 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002272/0.6016, allocations: 2.351 MB / 0.5623 GB, free: 36.64 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001567/0.6032, allocations: 409 kB / 0.5627 GB, free: 36.23 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003999/0.6036, allocations: 127.4 kB / 0.5628 GB, free: 36.11 MB / 378.7 MB Notification: Performance of SimCode: time 1.442e-06/0.6036, allocations: 0 / 0.5628 GB, free: 36.11 MB / 378.7 MB Notification: Performance of Templates: time 0.05042/0.654, allocations: 34.27 MB / 0.5963 GB, free: 2.234 MB / 378.7 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@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Steinmetz/IMC_Steinmetz.csv","../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