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.001478/0.001477, allocations: 106.3 kB / 17.16 MB, free: 6.324 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.001963/0.001963, allocations: 198.9 kB / 18.08 MB, free: 5.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.132/2.132, allocations: 222.9 MB / 241.7 MB, free: 15.32 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001527/0.001527, allocations: 43.59 kB / 300.6 MB, free: 6.273 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1741/0.1757, allocations: 49.46 MB / 350.1 MB, free: 4.801 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.02495/0.2007, allocations: 12.66 MB / 362.7 MB, free: 8.066 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01466/0.2155, allocations: 4.213 MB / 367 MB, free: 3.84 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004052/0.2196, allocations: 71.75 kB / 367 MB, free: 3.77 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005102/0.2247, allocations: 0.8474 MB / 367.9 MB, free: 2.918 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007991/0.2329, allocations: 1.159 MB / 369 MB, free: 1.754 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004806/0.2377, allocations: 0.7948 MB / 369.8 MB, free: 0.9609 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.3467/0.5844, allocations: 4.13 MB / 374 MB, free: 10.55 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008776/0.5932, allocations: 2.686 MB / 376.6 MB, free: 9.977 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00547/0.5988, allocations: 1.458 MB / 378.1 MB, free: 9.77 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006296/0.6051, allocations: 1.892 MB / 380 MB, free: 9.418 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002386/0.6076, allocations: 291.7 kB / 380.3 MB, free: 9.418 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004295/0.6119, allocations: 499.2 kB / 380.8 MB, free: 9.418 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003127/0.6151, allocations: 0.8781 MB / 381.6 MB, free: 9.293 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008156/0.6233, allocations: 1.839 MB / 383.5 MB, free: 8.406 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01166/0.635, allocations: 5.569 MB / 389.1 MB, free: 6.242 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.288e-06/0.6351, allocations: 1.031 kB / 389.1 MB, free: 6.242 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.788e-06/0.6351, allocations: 0 / 389.1 MB, free: 6.242 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0003131/0.6354, allocations: 0 / 389.1 MB, free: 6.242 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.02278/0.6582, allocations: 4.296 MB / 393.4 MB, free: 3.371 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.861e-05/0.6583, allocations: 9.812 kB / 393.4 MB, free: 3.371 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008169/0.6665, allocations: 0.8044 MB / 394.2 MB, free: 2.984 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00752/0.674, allocations: 2.284 MB / 396.4 MB, free: 1.383 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003216/0.6744, allocations: 228.5 kB / 396.7 MB, free: 1.281 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001648/0.6761, allocations: 317.4 kB / 397 MB, free: 1.176 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01594/0.692, allocations: 4.227 MB / 401.2 MB, free: 14.62 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001169/0.6922, allocations: 7.906 kB / 401.2 MB, free: 14.62 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005806/0.6928, allocations: 124 kB / 401.3 MB, free: 14.5 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000255/0.6931, allocations: 150.3 kB / 401.5 MB, free: 14.35 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01286/0.7059, allocations: 3.612 MB / 405.1 MB, free: 10.73 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04278/0.7488, allocations: 13.18 MB / 418.3 MB, free: 13.5 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009782/0.7586, allocations: 6.894 MB / 425.2 MB, free: 5.711 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004044/0.7627, allocations: 1.373 MB / 426.5 MB, free: 4.344 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00985/0.7726, allocations: 3.745 MB / 430.3 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.264e-05/0.7727, allocations: 51.56 kB / 430.3 MB, free: 0.5 MB / 334.1 MB Notification: Performance of pre-optimization done (n=120): time 4.458e-06/0.7728, allocations: 0 / 430.3 MB, free: 0.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=123): time 0.01872/0.7915, allocations: 5.379 MB / 435.7 MB, free: 10.95 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001116/0.7917, allocations: 64.41 kB / 435.8 MB, free: 10.87 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008091/0.7998, allocations: 1.705 MB / 437.5 MB, free: 9.16 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004641/0.8003, allocations: 49.7 kB / 437.5 MB, free: 9.105 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002265/0.8026, allocations: 1.398 MB / 438.9 MB, free: 7.695 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001274/0.8039, allocations: 439 kB / 439.4 MB, free: 7.273 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001559/0.8055, allocations: 283.3 kB / 439.6 MB, free: 6.992 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001641/0.8057, allocations: 301.1 kB / 439.9 MB, free: 6.695 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002636/0.8084, allocations: 0.6403 MB / 440.6 MB, free: 6.055 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00295/0.8113, allocations: 1.118 MB / 441.7 MB, free: 4.742 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004044/0.8154, allocations: 1.871 MB / 443.6 MB, free: 2.73 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.14e-05/0.8155, allocations: 4 kB / 443.6 MB, free: 2.727 MB / 350.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.00552/0.821, allocations: 2.333 MB / 445.9 MB, free: 460 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.064e-05/0.8211, allocations: 12 kB / 445.9 MB, free: 448 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.1e-05/0.8212, allocations: 16 kB / 445.9 MB, free: 432 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008938/0.8221, allocations: 271.5 kB / 446.2 MB, free: 152 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002152/0.8242, allocations: 356.3 kB / 446.5 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009687/0.8339, allocations: 5.68 MB / 452.2 MB, free: 9.777 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003322/0.8373, allocations: 76.02 kB / 452.3 MB, free: 9.703 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005593/0.8379, allocations: 75.98 kB / 452.4 MB, free: 9.629 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.004108/0.8421, allocations: 0.9969 MB / 453.4 MB, free: 8.645 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001191/0.8433, allocations: 177.8 kB / 453.5 MB, free: 8.469 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007992/0.8513, allocations: 2.13 MB / 455.7 MB, free: 6.281 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.414e-05/0.8514, allocations: 12 kB / 455.7 MB, free: 6.27 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.396e-05/0.8515, allocations: 8 kB / 455.7 MB, free: 6.262 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-05/0.8515, allocations: 7.969 kB / 455.7 MB, free: 6.254 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01986/0.8714, allocations: 4.828 MB / 460.5 MB, free: 1.312 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.869e-05/0.8715, allocations: 4.125 kB / 460.5 MB, free: 1.309 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001832/0.8733, allocations: 171.8 kB / 460.7 MB, free: 1.141 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002763/0.8761, allocations: 454.7 kB / 461.1 MB, free: 0.6836 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002189/0.8764, allocations: 31.98 kB / 461.2 MB, free: 0.6523 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02142/0.8978, allocations: 10.1 MB / 471.3 MB, free: 5.902 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.722e-06/0.8979, allocations: 32 / 471.3 MB, free: 5.902 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01112/0.909, allocations: 3.008 MB / 474.3 MB, free: 2.801 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002424/0.9115, allocations: 410.7 kB / 474.7 MB, free: 2.379 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001045/0.9126, allocations: 31.98 kB / 474.7 MB, free: 2.348 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002477/0.9151, allocations: 59.95 kB / 474.8 MB, free: 2.289 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005533/0.9157, allocations: 100.8 kB / 474.9 MB, free: 2.191 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001898/0.9159, allocations: 35.98 kB / 474.9 MB, free: 2.156 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.004543/0.9205, allocations: 1.178 MB / 476.1 MB, free: 0.9844 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.493e-06/0.9205, allocations: 0 / 476.1 MB, free: 0.9844 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.005445/0.926, allocations: 0.5352 MB / 476.6 MB, free: 460 kB / 382.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.0008479/0.9269, allocations: 176.5 kB / 476.8 MB, free: 280 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.007392/0.9343, allocations: 2.077 MB / 478.9 MB, free: 14.14 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.505e-06/0.9344, allocations: 4.812 kB / 478.9 MB, free: 14.13 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005144/0.9395, allocations: 1.518 MB / 480.4 MB, free: 12.55 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006543/0.9461, allocations: 476.9 kB / 480.9 MB, free: 12.09 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02471/0.9708, allocations: 6.818 MB / 487.7 MB, free: 5.23 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005388/0.9763, allocations: 2.231 MB / 489.9 MB, free: 2.969 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001321/0.9777, allocations: 131.4 kB / 490 MB, free: 2.84 MB / 398.1 MB Notification: Performance of SimCode: time 2.805e-06/0.9778, allocations: 0 / 490 MB, free: 2.84 MB / 398.1 MB Notification: Performance of Templates: time 0.5126/1.49, allocations: 108.9 MB / 0.5849 GB, free: 110.7 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