Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.AIMC_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_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_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_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007504/0.0007505, allocations: 101 kB / 17.31 MB, free: 6.344 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.0008001/0.0008002, allocations: 181.5 kB / 18.21 MB, free: 5.527 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.32/1.32, allocations: 205.4 MB / 224.4 MB, free: 13.06 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0007031/0.0007032, allocations: 12 kB / 281.4 MB, free: 3.414 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1153, allocations: 47.58 MB / 329 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter): time 0.01258/0.1279, allocations: 11.99 MB / 341 MB, free: 7.707 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.008546/0.1365, allocations: 4.172 MB / 345.1 MB, free: 3.52 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00222/0.1388, allocations: 67.69 kB / 345.2 MB, free: 3.453 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002559/0.1414, allocations: 0.8434 MB / 346 MB, free: 2.605 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004054/0.1454, allocations: 1.146 MB / 347.2 MB, free: 1.453 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001788/0.1472, allocations: 0.7836 MB / 348 MB, free: 0.668 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004802/0.152, allocations: 4.152 MB / 352.1 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002961/0.155, allocations: 2.611 MB / 354.7 MB, free: 9.816 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001945/0.157, allocations: 1.268 MB / 356 MB, free: 8.543 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002063/0.1591, allocations: 1.657 MB / 357.7 MB, free: 6.879 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003395/0.1594, allocations: 204 kB / 357.9 MB, free: 6.68 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00108/0.1605, allocations: 419.7 kB / 358.3 MB, free: 6.27 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006663/0.1612, allocations: 0.7549 MB / 359 MB, free: 5.512 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001895/0.1631, allocations: 1.704 MB / 360.7 MB, free: 3.793 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005439/0.1685, allocations: 6.163 MB / 366.9 MB, free: 13.61 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.1685, allocations: 0 / 366.9 MB, free: 13.61 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.1686, allocations: 0 / 366.9 MB, free: 13.61 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.884e-05/0.1686, allocations: 4 kB / 366.9 MB, free: 13.61 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.008123/0.1767, allocations: 3.641 MB / 370.5 MB, free: 9.895 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.1768, allocations: 12.03 kB / 370.5 MB, free: 9.883 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004114/0.1809, allocations: 0.8086 MB / 371.4 MB, free: 9.07 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003728/0.1847, allocations: 2.181 MB / 373.5 MB, free: 6.832 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001743/0.1849, allocations: 226.6 kB / 373.8 MB, free: 6.609 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004985/0.1854, allocations: 319.8 kB / 374.1 MB, free: 6.297 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007383/0.1928, allocations: 4.231 MB / 378.3 MB, free: 2.016 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.419e-05/0.1928, allocations: 3.906 kB / 378.3 MB, free: 2.012 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003201/0.1932, allocations: 135.9 kB / 378.4 MB, free: 1.879 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001496/0.1933, allocations: 154.2 kB / 378.6 MB, free: 1.727 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2069/0.4003, allocations: 3.608 MB / 382.2 MB, free: 32.79 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02208/0.4224, allocations: 13.25 MB / 395.4 MB, free: 28.39 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005771/0.4282, allocations: 6.907 MB / 402.4 MB, free: 22.16 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002256/0.4305, allocations: 1.379 MB / 403.7 MB, free: 21.51 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005609/0.4361, allocations: 3.732 MB / 407.5 MB, free: 18.8 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.827e-05/0.4362, allocations: 44.84 kB / 407.5 MB, free: 18.75 MB / 318.1 MB Notification: Performance of pre-optimization done (n=119): time 3.166e-06/0.4362, allocations: 4 kB / 407.5 MB, free: 18.75 MB / 318.1 MB Notification: Performance of matching and sorting (n=122): time 0.01012/0.4463, allocations: 5.428 MB / 412.9 MB, free: 15.27 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.454e-05/0.4464, allocations: 63.75 kB / 413 MB, free: 15.2 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002154/0.4486, allocations: 1.709 MB / 414.7 MB, free: 14.27 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.534e-05/0.4487, allocations: 49.45 kB / 414.8 MB, free: 14.23 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006497/0.4493, allocations: 1.395 MB / 416.2 MB, free: 13 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002201/0.4496, allocations: 432.6 kB / 416.6 MB, free: 12.64 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000141/0.4497, allocations: 135.1 kB / 416.7 MB, free: 12.53 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.997e-05/0.4498, allocations: 305.1 kB / 417 MB, free: 12.23 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008891/0.4506, allocations: 0.6481 MB / 417.7 MB, free: 11.58 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001074/0.4517, allocations: 1.128 MB / 418.8 MB, free: 10.26 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002062/0.4538, allocations: 1.883 MB / 420.7 MB, free: 8.234 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.198e-06/0.4538, allocations: 11.84 kB / 420.7 MB, free: 8.227 MB / 318.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.003263/0.4571, allocations: 2.342 MB / 423 MB, free: 5.941 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.469e-05/0.4571, allocations: 8 kB / 423 MB, free: 5.934 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.06e-05/0.4572, allocations: 16 kB / 423 MB, free: 5.918 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000622/0.4578, allocations: 264.4 kB / 423.3 MB, free: 5.648 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001179/0.459, allocations: 364.6 kB / 423.7 MB, free: 5.316 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004176/0.4632, allocations: 5.706 MB / 429.4 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001419/0.4646, allocations: 75.88 kB / 429.4 MB, free: 15.18 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001269/0.4648, allocations: 71.98 kB / 429.5 MB, free: 15.11 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * 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.001974/0.4667, allocations: 0.9986 MB / 430.5 MB, free: 14.12 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003609/0.4671, allocations: 177.8 kB / 430.7 MB, free: 13.95 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003865/0.471, allocations: 2.148 MB / 432.8 MB, free: 11.76 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.306e-05/0.471, allocations: 12 kB / 432.8 MB, free: 11.75 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.009e-05/0.471, allocations: 4 kB / 432.8 MB, free: 11.74 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.363e-05/0.471, allocations: 3.984 kB / 432.8 MB, free: 11.74 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007856/0.4789, allocations: 4.836 MB / 437.7 MB, free: 6.824 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.756e-06/0.479, allocations: 0 / 437.7 MB, free: 6.824 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007382/0.4797, allocations: 177.4 kB / 437.9 MB, free: 6.664 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001167/0.4809, allocations: 457 kB / 438.3 MB, free: 6.211 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.37e-05/0.481, allocations: 35.98 kB / 438.3 MB, free: 6.176 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00991/0.4909, allocations: 10.09 MB / 448.4 MB, free: 11.49 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.4909, allocations: 3.75 kB / 448.4 MB, free: 11.49 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005/0.496, allocations: 3.025 MB / 451.5 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007963/0.4968, allocations: 406.8 kB / 451.8 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002176/0.497, allocations: 35.98 kB / 451.9 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008414/0.4978, allocations: 71.95 kB / 452 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002607/0.4981, allocations: 96.45 kB / 452 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.2e-05/0.4982, allocations: 39.98 kB / 452.1 MB, free: 7.742 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001861/0.5001, allocations: 1.174 MB / 453.3 MB, free: 6.574 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.154e-06/0.5001, allocations: 0 / 453.3 MB, free: 6.574 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002568/0.5026, allocations: 0.5414 MB / 453.8 MB, free: 6.035 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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,13,100.0%), (1,8,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.0003715/0.503, allocations: 155.4 kB / 454 MB, free: 5.891 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003493/0.5065, allocations: 2.089 MB / 456 MB, free: 3.797 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.5066, allocations: 0 / 456 MB, free: 3.797 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002403/0.509, allocations: 1.536 MB / 457.6 MB, free: 2.211 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002698/0.5117, allocations: 489.4 kB / 458.1 MB, free: 1.734 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01079/0.5225, allocations: 6.978 MB / 465 MB, free: 10.72 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001965/0.5245, allocations: 2.281 MB / 467.3 MB, free: 8.422 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001549/0.526, allocations: 383.8 kB / 467.7 MB, free: 8.043 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003203/0.5264, allocations: 127.4 kB / 467.8 MB, free: 7.918 MB / 366.1 MB Notification: Performance of SimCode: time 1.342e-06/0.5264, allocations: 0 / 467.8 MB, free: 7.918 MB / 366.1 MB Notification: Performance of Templates: time 0.0499/0.5763, allocations: 26.11 MB / 493.9 MB, free: 13.84 MB / 398.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/AIMC_Inverter/AIMC_Inverter.csv","../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches