Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_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.1_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.1_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.001127/0.001127, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.009182/0.009182, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.383/1.383, allocations: 205.4 MB / 222.4 MB, free: 5.57 MB / 174.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.0004899/0.0004899, allocations: 12 kB / 279.5 MB, free: 12.51 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.261/0.2615, allocations: 47.59 MB / 327 MB, free: 1.402 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter): time 0.01326/0.2748, allocations: 11.99 MB / 339 MB, free: 7.348 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01035/0.2852, allocations: 4.169 MB / 343.2 MB, free: 3.168 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003115/0.2884, allocations: 71.69 kB / 343.3 MB, free: 3.098 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002816/0.2912, allocations: 0.8396 MB / 344.1 MB, free: 2.254 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004946/0.2962, allocations: 1.146 MB / 345.3 MB, free: 1.102 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002175/0.2984, allocations: 0.7836 MB / 346 MB, free: 324 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.006002/0.3044, allocations: 4.145 MB / 350.2 MB, free: 12.15 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003294/0.3077, allocations: 2.623 MB / 352.8 MB, free: 9.461 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002145/0.3099, allocations: 1.264 MB / 354.1 MB, free: 8.191 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002238/0.3121, allocations: 1.661 MB / 355.7 MB, free: 6.523 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003898/0.3125, allocations: 200 kB / 355.9 MB, free: 6.328 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00111/0.3136, allocations: 415.7 kB / 356.3 MB, free: 5.922 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006525/0.3143, allocations: 0.7432 MB / 357.1 MB, free: 5.176 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001867/0.3162, allocations: 1.716 MB / 358.8 MB, free: 3.445 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007034/0.3232, allocations: 6.163 MB / 365 MB, free: 13.26 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.263e-06/0.3233, allocations: 0 / 365 MB, free: 13.26 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.657e-06/0.3233, allocations: 0 / 365 MB, free: 13.26 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002185/0.3235, allocations: 0 / 365 MB, free: 13.26 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.01224/0.3358, allocations: 3.645 MB / 368.6 MB, free: 9.547 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/0.3359, allocations: 12.03 kB / 368.6 MB, free: 9.535 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004984/0.3408, allocations: 0.8047 MB / 369.4 MB, free: 8.727 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004374/0.3452, allocations: 2.173 MB / 371.6 MB, free: 6.496 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002024/0.3455, allocations: 238.6 kB / 371.8 MB, free: 6.262 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006428/0.3461, allocations: 315.8 kB / 372.1 MB, free: 5.953 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007551/0.3537, allocations: 4.227 MB / 376.4 MB, free: 1.676 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.981e-05/0.3538, allocations: 8 kB / 376.4 MB, free: 1.668 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002937/0.3541, allocations: 124 kB / 376.5 MB, free: 1.547 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001609/0.3543, allocations: 158.3 kB / 376.6 MB, free: 1.391 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006387/0.3606, allocations: 3.613 MB / 380.2 MB, free: 13.77 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02133/0.382, allocations: 13.26 MB / 393.5 MB, free: 188 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007092/0.3891, allocations: 6.9 MB / 400.4 MB, free: 8.375 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002368/0.3915, allocations: 1.394 MB / 401.8 MB, free: 6.984 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006673/0.3982, allocations: 3.731 MB / 405.5 MB, free: 3.16 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.839e-05/0.3984, allocations: 43.56 kB / 405.6 MB, free: 3.109 MB / 334.1 MB Notification: Performance of pre-optimization done (n=119): time 4.929e-06/0.3984, allocations: 0 / 405.6 MB, free: 3.109 MB / 334.1 MB Notification: Performance of matching and sorting (n=122): time 0.01077/0.4092, allocations: 5.435 MB / 411 MB, free: 13.48 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.731e-05/0.4092, allocations: 64.41 kB / 411.1 MB, free: 13.4 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002502/0.4117, allocations: 1.701 MB / 412.8 MB, free: 11.69 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.727e-05/0.4118, allocations: 49.7 kB / 412.8 MB, free: 11.64 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000987/0.4128, allocations: 1.399 MB / 414.2 MB, free: 10.22 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003348/0.4132, allocations: 433.8 kB / 414.6 MB, free: 9.789 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001819/0.4134, allocations: 125.6 kB / 414.8 MB, free: 9.66 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.4135, allocations: 317 kB / 415.1 MB, free: 9.348 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001115/0.4146, allocations: 0.6442 MB / 415.7 MB, free: 8.707 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001403/0.416, allocations: 1.122 MB / 416.8 MB, free: 7.379 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002589/0.4186, allocations: 1.891 MB / 418.7 MB, free: 5.285 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.035e-06/0.4187, allocations: 4 kB / 418.7 MB, free: 5.281 MB / 350.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004006/0.4227, allocations: 2.339 MB / 421.1 MB, free: 2.902 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.634e-05/0.4227, allocations: 12 kB / 421.1 MB, free: 2.891 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.057e-05/0.4227, allocations: 12 kB / 421.1 MB, free: 2.879 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006884/0.4234, allocations: 271.1 kB / 421.4 MB, free: 2.602 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001328/0.4248, allocations: 363.5 kB / 421.7 MB, free: 2.246 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005236/0.43, allocations: 5.702 MB / 427.4 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001344/0.4314, allocations: 75.95 kB / 427.5 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001137/0.4315, allocations: 67.94 kB / 427.6 MB, free: 12 MB / 366.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.00177/0.4333, allocations: 1.001 MB / 428.6 MB, free: 10.99 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002856/0.4336, allocations: 181.8 kB / 428.7 MB, free: 10.81 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00381/0.4374, allocations: 2.142 MB / 430.9 MB, free: 8.602 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.176e-05/0.4374, allocations: 15.94 kB / 430.9 MB, free: 8.586 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.004e-05/0.4374, allocations: 11.94 kB / 430.9 MB, free: 8.574 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.202e-05/0.4375, allocations: 3.984 kB / 430.9 MB, free: 8.57 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007351/0.4448, allocations: 4.831 MB / 435.7 MB, free: 3.602 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.895e-06/0.4449, allocations: 4 kB / 435.8 MB, free: 3.598 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007644/0.4456, allocations: 171.8 kB / 435.9 MB, free: 3.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001149/0.4468, allocations: 456.1 kB / 436.4 MB, free: 2.969 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-05/0.4469, allocations: 35.92 kB / 436.4 MB, free: 2.934 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009579/0.4565, allocations: 10.09 MB / 446.5 MB, free: 8.172 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.4565, allocations: 4 kB / 446.5 MB, free: 8.168 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004928/0.4615, allocations: 3.015 MB / 449.5 MB, free: 5.059 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008272/0.4623, allocations: 414.6 kB / 449.9 MB, free: 4.633 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002192/0.4625, allocations: 31.98 kB / 449.9 MB, free: 4.602 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008782/0.4634, allocations: 71.95 kB / 450 MB, free: 4.531 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002844/0.4637, allocations: 104.7 kB / 450.1 MB, free: 4.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.562e-05/0.4638, allocations: 35.98 kB / 450.2 MB, free: 4.395 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001807/0.4656, allocations: 1.174 MB / 451.3 MB, free: 3.227 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.4656, allocations: 192 / 451.3 MB, free: 3.227 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001908/0.4675, allocations: 0.5352 MB / 451.9 MB, free: 2.691 MB / 382.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.0003054/0.4678, allocations: 151.1 kB / 452 MB, free: 2.531 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003263/0.4711, allocations: 2.104 MB / 454.1 MB, free: 380 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.758e-06/0.4711, allocations: 0 / 454.1 MB, free: 380 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.1692/0.6404, allocations: 1.525 MB / 455.6 MB, free: 110.2 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003127/0.6435, allocations: 498.3 kB / 456.1 MB, free: 110.2 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009789/0.6533, allocations: 6.969 MB / 463.1 MB, free: 106.9 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001611/0.655, allocations: 2.285 MB / 465.4 MB, free: 105.9 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001522/0.6565, allocations: 382 kB / 465.8 MB, free: 105.8 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002899/0.6568, allocations: 120.6 kB / 465.9 MB, free: 105.8 MB / 382.1 MB Notification: Performance of SimCode: time 1.293e-06/0.6568, allocations: 0 / 465.9 MB, free: 105.8 MB / 382.1 MB Notification: Performance of Templates: time 0.03994/0.6968, allocations: 26.12 MB / 492 MB, free: 83.42 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.sim & ./Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.pipe 2>&1)