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.001092/0.001092, allocations: 102 kB / 17.16 MB, free: 6.32 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.001016/0.001016, allocations: 190 kB / 18.07 MB, free: 5.414 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.481/1.481, allocations: 205.1 MB / 223.9 MB, free: 12.47 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.001135/0.001135, allocations: 56.25 kB / 280 MB, free: 3.582 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0933/0.09445, allocations: 46.62 MB / 326.6 MB, free: 4.898 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter): time 0.01357/0.108, allocations: 12.64 MB / 339.2 MB, free: 8.195 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.008093/0.1162, allocations: 4.222 MB / 343.5 MB, free: 3.957 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001867/0.1182, allocations: 63.69 kB / 343.5 MB, free: 3.895 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002414/0.1206, allocations: 0.8551 MB / 344.4 MB, free: 3.035 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003646/0.1243, allocations: 1.143 MB / 345.5 MB, free: 1.887 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002033/0.1263, allocations: 0.7992 MB / 346.3 MB, free: 1.086 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004909/0.1312, allocations: 4.152 MB / 350.5 MB, free: 12.91 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003216/0.1345, allocations: 2.642 MB / 353.1 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002099/0.1366, allocations: 1.444 MB / 354.6 MB, free: 8.754 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002654/0.1392, allocations: 1.895 MB / 356.5 MB, free: 6.852 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006063/0.1399, allocations: 292 kB / 356.7 MB, free: 6.566 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001314/0.1412, allocations: 499.7 kB / 357.2 MB, free: 6.078 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007899/0.142, allocations: 0.8837 MB / 358.1 MB, free: 5.191 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002123/0.1441, allocations: 1.831 MB / 359.9 MB, free: 3.352 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007095/0.1513, allocations: 6.375 MB / 366.3 MB, free: 12.96 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.1513, allocations: 0 / 366.3 MB, free: 12.96 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1513, allocations: 4 kB / 366.3 MB, free: 12.95 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001377/0.1514, allocations: 0 / 366.3 MB, free: 12.95 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.01128/0.1627, allocations: 4.289 MB / 370.6 MB, free: 8.594 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.1628, allocations: 8.031 kB / 370.6 MB, free: 8.586 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00421/0.167, allocations: 0.8163 MB / 371.4 MB, free: 7.766 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004099/0.1711, allocations: 2.173 MB / 373.6 MB, free: 5.535 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001652/0.1713, allocations: 230.6 kB / 373.8 MB, free: 5.309 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005998/0.1719, allocations: 319.8 kB / 374.1 MB, free: 4.996 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007349/0.1793, allocations: 4.223 MB / 378.4 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.485e-05/0.1794, allocations: 7.984 kB / 378.4 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002881/0.1797, allocations: 128 kB / 378.5 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001355/0.1798, allocations: 142.3 kB / 378.6 MB, free: 460 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1754/0.3553, allocations: 3.595 MB / 382.2 MB, free: 48.78 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02173/0.3771, allocations: 13.19 MB / 395.4 MB, free: 41.03 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005199/0.3823, allocations: 6.901 MB / 402.3 MB, free: 34.42 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001979/0.3843, allocations: 1.369 MB / 403.7 MB, free: 33.76 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005067/0.3894, allocations: 3.721 MB / 407.4 MB, free: 31.04 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.274e-05/0.3894, allocations: 47.44 kB / 407.5 MB, free: 30.99 MB / 318.1 MB Notification: Performance of pre-optimization done (n=119): time 2.765e-06/0.3894, allocations: 0 / 407.5 MB, free: 30.99 MB / 318.1 MB Notification: Performance of matching and sorting (n=122): time 0.008746/0.3982, allocations: 5.362 MB / 412.8 MB, free: 27.05 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.781e-05/0.3982, allocations: 68.41 kB / 412.9 MB, free: 26.98 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001776/0.4, allocations: 1.705 MB / 414.6 MB, free: 25.27 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.064e-05/0.4001, allocations: 45.7 kB / 414.6 MB, free: 25.21 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000552/0.4007, allocations: 1.399 MB / 416 MB, free: 23.8 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001913/0.4009, allocations: 432.4 kB / 416.5 MB, free: 23.38 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003514/0.4012, allocations: 283.3 kB / 416.7 MB, free: 23.1 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.388e-05/0.4013, allocations: 301.1 kB / 417 MB, free: 22.8 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008733/0.4021, allocations: 0.6442 MB / 417.7 MB, free: 22.16 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001012/0.4032, allocations: 1.118 MB / 418.8 MB, free: 20.84 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001956/0.4051, allocations: 1.871 MB / 420.7 MB, free: 18.77 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/0.4052, allocations: 4 kB / 420.7 MB, free: 18.76 MB / 318.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.003315/0.4085, allocations: 2.319 MB / 423 MB, free: 16.4 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.59e-05/0.4085, allocations: 12 kB / 423 MB, free: 16.39 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.779e-05/0.4085, allocations: 16 kB / 423 MB, free: 16.38 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007192/0.4093, allocations: 270.7 kB / 423.3 MB, free: 16.1 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001246/0.4105, allocations: 363.4 kB / 423.6 MB, free: 15.75 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004242/0.4148, allocations: 5.692 MB / 429.3 MB, free: 9.668 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001567/0.4164, allocations: 72.08 kB / 429.4 MB, free: 9.598 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001043/0.4165, allocations: 72 kB / 429.5 MB, free: 9.527 MB / 318.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.001494/0.418, allocations: 0.9971 MB / 430.5 MB, free: 8.52 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002324/0.4183, allocations: 185.7 kB / 430.6 MB, free: 8.336 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003197/0.4215, allocations: 2.125 MB / 432.8 MB, free: 6.148 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.466e-06/0.4215, allocations: 12 kB / 432.8 MB, free: 6.137 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/0.4215, allocations: 4 kB / 432.8 MB, free: 6.133 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.061e-05/0.4215, allocations: 3.984 kB / 432.8 MB, free: 6.129 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006048/0.4276, allocations: 4.821 MB / 437.6 MB, free: 1.195 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.471e-06/0.4276, allocations: 0 / 437.6 MB, free: 1.195 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007137/0.4283, allocations: 172 kB / 437.8 MB, free: 1.027 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001037/0.4294, allocations: 448.8 kB / 438.2 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.648e-05/0.4295, allocations: 35.98 kB / 438.3 MB, free: 0.543 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01041/0.4399, allocations: 10.08 MB / 448.3 MB, free: 5.824 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.4399, allocations: 3.938 kB / 448.3 MB, free: 5.82 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005076/0.445, allocations: 2.996 MB / 451.3 MB, free: 2.727 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008927/0.4459, allocations: 410.7 kB / 451.7 MB, free: 2.305 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002414/0.4462, allocations: 35.98 kB / 451.8 MB, free: 2.27 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008042/0.447, allocations: 63.95 kB / 451.8 MB, free: 2.207 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002605/0.4472, allocations: 100.7 kB / 451.9 MB, free: 2.109 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.698e-05/0.4473, allocations: 39.98 kB / 452 MB, free: 2.07 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001634/0.449, allocations: 1.174 MB / 453.1 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.449, allocations: 0 / 453.1 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.00198/0.451, allocations: 0.5352 MB / 453.7 MB, free: 376 kB / 334.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.0003335/0.4513, allocations: 153.2 kB / 453.8 MB, free: 220 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.003382/0.4547, allocations: 2.07 MB / 455.9 MB, free: 14.09 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.4547, allocations: 0 / 455.9 MB, free: 14.09 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002412/0.4571, allocations: 1.526 MB / 457.4 MB, free: 12.5 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002145/0.4593, allocations: 486.8 kB / 457.9 MB, free: 12.03 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009393/0.4687, allocations: 6.827 MB / 464.7 MB, free: 5.156 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001899/0.4706, allocations: 2.281 MB / 467 MB, free: 2.848 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.00135/0.472, allocations: 387.8 kB / 467.4 MB, free: 2.465 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002992/0.4723, allocations: 119.4 kB / 467.5 MB, free: 2.348 MB / 350.1 MB Notification: Performance of SimCode: time 4.91e-07/0.4723, allocations: 0 / 467.5 MB, free: 2.348 MB / 350.1 MB Notification: Performance of Templates: time 0.04468/0.517, allocations: 26.45 MB / 494 MB, free: 7.883 MB / 382.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