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/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001175/0.001175, allocations: 104 kB / 17.59 MB, free: 5.559 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.001232/0.001232, allocations: 191.5 kB / 18.51 MB, free: 4.641 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.373/1.373, allocations: 222.9 MB / 242.2 MB, free: 15.19 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00114/0.001141, allocations: 44.11 kB / 301.3 MB, free: 5.848 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09422/0.09538, allocations: 49.44 MB / 350.7 MB, free: 4.398 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.01409/0.1095, allocations: 12.82 MB / 363.6 MB, free: 7.508 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008291/0.1178, allocations: 4.248 MB / 367.8 MB, free: 3.246 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002231/0.1201, allocations: 71.75 kB / 367.9 MB, free: 3.176 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003033/0.1232, allocations: 0.9746 MB / 368.9 MB, free: 2.195 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004296/0.1275, allocations: 1.285 MB / 370.1 MB, free: 0.9062 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002311/0.1298, allocations: 0.8417 MB / 371 MB, free: 64 kB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.188/0.3178, allocations: 3.849 MB / 374.8 MB, free: 11.42 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004092/0.322, allocations: 3.221 MB / 378 MB, free: 10.79 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003809/0.3258, allocations: 1.828 MB / 379.9 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004458/0.3303, allocations: 2.059 MB / 381.9 MB, free: 9.586 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001725/0.3321, allocations: 0.4988 MB / 382.4 MB, free: 9.586 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003128/0.3352, allocations: 0.706 MB / 383.1 MB, free: 9.535 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001647/0.3369, allocations: 1.102 MB / 384.2 MB, free: 8.852 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004948/0.3418, allocations: 2.074 MB / 386.3 MB, free: 7.484 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008319/0.3502, allocations: 6.55 MB / 392.9 MB, free: 4.723 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.3502, allocations: 0 / 392.9 MB, free: 4.723 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.053e-06/0.3502, allocations: 0 / 392.9 MB, free: 4.723 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001897/0.3504, allocations: 1.375 kB / 392.9 MB, free: 4.723 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: 822 * Number of variables: 822 Notification: Performance of Generate backend data structure: time 0.01351/0.364, allocations: 4.308 MB / 397.2 MB, free: 1.844 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.364, allocations: 13.62 kB / 397.2 MB, free: 1.84 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004825/0.3689, allocations: 0.8085 MB / 398 MB, free: 1.453 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004719/0.3736, allocations: 2.32 MB / 400.3 MB, free: 15.83 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000192/0.3738, allocations: 234.8 kB / 400.5 MB, free: 15.72 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008023/0.3746, allocations: 311.2 kB / 400.9 MB, free: 15.58 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008769/0.3834, allocations: 4.226 MB / 405.1 MB, free: 11.31 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.463e-05/0.3836, allocations: 8 kB / 405.1 MB, free: 11.3 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003421/0.3839, allocations: 127 kB / 405.2 MB, free: 11.18 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001548/0.3841, allocations: 150.3 kB / 405.4 MB, free: 11.03 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007464/0.3915, allocations: 3.604 MB / 409 MB, free: 7.422 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02482/0.4164, allocations: 13.18 MB / 422.1 MB, free: 10.18 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007161/0.4236, allocations: 6.898 MB / 429 MB, free: 2.402 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002552/0.4262, allocations: 1.37 MB / 430.4 MB, free: 1.035 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007236/0.4335, allocations: 3.749 MB / 434.2 MB, free: 13.25 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.181e-05/0.4335, allocations: 47.56 kB / 434.2 MB, free: 13.19 MB / 350.1 MB Notification: Performance of pre-optimization done (n=120): time 3.055e-06/0.4336, allocations: 0 / 434.2 MB, free: 13.19 MB / 350.1 MB Notification: Performance of matching and sorting (n=123): time 0.01185/0.4454, allocations: 5.386 MB / 439.6 MB, free: 7.633 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.942e-05/0.4455, allocations: 72.39 kB / 439.7 MB, free: 7.547 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003274/0.4488, allocations: 1.694 MB / 441.4 MB, free: 5.848 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001906/0.449, allocations: 49.7 kB / 441.4 MB, free: 5.793 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001106/0.4501, allocations: 1.405 MB / 442.8 MB, free: 4.375 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004629/0.4506, allocations: 435.6 kB / 443.2 MB, free: 3.953 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005417/0.4511, allocations: 283.3 kB / 443.5 MB, free: 3.672 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.4513, allocations: 301.1 kB / 443.8 MB, free: 3.375 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001274/0.4526, allocations: 0.6441 MB / 444.4 MB, free: 2.73 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001578/0.4541, allocations: 1.112 MB / 445.6 MB, free: 1.422 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003237/0.4574, allocations: 1.874 MB / 447.4 MB, free: 15.41 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.37e-05/0.4574, allocations: 4 kB / 447.4 MB, free: 15.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.005015/0.4625, allocations: 2.327 MB / 449.8 MB, free: 13.13 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.567e-05/0.4625, allocations: 8 kB / 449.8 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.896e-05/0.4627, allocations: 19.94 kB / 449.8 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009163/0.4636, allocations: 275 kB / 450.1 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001561/0.4652, allocations: 352.6 kB / 450.4 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00729/0.4725, allocations: 6.201 MB / 456.6 MB, free: 5.926 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001853/0.4744, allocations: 83.95 kB / 456.7 MB, free: 5.844 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003059/0.4747, allocations: 64 kB / 456.8 MB, free: 5.781 MB / 366.1 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 (not torn): 1 * Torn equation systems: 3 * 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): 3 systems {(1,1,100.0%), (1,5,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002398/0.4771, allocations: 0.9983 MB / 457.7 MB, free: 4.797 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005749/0.4777, allocations: 181.8 kB / 457.9 MB, free: 4.617 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004549/0.4823, allocations: 2.125 MB / 460.1 MB, free: 2.449 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.94e-05/0.4823, allocations: 15.98 kB / 460.1 MB, free: 2.434 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.328e-05/0.4823, allocations: 8 kB / 460.1 MB, free: 2.426 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.512e-05/0.4824, allocations: 3.984 kB / 460.1 MB, free: 2.422 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01/0.4924, allocations: 4.84 MB / 464.9 MB, free: 13.47 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.05e-05/0.4924, allocations: 0 / 464.9 MB, free: 13.47 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008515/0.4933, allocations: 172 kB / 465.1 MB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001463/0.4948, allocations: 452 kB / 465.5 MB, free: 12.85 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001332/0.4949, allocations: 35.98 kB / 465.6 MB, free: 12.81 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01303/0.508, allocations: 11.05 MB / 476.6 MB, free: 1.09 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.508, allocations: 0 / 476.6 MB, free: 1.09 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005685/0.5137, allocations: 3.002 MB / 479.6 MB, free: 13.99 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001061/0.5148, allocations: 410.7 kB / 480 MB, free: 13.57 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004999/0.5153, allocations: 31.98 kB / 480 MB, free: 13.54 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00128/0.5166, allocations: 59.95 kB / 480.1 MB, free: 13.48 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002701/0.5169, allocations: 108.7 kB / 480.2 MB, free: 13.38 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.237e-05/0.517, allocations: 35.98 kB / 480.2 MB, free: 13.34 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002319/0.5193, allocations: 1.17 MB / 481.4 MB, free: 12.18 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5193, allocations: 4 kB / 481.4 MB, free: 12.17 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002442/0.5218, allocations: 0.5352 MB / 482 MB, free: 11.64 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (aimc.inertiaRotor.w,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.phi) * 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 (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,5,100.0%), (1,1,100.0%), (1,8,100.0%), (1,13,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.0003607/0.5221, allocations: 169.9 kB / 482.1 MB, free: 11.46 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004925/0.5271, allocations: 2.41 MB / 484.5 MB, free: 9 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.71e-06/0.5271, allocations: 4.188 kB / 484.5 MB, free: 8.996 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002532/0.5296, allocations: 1.526 MB / 486.1 MB, free: 7.402 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002825/0.5325, allocations: 0.5004 MB / 486.6 MB, free: 6.906 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01052/0.543, allocations: 5.511 MB / 492.1 MB, free: 1.355 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002429/0.5455, allocations: 2.227 MB / 494.3 MB, free: 15.1 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005343/0.546, allocations: 135.4 kB / 494.4 MB, free: 14.96 MB / 414.1 MB Notification: Performance of SimCode: time 7.91e-07/0.5461, allocations: 0 / 494.4 MB, free: 14.96 MB / 414.1 MB Notification: Performance of Templates: time 0.2668/0.8128, allocations: 109 MB / 0.5892 GB, free: 107 MB / 446.1 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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