Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001236/0.001237, allocations: 96.33 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001659/0.001659, allocations: 207.1 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.433/1.433, allocations: 227.7 MB / 246.8 MB, free: 9.746 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002483/0.0002482, allocations: 8 kB / 307.8 MB, free: 0.5898 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1101, allocations: 51.53 MB / 359.3 MB, free: 13.06 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.01433/0.1245, allocations: 12.63 MB / 371.9 MB, free: 372 kB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1675/0.292, allocations: 4.363 MB / 376.3 MB, free: 9.715 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001281/0.2933, allocations: 77.09 kB / 376.4 MB, free: 9.707 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002062/0.2954, allocations: 0.8614 MB / 377.2 MB, free: 9.477 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002804/0.2982, allocations: 1.126 MB / 378.3 MB, free: 9.172 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001768/0.3, allocations: 0.821 MB / 379.2 MB, free: 9.094 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004979/0.305, allocations: 4.241 MB / 383.4 MB, free: 7.344 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003031/0.308, allocations: 2.666 MB / 386.1 MB, free: 6.199 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002192/0.3102, allocations: 1.278 MB / 387.3 MB, free: 5.648 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002158/0.3124, allocations: 1.664 MB / 389 MB, free: 4.957 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004141/0.3128, allocations: 201.6 kB / 389.2 MB, free: 4.957 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00142/0.3143, allocations: 436.7 kB / 389.6 MB, free: 4.879 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000772/0.315, allocations: 0.7509 MB / 390.4 MB, free: 4.488 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002282/0.3173, allocations: 1.719 MB / 392.1 MB, free: 3.391 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005577/0.3229, allocations: 6.216 MB / 398.3 MB, free: 15.34 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.3229, allocations: 1.312 kB / 398.3 MB, free: 15.34 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.323, allocations: 0 / 398.3 MB, free: 15.34 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001277/0.3231, allocations: 0 / 398.3 MB, free: 15.34 MB / 318.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.009943/0.333, allocations: 3.673 MB / 402 MB, free: 12.94 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.3331, allocations: 10.69 kB / 402 MB, free: 12.94 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004858/0.338, allocations: 0.8144 MB / 402.8 MB, free: 12.55 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005492/0.3435, allocations: 2.288 MB / 405.1 MB, free: 10.82 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001889/0.3437, allocations: 236.8 kB / 405.3 MB, free: 10.59 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005928/0.3443, allocations: 315.3 kB / 405.6 MB, free: 10.28 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007666/0.352, allocations: 4.233 MB / 409.9 MB, free: 6 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.774e-05/0.3521, allocations: 11.92 kB / 409.9 MB, free: 5.988 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003029/0.3524, allocations: 127.4 kB / 410 MB, free: 5.867 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001451/0.3525, allocations: 150.3 kB / 410.2 MB, free: 5.719 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00634/0.3589, allocations: 3.628 MB / 413.8 MB, free: 2.082 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01975/0.3787, allocations: 13.33 MB / 427.1 MB, free: 4.512 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006808/0.3855, allocations: 7.186 MB / 434.3 MB, free: 12.37 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002807/0.3884, allocations: 1.573 MB / 435.9 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006637/0.395, allocations: 4.224 MB / 440.1 MB, free: 6.465 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.348e-05/0.3951, allocations: 47.55 kB / 440.1 MB, free: 6.41 MB / 350.1 MB Notification: Performance of pre-optimization done (n=120): time 2.695e-06/0.3951, allocations: 0 / 440.1 MB, free: 6.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=123): time 0.01103/0.4061, allocations: 5.63 MB / 445.8 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.021e-05/0.4062, allocations: 64.41 kB / 445.8 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00257/0.4087, allocations: 1.722 MB / 447.6 MB, free: 14.78 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001023/0.4089, allocations: 45.7 kB / 447.6 MB, free: 14.73 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009246/0.4098, allocations: 1.416 MB / 449 MB, free: 13.3 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003237/0.4101, allocations: 433.3 kB / 449.4 MB, free: 12.88 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001721/0.4103, allocations: 125.7 kB / 449.6 MB, free: 12.75 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.059e-05/0.4104, allocations: 309.1 kB / 449.9 MB, free: 12.45 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001124/0.4115, allocations: 0.6559 MB / 450.5 MB, free: 11.8 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001401/0.4129, allocations: 1.148 MB / 451.7 MB, free: 10.45 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002612/0.4156, allocations: 1.914 MB / 453.6 MB, free: 8.332 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.277e-06/0.4156, allocations: 4 kB / 453.6 MB, free: 8.328 MB / 366.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.003929/0.4195, allocations: 2.421 MB / 456 MB, free: 5.867 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.899e-05/0.4196, allocations: 15.94 kB / 456 MB, free: 5.852 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.21e-05/0.4196, allocations: 12 kB / 456 MB, free: 5.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000783/0.4204, allocations: 319.4 kB / 456.4 MB, free: 5.516 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001296/0.4217, allocations: 343.5 kB / 456.7 MB, free: 5.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005743/0.4274, allocations: 6.122 MB / 462.8 MB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001259/0.4287, allocations: 88.08 kB / 462.9 MB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001449/0.4289, allocations: 71.92 kB / 463 MB, free: 14.5 MB / 382.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 (177): * Single equations (assignments): 173 * 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,8,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001695/0.4306, allocations: 1.005 MB / 464 MB, free: 13.48 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003066/0.4309, allocations: 185.8 kB / 464.2 MB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003931/0.4348, allocations: 2.225 MB / 466.4 MB, free: 11.02 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.434e-05/0.4349, allocations: 15.98 kB / 466.4 MB, free: 11 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.183e-05/0.4349, allocations: 4 kB / 466.4 MB, free: 11 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.342e-05/0.4349, allocations: 11.97 kB / 466.4 MB, free: 10.98 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007724/0.4426, allocations: 4.97 MB / 471.4 MB, free: 5.906 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.4426, allocations: 0 / 471.4 MB, free: 5.906 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007528/0.4434, allocations: 167.8 kB / 471.5 MB, free: 5.742 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001325/0.4447, allocations: 499.9 kB / 472 MB, free: 5.238 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.95e-05/0.4449, allocations: 35.98 kB / 472.1 MB, free: 5.203 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01057/0.4554, allocations: 10.53 MB / 482.6 MB, free: 10.01 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.077e-06/0.4555, allocations: 4.031 kB / 482.6 MB, free: 10 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005182/0.4606, allocations: 3.13 MB / 485.7 MB, free: 6.789 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009812/0.4616, allocations: 411.2 kB / 486.1 MB, free: 6.367 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004293/0.4621, allocations: 28 kB / 486.2 MB, free: 6.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001054/0.4631, allocations: 79.88 kB / 486.2 MB, free: 6.262 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002451/0.4634, allocations: 100.7 kB / 486.3 MB, free: 6.164 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.978e-05/0.4635, allocations: 43.92 kB / 486.4 MB, free: 6.121 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002072/0.4656, allocations: 1.182 MB / 487.6 MB, free: 4.945 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4656, allocations: 0 / 487.6 MB, free: 4.945 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002194/0.4678, allocations: 0.543 MB / 488.1 MB, free: 4.402 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 (83): * Single equations (assignments): 78 * 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,8,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.0003644/0.4682, allocations: 186.2 kB / 488.3 MB, free: 4.211 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003431/0.4716, allocations: 2.143 MB / 490.4 MB, free: 2.008 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.076e-05/0.4716, allocations: 4 kB / 490.4 MB, free: 2.004 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002345/0.474, allocations: 1.554 MB / 492 MB, free: 396 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002804/0.4768, allocations: 0.491 MB / 492.5 MB, free: 15.9 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01078/0.4876, allocations: 6.999 MB / 499.5 MB, free: 8.852 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00249/0.4901, allocations: 2.293 MB / 0.49 GB, free: 6.531 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001429/0.4915, allocations: 379.9 kB / 0.4904 GB, free: 6.156 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003791/0.4919, allocations: 127.4 kB / 0.4905 GB, free: 6.031 MB / 414.1 MB Notification: Performance of SimCode: time 7.11e-07/0.4919, allocations: 0 / 0.4905 GB, free: 6.031 MB / 414.1 MB Notification: Performance of Templates: time 0.04738/0.5393, allocations: 26.77 MB / 0.5166 GB, free: 11.55 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches