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.001058/0.001058, allocations: 108.1 kB / 17.06 MB, free: 6.023 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.001193/0.001193, allocations: 192 kB / 17.99 MB, free: 5.109 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.321/1.321, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001653/0.001653, allocations: 55.91 kB / 351.3 MB, free: 3.234 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2986/0.3003, allocations: 49.43 MB / 400.7 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.01325/0.3135, allocations: 12.81 MB / 413.6 MB, free: 12 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007873/0.3214, allocations: 4.257 MB / 417.8 MB, free: 7.727 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001878/0.3234, allocations: 75.75 kB / 417.9 MB, free: 7.652 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002374/0.3258, allocations: 0.9706 MB / 418.9 MB, free: 6.68 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003567/0.3294, allocations: 1.281 MB / 420.1 MB, free: 5.391 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001865/0.3313, allocations: 0.8373 MB / 421 MB, free: 4.555 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004161/0.3355, allocations: 3.879 MB / 424.9 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00325/0.3387, allocations: 3.213 MB / 428.1 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002316/0.3411, allocations: 1.85 MB / 429.9 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002633/0.3437, allocations: 2.067 MB / 432 MB, free: 9.445 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005872/0.3443, allocations: 0.5039 MB / 432.5 MB, free: 8.941 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001242/0.3456, allocations: 0.6951 MB / 433.2 MB, free: 8.246 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008345/0.3464, allocations: 1.11 MB / 434.3 MB, free: 7.133 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001902/0.3483, allocations: 2.073 MB / 436.4 MB, free: 5.051 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006293/0.3546, allocations: 6.59 MB / 443 MB, free: 14.44 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.3546, allocations: 3.938 kB / 443 MB, free: 14.44 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.3547, allocations: 0 / 443 MB, free: 14.44 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001385/0.3548, allocations: 0 / 443 MB, free: 14.44 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.0109/0.3657, allocations: 4.312 MB / 447.3 MB, free: 10.05 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.3658, allocations: 11.89 kB / 447.3 MB, free: 10.04 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004182/0.37, allocations: 0.8008 MB / 448.1 MB, free: 9.238 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004305/0.3743, allocations: 2.376 MB / 450.5 MB, free: 6.805 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001766/0.3745, allocations: 246.3 kB / 450.7 MB, free: 6.562 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005202/0.375, allocations: 304 kB / 451 MB, free: 6.266 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007219/0.3822, allocations: 4.227 MB / 455.2 MB, free: 1.988 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.336e-05/0.3823, allocations: 7.906 kB / 455.2 MB, free: 1.98 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002906/0.3826, allocations: 124 kB / 455.4 MB, free: 1.859 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001333/0.3828, allocations: 150.3 kB / 455.5 MB, free: 1.711 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005951/0.3887, allocations: 3.612 MB / 459.1 MB, free: 14.09 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02002/0.4088, allocations: 13.01 MB / 472.1 MB, free: 0.75 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006502/0.4153, allocations: 6.904 MB / 479 MB, free: 8.953 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002093/0.4174, allocations: 1.339 MB / 480.4 MB, free: 7.613 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006563/0.424, allocations: 3.728 MB / 484.1 MB, free: 3.793 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.299e-05/0.4241, allocations: 43.56 kB / 484.1 MB, free: 3.738 MB / 398.1 MB Notification: Performance of pre-optimization done (n=120): time 3.266e-06/0.4241, allocations: 0 / 484.1 MB, free: 3.738 MB / 398.1 MB Notification: Performance of matching and sorting (n=123): time 0.0112/0.4353, allocations: 5.396 MB / 489.5 MB, free: 14.14 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.927e-05/0.4354, allocations: 64.41 kB / 489.6 MB, free: 14.06 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002612/0.438, allocations: 1.697 MB / 491.3 MB, free: 12.36 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001023/0.4381, allocations: 45.7 kB / 491.3 MB, free: 12.31 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000907/0.439, allocations: 1.411 MB / 492.7 MB, free: 10.88 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000339/0.4394, allocations: 429.8 kB / 493.2 MB, free: 10.46 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004274/0.4398, allocations: 283.3 kB / 493.4 MB, free: 10.18 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.238e-05/0.4399, allocations: 309 kB / 493.7 MB, free: 9.871 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001065/0.441, allocations: 0.6442 MB / 494.4 MB, free: 9.227 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001323/0.4423, allocations: 1.109 MB / 495.5 MB, free: 7.918 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002486/0.4448, allocations: 1.871 MB / 497.4 MB, free: 5.844 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.919e-06/0.4448, allocations: 4 kB / 497.4 MB, free: 5.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.003753/0.4486, allocations: 2.331 MB / 499.7 MB, free: 3.469 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.549e-05/0.4486, allocations: 12 kB / 499.7 MB, free: 3.457 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.229e-05/0.4486, allocations: 12 kB / 499.7 MB, free: 3.445 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00069/0.4493, allocations: 267.5 kB / 500 MB, free: 3.172 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001277/0.4506, allocations: 355.4 kB / 0.4886 GB, free: 2.824 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00539/0.456, allocations: 6.209 MB / 0.4947 GB, free: 12.2 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00132/0.4574, allocations: 80.02 kB / 0.4947 GB, free: 12.12 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001573/0.4575, allocations: 64 kB / 0.4948 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.001828/0.4594, allocations: 1.001 MB / 0.4958 GB, free: 11.04 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004686/0.4599, allocations: 177.8 kB / 0.496 GB, free: 10.87 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003887/0.4638, allocations: 2.123 MB / 0.498 GB, free: 8.676 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.535e-05/0.4638, allocations: 15.98 kB / 0.498 GB, free: 8.66 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.151e-05/0.4638, allocations: 11.94 kB / 0.4981 GB, free: 8.648 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.437e-05/0.4638, allocations: 7.969 kB / 0.4981 GB, free: 8.641 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008171/0.472, allocations: 4.83 MB / 0.5028 GB, free: 3.676 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/0.472, allocations: 0 / 0.5028 GB, free: 3.676 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007786/0.4728, allocations: 167.8 kB / 0.5029 GB, free: 3.512 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001184/0.474, allocations: 448.2 kB / 0.5034 GB, free: 3.059 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.939e-05/0.4741, allocations: 35.98 kB / 0.5034 GB, free: 3.023 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009904/0.484, allocations: 11.03 MB / 0.5142 GB, free: 7.301 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.4841, allocations: 4.031 kB / 0.5142 GB, free: 7.297 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005033/0.4891, allocations: 3.002 MB / 0.5171 GB, free: 4.207 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008851/0.49, allocations: 410.7 kB / 0.5175 GB, free: 3.785 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004482/0.4905, allocations: 28 kB / 0.5175 GB, free: 3.758 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001059/0.4916, allocations: 67.94 kB / 0.5176 GB, free: 3.691 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002709/0.4919, allocations: 104.7 kB / 0.5177 GB, free: 3.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.841e-05/0.492, allocations: 32 kB / 0.5177 GB, free: 3.559 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002108/0.4941, allocations: 1.178 MB / 0.5189 GB, free: 2.387 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.4941, allocations: 0 / 0.5189 GB, free: 2.387 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002274/0.4964, allocations: 0.539 MB / 0.5194 GB, free: 1.848 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.0003948/0.4968, allocations: 173.2 kB / 0.5196 GB, free: 1.672 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003901/0.5007, allocations: 2.08 MB / 0.5216 GB, free: 15.54 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.543e-06/0.5007, allocations: 0 / 0.5216 GB, free: 15.54 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002453/0.5032, allocations: 1.524 MB / 0.5231 GB, free: 13.95 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003193/0.5064, allocations: 0.5007 MB / 0.5236 GB, free: 13.45 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01275/0.5191, allocations: 5.464 MB / 0.5289 GB, free: 7.938 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002849/0.522, allocations: 2.281 MB / 0.5311 GB, free: 5.629 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.00152/0.5236, allocations: 383.7 kB / 0.5315 GB, free: 5.25 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005029/0.5241, allocations: 123.4 kB / 0.5316 GB, free: 5.129 MB / 462.1 MB Notification: Performance of SimCode: time 1.173e-06/0.5241, allocations: 0 / 0.5316 GB, free: 5.129 MB / 462.1 MB Notification: Performance of Templates: time 0.2528/0.7769, allocations: 28.03 MB / 0.559 GB, free: 116 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/jenkins/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/jenkins/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