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.001372/0.001372, allocations: 109.3 kB / 16.62 MB, free: 6.961 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.001423/0.001423, allocations: 190 kB / 17.54 MB, free: 6.066 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.44/1.44, allocations: 205.1 MB / 223.4 MB, free: 12.45 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.001277/0.001278, allocations: 44.41 kB / 279.5 MB, free: 3.512 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1064, allocations: 46.64 MB / 326.1 MB, free: 4.809 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter): time 0.01496/0.1214, allocations: 12.63 MB / 338.8 MB, free: 8.109 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.008684/0.1302, allocations: 4.202 MB / 343 MB, free: 3.891 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002564/0.1328, allocations: 63.69 kB / 343 MB, free: 3.828 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003162/0.136, allocations: 0.8629 MB / 343.9 MB, free: 2.961 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003967/0.14, allocations: 1.139 MB / 345 MB, free: 1.816 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002127/0.1421, allocations: 0.7835 MB / 345.8 MB, free: 1.031 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.005646/0.1478, allocations: 4.02 MB / 349.8 MB, free: 12.99 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004236/0.1521, allocations: 3.184 MB / 353 MB, free: 9.734 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002387/0.1545, allocations: 1.717 MB / 354.7 MB, free: 8.012 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00314/0.1576, allocations: 2.032 MB / 356.8 MB, free: 5.973 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001129/0.1588, allocations: 0.5 MB / 357.3 MB, free: 5.473 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001916/0.1607, allocations: 0.699 MB / 358 MB, free: 4.773 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001294/0.162, allocations: 1.099 MB / 359.1 MB, free: 3.672 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003101/0.1651, allocations: 2.069 MB / 361.1 MB, free: 1.594 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006668/0.1718, allocations: 6.512 MB / 367.7 MB, free: 11.06 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.1718, allocations: 0 / 367.7 MB, free: 11.06 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.979e-06/0.1718, allocations: 0 / 367.7 MB, free: 11.06 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002236/0.1721, allocations: 3.938 kB / 367.7 MB, free: 11.06 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.01163/0.1837, allocations: 4.289 MB / 371.9 MB, free: 6.699 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/0.1838, allocations: 12.03 kB / 372 MB, free: 6.688 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004201/0.188, allocations: 0.8125 MB / 372.8 MB, free: 5.871 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003794/0.1918, allocations: 2.169 MB / 374.9 MB, free: 3.645 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002225/0.192, allocations: 242.6 kB / 375.2 MB, free: 3.406 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005351/0.1926, allocations: 311.8 kB / 375.5 MB, free: 3.102 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1691/0.3617, allocations: 4.218 MB / 379.7 MB, free: 48.12 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.148e-05/0.3619, allocations: 4.797 kB / 379.7 MB, free: 48.12 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003162/0.3622, allocations: 128 kB / 379.8 MB, free: 48.12 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001747/0.3624, allocations: 152.3 kB / 380 MB, free: 48.11 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007053/0.3694, allocations: 3.596 MB / 383.6 MB, free: 46.92 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01996/0.3894, allocations: 13.19 MB / 396.8 MB, free: 38.74 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005636/0.3951, allocations: 6.904 MB / 403.7 MB, free: 32.13 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001879/0.397, allocations: 1.367 MB / 405 MB, free: 31.46 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005362/0.4024, allocations: 3.723 MB / 408.8 MB, free: 28.74 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.592e-05/0.4025, allocations: 47.64 kB / 408.8 MB, free: 28.69 MB / 318.1 MB Notification: Performance of pre-optimization done (n=119): time 3.076e-06/0.4025, allocations: 0 / 408.8 MB, free: 28.69 MB / 318.1 MB Notification: Performance of matching and sorting (n=122): time 0.01008/0.4126, allocations: 5.363 MB / 414.2 MB, free: 25.13 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.107e-05/0.4126, allocations: 68.39 kB / 414.2 MB, free: 25.05 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001975/0.4146, allocations: 1.702 MB / 415.9 MB, free: 23.34 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001219/0.4147, allocations: 49.7 kB / 416 MB, free: 23.29 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006328/0.4154, allocations: 1.395 MB / 417.4 MB, free: 21.88 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002413/0.4156, allocations: 437.1 kB / 417.8 MB, free: 21.46 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003665/0.416, allocations: 283.3 kB / 418.1 MB, free: 21.18 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.299e-05/0.4161, allocations: 309.1 kB / 418.4 MB, free: 20.87 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008649/0.4169, allocations: 0.6364 MB / 419 MB, free: 20.23 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001026/0.418, allocations: 1.114 MB / 420.1 MB, free: 18.91 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001937/0.4199, allocations: 1.875 MB / 422 MB, free: 16.84 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.964e-06/0.4199, allocations: 5.75 kB / 422 MB, free: 16.84 MB / 318.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.003121/0.4231, allocations: 2.311 MB / 424.3 MB, free: 14.48 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.337e-05/0.4231, allocations: 12 kB / 424.3 MB, free: 14.47 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.882e-05/0.4231, allocations: 19.94 kB / 424.4 MB, free: 14.45 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006144/0.4237, allocations: 270.1 kB / 424.6 MB, free: 14.18 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001184/0.4249, allocations: 359.4 kB / 425 MB, free: 13.83 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00392/0.4289, allocations: 6.208 MB / 431.2 MB, free: 7.223 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001268/0.4302, allocations: 79.98 kB / 431.3 MB, free: 7.145 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.891e-05/0.4303, allocations: 68 kB / 431.3 MB, free: 7.078 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.001518/0.4318, allocations: 0.9969 MB / 432.3 MB, free: 6.07 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002608/0.4321, allocations: 181.8 kB / 432.5 MB, free: 5.891 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003015/0.4351, allocations: 2.115 MB / 434.6 MB, free: 3.707 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.706e-06/0.4351, allocations: 12 kB / 434.6 MB, free: 3.695 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.368e-06/0.4351, allocations: 11.98 kB / 434.6 MB, free: 3.684 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.393e-05/0.4351, allocations: 3.984 kB / 434.6 MB, free: 3.68 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006599/0.4417, allocations: 4.815 MB / 439.5 MB, free: 14.75 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.917e-06/0.4418, allocations: 4 kB / 439.5 MB, free: 14.75 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007629/0.4426, allocations: 163.8 kB / 439.6 MB, free: 14.59 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001208/0.4438, allocations: 458.6 kB / 440.1 MB, free: 14.12 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.068e-05/0.4439, allocations: 35.98 kB / 440.1 MB, free: 14.09 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0109/0.4548, allocations: 11.03 MB / 451.1 MB, free: 2.395 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.015e-06/0.4548, allocations: 11.86 kB / 451.1 MB, free: 2.383 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004754/0.4596, allocations: 2.992 MB / 454.1 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008169/0.4604, allocations: 403 kB / 454.5 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002248/0.4607, allocations: 31.98 kB / 454.6 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008039/0.4615, allocations: 63.89 kB / 454.6 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002459/0.4618, allocations: 100.8 kB / 454.7 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.673e-05/0.4618, allocations: 43.97 kB / 454.8 MB, free: 14.65 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001619/0.4635, allocations: 1.178 MB / 455.9 MB, free: 13.48 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4635, allocations: 0 / 455.9 MB, free: 13.48 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001981/0.4655, allocations: 0.5377 MB / 456.5 MB, free: 12.94 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.0003484/0.4658, allocations: 155 kB / 456.6 MB, free: 12.79 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.004676/0.4705, allocations: 2.406 MB / 459 MB, free: 10.34 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/0.4705, allocations: 1 kB / 459 MB, free: 10.34 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002218/0.4728, allocations: 1.525 MB / 460.6 MB, free: 8.75 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002415/0.4752, allocations: 0.5103 MB / 461.1 MB, free: 8.238 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01024/0.4854, allocations: 6.835 MB / 467.9 MB, free: 1.363 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001845/0.4873, allocations: 2.277 MB / 470.2 MB, free: 15.05 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001425/0.4888, allocations: 375.8 kB / 470.6 MB, free: 14.68 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003073/0.4891, allocations: 127.4 kB / 470.7 MB, free: 14.56 MB / 366.1 MB Notification: Performance of SimCode: time 7.82e-07/0.4891, allocations: 8 kB / 470.7 MB, free: 14.55 MB / 366.1 MB Notification: Performance of Templates: time 0.04548/0.5346, allocations: 27.41 MB / 498.1 MB, free: 3.141 MB / 382.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.makefile (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)