Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001061/0.001062, allocations: 96.09 kB / 16.3 MB, free: 5.523 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.001024/0.001024, allocations: 181.2 kB / 17.2 MB, free: 5.457 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.466/1.466, allocations: 205.4 MB / 223.3 MB, free: 13.18 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.0004308/0.0004308, allocations: 19.44 kB / 280.1 MB, free: 3.746 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1009, allocations: 47.58 MB / 327.7 MB, free: 4.098 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter): time 0.0112/0.1121, allocations: 10.27 MB / 338 MB, free: 9.781 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.008853/0.121, allocations: 4.065 MB / 342 MB, free: 5.703 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001486/0.1226, allocations: 59.75 kB / 342.1 MB, free: 5.645 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002032/0.1246, allocations: 0.7502 MB / 342.8 MB, free: 4.891 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003064/0.1277, allocations: 1.098 MB / 343.9 MB, free: 3.789 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001494/0.1292, allocations: 0.5886 MB / 344.5 MB, free: 3.199 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004238/0.1334, allocations: 2.683 MB / 347.2 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0028/0.1362, allocations: 2.174 MB / 349.4 MB, free: 14.3 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002366/0.1386, allocations: 1.207 MB / 350.6 MB, free: 13.09 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001859/0.1405, allocations: 1.443 MB / 352 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003187/0.1408, allocations: 200 kB / 352.2 MB, free: 11.44 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001005/0.1418, allocations: 367.7 kB / 352.6 MB, free: 11.08 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007848/0.1426, allocations: 0.7086 MB / 353.3 MB, free: 10.37 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007941/0.1434, allocations: 0.7226 MB / 354 MB, free: 9.641 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004748/0.1482, allocations: 5.349 MB / 359.4 MB, free: 4.277 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.1482, allocations: 4 kB / 359.4 MB, free: 4.273 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1482, allocations: 0 / 359.4 MB, free: 4.273 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.951e-05/0.1483, allocations: 0 / 359.4 MB, free: 4.273 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.009114/0.1574, allocations: 3.657 MB / 363 MB, free: 0.5469 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.1575, allocations: 16.03 kB / 363.1 MB, free: 0.5312 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004363/0.1619, allocations: 0.8038 MB / 363.9 MB, free: 15.72 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003963/0.1658, allocations: 2.138 MB / 366 MB, free: 13.53 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001707/0.166, allocations: 230.2 kB / 366.2 MB, free: 13.3 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004475/0.1665, allocations: 323.9 kB / 366.5 MB, free: 12.98 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006867/0.1734, allocations: 4.18 MB / 370.7 MB, free: 8.754 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.158e-05/0.1734, allocations: 3.953 kB / 370.7 MB, free: 8.75 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002823/0.1737, allocations: 136 kB / 370.9 MB, free: 8.617 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001464/0.1739, allocations: 146.3 kB / 371 MB, free: 8.473 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006188/0.1801, allocations: 3.597 MB / 374.6 MB, free: 4.867 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1943/0.3744, allocations: 13.19 MB / 387.8 MB, free: 42.98 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005938/0.3803, allocations: 6.909 MB / 394.7 MB, free: 36.74 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00504/0.3854, allocations: 3.167 MB / 397.9 MB, free: 34.93 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.636e-05/0.3855, allocations: 53.25 kB / 397.9 MB, free: 34.88 MB / 318.1 MB Notification: Performance of pre-optimization done (n=131): time 3.066e-06/0.3855, allocations: 0 / 397.9 MB, free: 34.88 MB / 318.1 MB Notification: Performance of matching and sorting (n=135): time 0.01042/0.3959, allocations: 5.786 MB / 403.7 MB, free: 31.23 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.797e-05/0.396, allocations: 76.3 kB / 403.8 MB, free: 31.16 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001839/0.3978, allocations: 1.642 MB / 405.4 MB, free: 30.26 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.035e-05/0.3979, allocations: 45.67 kB / 405.5 MB, free: 30.21 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006094/0.3985, allocations: 1.375 MB / 406.8 MB, free: 29.01 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002428/0.3988, allocations: 473.2 kB / 407.3 MB, free: 28.61 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.966e-05/0.3988, allocations: 29.56 kB / 407.3 MB, free: 28.59 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001047/0.399, allocations: 371.6 kB / 407.7 MB, free: 28.23 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009402/0.3999, allocations: 0.6897 MB / 408.4 MB, free: 27.88 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001079/0.401, allocations: 1.128 MB / 409.5 MB, free: 26.94 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001178/0.4022, allocations: 0.8992 MB / 410.4 MB, free: 26.45 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.424e-06/0.4022, allocations: 3.438 kB / 410.4 MB, free: 26.45 MB / 318.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.003137/0.4054, allocations: 2.404 MB / 412.8 MB, free: 25.11 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.647e-05/0.4054, allocations: 15.2 kB / 412.8 MB, free: 25.1 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.786e-05/0.4054, allocations: 14.69 kB / 412.8 MB, free: 25.1 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006003/0.406, allocations: 276.9 kB / 413.1 MB, free: 24.95 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001308/0.4073, allocations: 372.4 kB / 413.5 MB, free: 24.87 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003939/0.4113, allocations: 5.769 MB / 419.2 MB, free: 19.42 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001149/0.4125, allocations: 71.95 kB / 419.3 MB, free: 19.35 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.866e-05/0.4126, allocations: 72 kB / 419.4 MB, free: 19.28 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * 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 (188): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001532/0.4141, allocations: 0.9972 MB / 420.4 MB, free: 18.27 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002171/0.4143, allocations: 181.8 kB / 420.6 MB, free: 18.09 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003112/0.4175, allocations: 2.27 MB / 422.8 MB, free: 15.75 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.698e-06/0.4175, allocations: 20 kB / 422.8 MB, free: 15.73 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.4175, allocations: 7.938 kB / 422.8 MB, free: 15.73 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.138e-05/0.4175, allocations: 3.984 kB / 422.9 MB, free: 15.72 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006713/0.4242, allocations: 5.1 MB / 428 MB, free: 10.5 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.191e-06/0.4243, allocations: 4 kB / 428 MB, free: 10.5 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007753/0.425, allocations: 204 kB / 428.2 MB, free: 10.3 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009524/0.426, allocations: 450.7 kB / 428.6 MB, free: 9.852 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.807e-05/0.4261, allocations: 35.98 kB / 428.6 MB, free: 9.816 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007775/0.4339, allocations: 10.19 MB / 438.8 MB, free: 14.99 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/0.4339, allocations: 4 kB / 438.8 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00539/0.4393, allocations: 3.347 MB / 442.2 MB, free: 11.49 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001057/0.4404, allocations: 415.7 kB / 442.6 MB, free: 11.06 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002383/0.4406, allocations: 36 kB / 442.6 MB, free: 11.03 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008311/0.4415, allocations: 76.5 kB / 442.7 MB, free: 10.95 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002737/0.4418, allocations: 113 kB / 442.8 MB, free: 10.84 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.238e-05/0.4419, allocations: 36 kB / 442.8 MB, free: 10.8 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001947/0.4438, allocations: 1.123 MB / 444 MB, free: 9.688 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.4438, allocations: 0 / 444 MB, free: 9.688 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.002645/0.4465, allocations: 0.5495 MB / 444.5 MB, free: 9.141 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (98): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 8,(1,100.0%) 13,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004343/0.4469, allocations: 163.2 kB / 444.7 MB, free: 8.977 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00429/0.4512, allocations: 2.186 MB / 446.9 MB, free: 6.734 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 7.784e-06/0.4513, allocations: 0 / 446.9 MB, free: 6.734 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002982/0.4543, allocations: 1.603 MB / 448.5 MB, free: 5.066 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002324/0.4566, allocations: 474.3 kB / 448.9 MB, free: 4.602 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01058/0.4672, allocations: 6.734 MB / 455.7 MB, free: 13.82 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002097/0.4694, allocations: 2.344 MB / 458 MB, free: 11.45 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.001461/0.4708, allocations: 391.9 kB / 458.4 MB, free: 11.06 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003335/0.4712, allocations: 123.4 kB / 458.5 MB, free: 10.94 MB / 350.1 MB Notification: Performance of SimCode: time 8.51e-07/0.4712, allocations: 0 / 458.5 MB, free: 10.94 MB / 350.1 MB Notification: Performance of Templates: time 0.04542/0.5166, allocations: 25.4 MB / 483.9 MB, free: 1.527 MB / 366.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.sim & ./Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.pipe 2>&1) Environment - environmentSimulation: