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.00147/0.00147, allocations: 115.7 kB / 17.74 MB, free: 5.297 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.001817/0.001817, allocations: 189.6 kB / 18.67 MB, free: 4.375 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.353/1.353, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001148/0.001148, allocations: 47.91 kB / 352 MB, free: 3.223 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2474/0.2486, allocations: 49.44 MB / 401.4 MB, free: 8.73 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.01383/0.2624, allocations: 12.8 MB / 414.2 MB, free: 11.98 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008604/0.2711, allocations: 4.253 MB / 418.5 MB, free: 7.719 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002368/0.2735, allocations: 79.69 kB / 418.6 MB, free: 7.641 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003113/0.2766, allocations: 0.9744 MB / 419.5 MB, free: 6.664 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004259/0.2809, allocations: 1.274 MB / 420.8 MB, free: 5.383 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002134/0.2831, allocations: 0.8451 MB / 421.7 MB, free: 4.539 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004834/0.2879, allocations: 3.868 MB / 425.5 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003638/0.2916, allocations: 3.22 MB / 428.7 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002746/0.2944, allocations: 1.858 MB / 430.6 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00312/0.2975, allocations: 2.055 MB / 432.7 MB, free: 9.438 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008682/0.2984, allocations: 0.5 MB / 433.2 MB, free: 8.938 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001627/0.3, allocations: 0.6989 MB / 433.9 MB, free: 8.238 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009114/0.301, allocations: 1.106 MB / 435 MB, free: 7.129 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002363/0.3033, allocations: 2.073 MB / 437 MB, free: 5.047 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006555/0.3099, allocations: 6.598 MB / 443.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.3099, allocations: 0 / 443.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.3099, allocations: 0 / 443.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001525/0.3101, allocations: 0 / 443.6 MB, free: 14.43 MB / 366.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.01188/0.322, allocations: 4.308 MB / 447.9 MB, free: 10.05 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.3221, allocations: 8.031 kB / 448 MB, free: 10.04 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004256/0.3263, allocations: 0.8047 MB / 448.8 MB, free: 9.234 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004382/0.3307, allocations: 2.391 MB / 451.1 MB, free: 6.785 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001736/0.3309, allocations: 238.4 kB / 451.4 MB, free: 6.551 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005999/0.3315, allocations: 304 kB / 451.7 MB, free: 6.254 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007793/0.3393, allocations: 4.23 MB / 455.9 MB, free: 1.973 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.405e-05/0.3394, allocations: 11.84 kB / 455.9 MB, free: 1.961 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003009/0.3397, allocations: 124 kB / 456 MB, free: 1.84 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000141/0.3399, allocations: 150.3 kB / 456.2 MB, free: 1.691 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006737/0.3466, allocations: 3.609 MB / 459.8 MB, free: 14.07 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02396/0.3706, allocations: 13 MB / 472.8 MB, free: 0.7383 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00757/0.3782, allocations: 6.904 MB / 479.7 MB, free: 8.941 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002403/0.3807, allocations: 1.339 MB / 481 MB, free: 7.602 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006916/0.3876, allocations: 3.734 MB / 484.8 MB, free: 3.773 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.051e-05/0.3877, allocations: 43.56 kB / 484.8 MB, free: 3.719 MB / 398.1 MB Notification: Performance of pre-optimization done (n=120): time 2.816e-06/0.3877, allocations: 0 / 484.8 MB, free: 3.719 MB / 398.1 MB Notification: Performance of matching and sorting (n=123): time 0.0112/0.3989, allocations: 5.392 MB / 490.2 MB, free: 14.12 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.561e-05/0.399, allocations: 64.41 kB / 490.3 MB, free: 14.05 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002926/0.4019, allocations: 1.697 MB / 492 MB, free: 12.34 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001416/0.4021, allocations: 45.7 kB / 492 MB, free: 12.29 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000983/0.4031, allocations: 1.403 MB / 493.4 MB, free: 10.88 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004125/0.4035, allocations: 433.8 kB / 493.8 MB, free: 10.45 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005153/0.404, allocations: 283.3 kB / 494.1 MB, free: 10.16 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.801e-05/0.4041, allocations: 309.1 kB / 494.4 MB, free: 9.859 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001153/0.4053, allocations: 0.6403 MB / 495.1 MB, free: 9.219 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00149/0.4068, allocations: 1.113 MB / 496.2 MB, free: 7.906 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00268/0.4095, allocations: 1.878 MB / 498.1 MB, free: 5.824 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-05/0.4095, allocations: 7.938 kB / 498.1 MB, free: 5.816 MB / 414.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004048/0.4136, allocations: 2.319 MB / 0.4887 GB, free: 3.457 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.084e-05/0.4136, allocations: 12 kB / 0.4887 GB, free: 3.445 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.362e-05/0.4137, allocations: 16 kB / 0.4887 GB, free: 3.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007289/0.4144, allocations: 275.1 kB / 0.4889 GB, free: 3.148 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001351/0.4158, allocations: 355.5 kB / 0.4893 GB, free: 2.801 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005777/0.4215, allocations: 6.194 MB / 0.4953 GB, free: 12.19 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001395/0.423, allocations: 71.88 kB / 0.4954 GB, free: 12.12 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001896/0.4232, allocations: 67.98 kB / 0.4955 GB, free: 12.05 MB / 430.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.001805/0.425, allocations: 1.005 MB / 0.4964 GB, free: 11.04 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004309/0.4254, allocations: 173.8 kB / 0.4966 GB, free: 10.86 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00401/0.4294, allocations: 2.135 MB / 0.4987 GB, free: 8.66 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.261e-05/0.4295, allocations: 16 kB / 0.4987 GB, free: 8.645 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.762e-05/0.4295, allocations: 4 kB / 0.4987 GB, free: 8.641 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.582e-05/0.4295, allocations: 3.984 kB / 0.4987 GB, free: 8.637 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008268/0.4378, allocations: 4.826 MB / 0.5034 GB, free: 3.676 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.085e-06/0.4379, allocations: 4.188 kB / 0.5034 GB, free: 3.672 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007913/0.4387, allocations: 167.8 kB / 0.5036 GB, free: 3.508 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001251/0.4399, allocations: 455.9 kB / 0.504 GB, free: 3.047 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001053/0.44, allocations: 35.98 kB / 0.5041 GB, free: 3.012 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01058/0.4506, allocations: 11.03 MB / 0.5148 GB, free: 7.289 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.172e-06/0.4507, allocations: 8.031 kB / 0.5148 GB, free: 7.281 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005288/0.456, allocations: 3.01 MB / 0.5178 GB, free: 4.184 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000932/0.4569, allocations: 402.7 kB / 0.5182 GB, free: 3.77 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000442/0.4574, allocations: 35.98 kB / 0.5182 GB, free: 3.734 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001113/0.4585, allocations: 67.95 kB / 0.5183 GB, free: 3.668 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002696/0.4588, allocations: 96.73 kB / 0.5184 GB, free: 3.574 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.852e-05/0.4589, allocations: 39.98 kB / 0.5184 GB, free: 3.535 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002051/0.461, allocations: 1.17 MB / 0.5195 GB, free: 2.371 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.461, allocations: 0 / 0.5195 GB, free: 2.371 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002206/0.4632, allocations: 0.5352 MB / 0.5201 GB, free: 1.836 MB / 446.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.0003378/0.4635, allocations: 166.8 kB / 0.5202 GB, free: 1.664 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003421/0.467, allocations: 2.089 MB / 0.5223 GB, free: 15.52 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/0.467, allocations: 3.938 kB / 0.5223 GB, free: 15.51 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002319/0.4693, allocations: 1.522 MB / 0.5237 GB, free: 13.92 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0026/0.4719, allocations: 0.5001 MB / 0.5242 GB, free: 13.43 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009757/0.4817, allocations: 5.439 MB / 0.5295 GB, free: 7.938 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002384/0.4841, allocations: 2.227 MB / 0.5317 GB, free: 5.684 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005638/0.4847, allocations: 135.4 kB / 0.5319 GB, free: 5.551 MB / 462.1 MB Notification: Performance of SimCode: time 8.52e-07/0.4847, allocations: 0 / 0.5319 GB, free: 5.551 MB / 462.1 MB Notification: Performance of Templates: time 0.281/0.7658, allocations: 109.2 MB / 0.6385 GB, free: 34.08 MB / 462.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