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.0007724/0.0007723, allocations: 88.19 kB / 16.65 MB, free: 6.535 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.0008899/0.0008899, allocations: 175.7 kB / 17.56 MB, free: 6.18 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.319/1.319, allocations: 223.3 MB / 241.6 MB, free: 216 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000267/0.0002669, allocations: 7.938 kB / 301.4 MB, free: 6.137 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1075, allocations: 50.42 MB / 351.9 MB, free: 3.703 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.01266/0.1202, allocations: 12.03 MB / 363.9 MB, free: 7.605 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008162/0.1284, allocations: 4.155 MB / 368 MB, free: 3.438 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00232/0.1308, allocations: 67.75 kB / 368.1 MB, free: 3.371 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002827/0.1337, allocations: 0.8474 MB / 369 MB, free: 2.52 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004604/0.1383, allocations: 1.154 MB / 370.1 MB, free: 1.359 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0023/0.1406, allocations: 0.7689 MB / 370.9 MB, free: 0.5938 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1943/0.3349, allocations: 4.126 MB / 375 MB, free: 10.41 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003657/0.3386, allocations: 2.667 MB / 377.7 MB, free: 9.809 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0024/0.341, allocations: 1.266 MB / 378.9 MB, free: 9.594 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002578/0.3436, allocations: 1.657 MB / 380.6 MB, free: 9.238 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005207/0.3442, allocations: 201.5 kB / 380.8 MB, free: 9.238 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001369/0.3455, allocations: 412.5 kB / 381.2 MB, free: 9.238 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000716/0.3463, allocations: 0.7486 MB / 381.9 MB, free: 9.113 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002443/0.3487, allocations: 1.708 MB / 383.7 MB, free: 8.578 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006629/0.3554, allocations: 6.171 MB / 389.8 MB, free: 6.246 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3554, allocations: 5.344 kB / 389.8 MB, free: 6.242 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.3554, allocations: 0 / 389.8 MB, free: 6.242 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001532/0.3556, allocations: 0 / 389.8 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.01028/0.3659, allocations: 3.655 MB / 393.5 MB, free: 3.855 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.3659, allocations: 8.25 kB / 393.5 MB, free: 3.855 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004976/0.3709, allocations: 0.8042 MB / 394.3 MB, free: 3.473 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004243/0.3752, allocations: 2.282 MB / 396.6 MB, free: 1.875 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001531/0.3753, allocations: 232.1 kB / 396.8 MB, free: 1.77 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005362/0.3759, allocations: 311.1 kB / 397.1 MB, free: 1.668 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007348/0.3832, allocations: 4.247 MB / 401.4 MB, free: 14.81 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.095e-05/0.3833, allocations: 0 / 401.4 MB, free: 14.81 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003223/0.3837, allocations: 128 kB / 401.5 MB, free: 14.69 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001566/0.3838, allocations: 150.3 kB / 401.6 MB, free: 14.54 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006735/0.3906, allocations: 3.628 MB / 405.3 MB, free: 10.91 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02175/0.4124, allocations: 13.24 MB / 418.5 MB, free: 13.61 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006949/0.4194, allocations: 6.91 MB / 425.4 MB, free: 5.805 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002383/0.4218, allocations: 1.382 MB / 426.8 MB, free: 4.426 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006357/0.4281, allocations: 3.745 MB / 430.5 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.834e-05/0.4282, allocations: 59.22 kB / 430.6 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of pre-optimization done (n=120): time 2.645e-06/0.4282, allocations: 0 / 430.6 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of matching and sorting (n=123): time 0.01152/0.4397, allocations: 5.45 MB / 436 MB, free: 10.95 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.02e-05/0.4398, allocations: 64.41 kB / 436.1 MB, free: 10.88 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002787/0.4426, allocations: 1.705 MB / 437.8 MB, free: 9.164 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001141/0.4427, allocations: 45.7 kB / 437.9 MB, free: 9.113 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009951/0.4437, allocations: 1.404 MB / 439.3 MB, free: 7.695 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003607/0.4441, allocations: 432.2 kB / 439.7 MB, free: 7.277 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001939/0.4443, allocations: 129.6 kB / 439.8 MB, free: 7.145 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.773e-05/0.4444, allocations: 308.5 kB / 440.1 MB, free: 6.844 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001156/0.4456, allocations: 0.6597 MB / 440.8 MB, free: 6.188 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001486/0.4471, allocations: 1.124 MB / 441.9 MB, free: 4.867 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002704/0.4498, allocations: 1.889 MB / 443.8 MB, free: 2.836 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.364e-06/0.4498, allocations: 4 kB / 443.8 MB, free: 2.832 MB / 350.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004148/0.454, allocations: 2.346 MB / 446.1 MB, free: 484 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.969e-05/0.454, allocations: 12 kB / 446.1 MB, free: 472 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.02e-05/0.454, allocations: 12 kB / 446.2 MB, free: 460 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007246/0.4548, allocations: 267.5 kB / 446.4 MB, free: 180 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001321/0.4561, allocations: 359.4 kB / 446.8 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0051/0.4612, allocations: 5.699 MB / 452.5 MB, free: 9.734 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001365/0.4626, allocations: 76.12 kB / 452.5 MB, free: 9.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000116/0.4627, allocations: 67.98 kB / 452.6 MB, free: 9.594 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.001838/0.4646, allocations: 1.007 MB / 453.6 MB, free: 8.578 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000284/0.4649, allocations: 173.8 kB / 453.8 MB, free: 8.406 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003834/0.4687, allocations: 2.158 MB / 455.9 MB, free: 6.184 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-05/0.4687, allocations: 12 kB / 456 MB, free: 6.172 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.4687, allocations: 4 kB / 456 MB, free: 6.168 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.318e-05/0.4688, allocations: 11.97 kB / 456 MB, free: 6.156 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007527/0.4763, allocations: 4.839 MB / 460.8 MB, free: 1.203 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.149e-06/0.4763, allocations: 0 / 460.8 MB, free: 1.203 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007785/0.4771, allocations: 183.9 kB / 461 MB, free: 1.023 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001147/0.4783, allocations: 445.3 kB / 461.4 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.519e-05/0.4784, allocations: 35.98 kB / 461.5 MB, free: 0.5391 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009405/0.4878, allocations: 10.11 MB / 471.6 MB, free: 5.781 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/0.4878, allocations: 0 / 471.6 MB, free: 5.781 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005038/0.4929, allocations: 3.033 MB / 474.6 MB, free: 2.652 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001034/0.4939, allocations: 406.8 kB / 475 MB, free: 2.234 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002532/0.4942, allocations: 32 kB / 475 MB, free: 2.203 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008772/0.4951, allocations: 71.94 kB / 475.1 MB, free: 2.133 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002545/0.4953, allocations: 104.7 kB / 475.2 MB, free: 2.031 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.347e-05/0.4954, allocations: 32 kB / 475.2 MB, free: 2 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001825/0.4972, allocations: 1.174 MB / 476.4 MB, free: 0.832 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.352e-06/0.4973, allocations: 0 / 476.4 MB, free: 0.832 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002046/0.4993, allocations: 0.543 MB / 476.9 MB, free: 296 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.000302/0.4996, allocations: 172.7 kB / 477.1 MB, free: 120 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003372/0.503, allocations: 2.095 MB / 479.2 MB, free: 13.96 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.122e-06/0.503, allocations: 4 kB / 479.2 MB, free: 13.96 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00228/0.5053, allocations: 1.531 MB / 480.7 MB, free: 12.37 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002724/0.508, allocations: 497.3 kB / 481.2 MB, free: 11.89 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009929/0.518, allocations: 6.957 MB / 488.2 MB, free: 4.879 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001989/0.52, allocations: 2.277 MB / 490.5 MB, free: 2.574 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001429/0.5214, allocations: 391.7 kB / 490.8 MB, free: 2.188 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003209/0.5218, allocations: 119.4 kB / 491 MB, free: 2.07 MB / 398.1 MB Notification: Performance of SimCode: time 7.51e-07/0.5218, allocations: 0 / 491 MB, free: 2.07 MB / 398.1 MB Notification: Performance of Templates: time 0.04568/0.5675, allocations: 26.16 MB / 0.505 GB, free: 8.234 MB / 430.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