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_Inverter.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_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.is.1.|aimc.is.2.|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|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.is.1.|aimc.is.2.|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|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001277/0.001277, allocations: 174.6 kB / 17.4 MB, free: 4.414 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.233/1.233, allocations: 223.3 MB / 241.4 MB, free: 9.969 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.0007751/0.0007752, allocations: 90.88 kB / 292.6 MB, free: 10.56 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002992/0.0002997, allocations: 15.94 kB / 352.4 MB, free: 14.79 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1936/0.1939, allocations: 50.4 MB / 402.8 MB, free: 32.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1129/0.3069, allocations: 109.1 MB / 0.4999 GB, free: 3.148 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002645/0.3072, allocations: 100.9 kB / 0.5 GB, free: 3.051 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3048/0.612, allocations: 79.49 MB / 0.5776 GB, free: 36.96 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.612, allocations: 0 / 0.5776 GB, free: 36.96 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002194/0.6123, allocations: 79.88 kB / 0.5777 GB, free: 36.89 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 822 * Number of variables: 822 Notification: Performance of Generate backend data structure: time 0.008154/0.6204, allocations: 3.427 MB / 0.581 GB, free: 33.39 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/0.6205, allocations: 8.031 kB / 0.581 GB, free: 33.38 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003237/0.6237, allocations: 0.7267 MB / 0.5817 GB, free: 32.65 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004033/0.6277, allocations: 2.664 MB / 0.5843 GB, free: 29.93 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001165/0.6279, allocations: 234.6 kB / 0.5846 GB, free: 29.7 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003725/0.6283, allocations: 320.3 kB / 0.5849 GB, free: 29.38 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005499/0.6338, allocations: 4.157 MB / 0.5889 GB, free: 25.11 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.807e-05/0.6339, allocations: 0 / 0.5889 GB, free: 25.11 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002646/0.6341, allocations: 135.9 kB / 0.5891 GB, free: 24.98 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.255e-05/0.6342, allocations: 142.3 kB / 0.5892 GB, free: 24.84 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004749/0.639, allocations: 3.414 MB / 0.5925 GB, free: 21.42 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01474/0.6537, allocations: 13.24 MB / 0.6055 GB, free: 7.848 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004723/0.6585, allocations: 6.914 MB / 0.6122 GB, free: 32 kB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00212/0.6606, allocations: 1.376 MB / 0.6136 GB, free: 14.66 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005814/0.6664, allocations: 3.75 MB / 0.6172 GB, free: 10.81 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.459e-05/0.6665, allocations: 55.5 kB / 0.6173 GB, free: 10.75 MB / 394.7 MB Notification: Performance of pre-optimization done (n=120): time 3.046e-06/0.6665, allocations: 0 / 0.6173 GB, free: 10.75 MB / 394.7 MB Notification: Performance of matching and sorting (n=123): time 0.01013/0.6767, allocations: 5.415 MB / 0.6226 GB, free: 5.133 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.703e-05/0.6767, allocations: 64.41 kB / 0.6226 GB, free: 5.059 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002252/0.679, allocations: 1.674 MB / 0.6243 GB, free: 3.379 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.921e-05/0.6791, allocations: 45.7 kB / 0.6243 GB, free: 3.328 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009514/0.68, allocations: 1.407 MB / 0.6257 GB, free: 1.902 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003252/0.6804, allocations: 437.7 kB / 0.6261 GB, free: 1.469 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.489e-05/0.6804, allocations: 32 kB / 0.6261 GB, free: 1.438 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001623/0.6806, allocations: 369.9 kB / 0.6265 GB, free: 1.07 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001064/0.6817, allocations: 0.648 MB / 0.6271 GB, free: 436 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001377/0.6831, allocations: 1.109 MB / 0.6282 GB, free: 15.11 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002622/0.6857, allocations: 1.875 MB / 0.63 GB, free: 13.04 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.175e-06/0.6857, allocations: 4 kB / 0.63 GB, free: 13.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.003799/0.6895, allocations: 2.331 MB / 0.6323 GB, free: 10.66 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.071e-05/0.6896, allocations: 12 kB / 0.6323 GB, free: 10.65 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.982e-05/0.6896, allocations: 12 kB / 0.6323 GB, free: 10.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000669/0.6903, allocations: 263.6 kB / 0.6326 GB, free: 10.37 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001259/0.6916, allocations: 359.4 kB / 0.6329 GB, free: 10.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005315/0.6969, allocations: 5.695 MB / 0.6385 GB, free: 3.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001126/0.698, allocations: 79.86 kB / 0.6386 GB, free: 3.852 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001199/0.6982, allocations: 76.11 kB / 0.6386 GB, free: 3.777 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (180): * Single equations (assignments): 176 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 5,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001828/0.7, allocations: 0.9969 MB / 0.6396 GB, free: 2.77 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002904/0.7003, allocations: 177.8 kB / 0.6398 GB, free: 2.594 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003758/0.704, allocations: 2.138 MB / 0.6419 GB, free: 396 kB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.041e-05/0.7041, allocations: 12 kB / 0.6419 GB, free: 384 kB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.198e-05/0.7041, allocations: 8 kB / 0.6419 GB, free: 376 kB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.404e-05/0.7041, allocations: 3.984 kB / 0.6419 GB, free: 372 kB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008417/0.7125, allocations: 4.822 MB / 0.6466 GB, free: 11.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.074e-06/0.7126, allocations: 4 kB / 0.6466 GB, free: 11.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007459/0.7133, allocations: 171.8 kB / 0.6468 GB, free: 11.23 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001108/0.7144, allocations: 459.7 kB / 0.6472 GB, free: 10.77 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-05/0.7145, allocations: 35.98 kB / 0.6472 GB, free: 10.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1846/0.8991, allocations: 10.08 MB / 0.6571 GB, free: 87.68 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/0.8992, allocations: 7.781 kB / 0.6571 GB, free: 87.68 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006929/0.9061, allocations: 3.02 MB / 0.66 GB, free: 87.26 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001125/0.9073, allocations: 401.1 kB / 0.6604 GB, free: 87.16 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004905/0.9078, allocations: 42.38 kB / 0.6605 GB, free: 87.16 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001302/0.9091, allocations: 75.62 kB / 0.6605 GB, free: 87.16 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000307/0.9094, allocations: 100 kB / 0.6606 GB, free: 87.16 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000109/0.9095, allocations: 33 kB / 0.6607 GB, free: 87.16 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00213/0.9117, allocations: 1.147 MB / 0.6618 GB, free: 87.05 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.9117, allocations: 0 / 0.6618 GB, free: 87.05 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002765/0.9145, allocations: 0.5795 MB / 0.6623 GB, free: 87.05 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (aimc.inertiaRotor.phi,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,vfController.x,loadInertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 8,(1,100.0%) 13,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006022/0.9151, allocations: 361.7 kB / 0.6627 GB, free: 86.96 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003637/0.9187, allocations: 2.082 MB / 0.6647 GB, free: 86.5 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.9187, allocations: 0 / 0.6647 GB, free: 86.5 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002454/0.9212, allocations: 1.538 MB / 0.6662 GB, free: 85.92 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002173/0.9234, allocations: 486.4 kB / 0.6667 GB, free: 85.91 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007012/0.9304, allocations: 6.634 MB / 0.6732 GB, free: 83.09 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001519/0.9319, allocations: 2.279 MB / 0.6754 GB, free: 82.32 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001162/0.9331, allocations: 386.4 kB / 0.6758 GB, free: 82.27 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002616/0.9334, allocations: 122.3 kB / 0.6759 GB, free: 82.27 MB / 426.7 MB Notification: Performance of SimCode: time 3.81e-07/0.9334, allocations: 0 / 0.6759 GB, free: 82.27 MB / 426.7 MB Notification: Performance of Templates: time 0.03663/0.97, allocations: 28.45 MB / 0.7037 GB, free: 80.91 MB / 426.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Inverter/IMC_Inverter.csv","../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches