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.001375/0.001374, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001363/0.001363, allocations: 196.8 kB / 16.14 MB, free: 6.734 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.362/1.362, allocations: 205.1 MB / 222 MB, free: 5.004 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.001175/0.001175, allocations: 43.92 kB / 278.1 MB, free: 13 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2223/0.2234, allocations: 46.63 MB / 324.7 MB, free: 1.934 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter): time 0.01393/0.2374, allocations: 12.62 MB / 337.3 MB, free: 7.613 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.008761/0.2463, allocations: 4.227 MB / 341.5 MB, free: 3.375 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002878/0.2492, allocations: 67.62 kB / 341.6 MB, free: 3.309 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002689/0.2519, allocations: 0.8473 MB / 342.4 MB, free: 2.457 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004032/0.256, allocations: 1.146 MB / 343.6 MB, free: 1.305 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001879/0.2579, allocations: 0.7992 MB / 344.4 MB, free: 0.5039 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.004826/0.2627, allocations: 4.145 MB / 348.5 MB, free: 12.34 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002963/0.2657, allocations: 2.642 MB / 351.2 MB, free: 9.629 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001956/0.2677, allocations: 1.452 MB / 352.6 MB, free: 8.172 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002081/0.2697, allocations: 1.891 MB / 354.5 MB, free: 6.273 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004433/0.2702, allocations: 296 kB / 354.8 MB, free: 5.984 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001101/0.2713, allocations: 499.7 kB / 355.3 MB, free: 5.496 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007083/0.272, allocations: 0.8837 MB / 356.2 MB, free: 4.609 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001756/0.2738, allocations: 1.835 MB / 358 MB, free: 2.766 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005458/0.2793, allocations: 6.379 MB / 364.4 MB, free: 12.37 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.2793, allocations: 0 / 364.4 MB, free: 12.37 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.2793, allocations: 0 / 364.4 MB, free: 12.37 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001623/0.2795, allocations: 0 / 364.4 MB, free: 12.37 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.01044/0.2899, allocations: 4.285 MB / 368.7 MB, free: 8.012 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.29, allocations: 8.031 kB / 368.7 MB, free: 8.004 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004278/0.2943, allocations: 0.8125 MB / 369.5 MB, free: 7.188 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0038/0.2981, allocations: 2.173 MB / 371.7 MB, free: 4.957 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001689/0.2983, allocations: 234.6 kB / 371.9 MB, free: 4.727 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004725/0.2988, allocations: 311.8 kB / 372.2 MB, free: 4.422 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007363/0.3061, allocations: 4.23 MB / 376.4 MB, free: 144 kB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.143e-05/0.3062, allocations: 0 / 376.4 MB, free: 144 kB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002846/0.3065, allocations: 135.9 kB / 376.6 MB, free: 4 kB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001635/0.3067, allocations: 146.3 kB / 376.7 MB, free: 15.86 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006379/0.3131, allocations: 3.601 MB / 380.3 MB, free: 12.25 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02182/0.3349, allocations: 13.19 MB / 393.5 MB, free: 14.73 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00652/0.3415, allocations: 6.899 MB / 400.4 MB, free: 6.926 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002168/0.3437, allocations: 1.372 MB / 401.8 MB, free: 5.555 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006174/0.3499, allocations: 3.719 MB / 405.5 MB, free: 1.742 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.715e-05/0.35, allocations: 47.56 kB / 405.5 MB, free: 1.688 MB / 334.1 MB Notification: Performance of pre-optimization done (n=119): time 3.096e-06/0.35, allocations: 0 / 405.5 MB, free: 1.688 MB / 334.1 MB Notification: Performance of matching and sorting (n=122): time 0.01107/0.3611, allocations: 5.353 MB / 410.9 MB, free: 12.14 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.93e-05/0.3611, allocations: 64.41 kB / 411 MB, free: 12.06 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002574/0.3637, allocations: 1.709 MB / 412.7 MB, free: 10.34 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.444e-05/0.3638, allocations: 45.7 kB / 412.7 MB, free: 10.29 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009411/0.3648, allocations: 1.403 MB / 414.1 MB, free: 8.871 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003222/0.3651, allocations: 429.8 kB / 414.5 MB, free: 8.445 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004081/0.3655, allocations: 283.3 kB / 414.8 MB, free: 8.164 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.545e-05/0.3656, allocations: 305.1 kB / 415.1 MB, free: 7.863 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001073/0.3667, allocations: 0.6481 MB / 415.8 MB, free: 7.215 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00131/0.368, allocations: 1.118 MB / 416.9 MB, free: 5.891 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002491/0.3705, allocations: 1.868 MB / 418.7 MB, free: 3.82 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.904e-06/0.3705, allocations: 4 kB / 418.8 MB, free: 3.816 MB / 350.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.003709/0.3743, allocations: 2.319 MB / 421.1 MB, free: 1.457 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/0.3743, allocations: 8.281 kB / 421.1 MB, free: 1.449 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.925e-05/0.3743, allocations: 20 kB / 421.1 MB, free: 1.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006934/0.375, allocations: 271.2 kB / 421.4 MB, free: 1.152 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001326/0.3764, allocations: 359.4 kB / 421.7 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004899/0.3813, allocations: 5.694 MB / 427.4 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001202/0.3825, allocations: 84.08 kB / 427.5 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001049/0.3826, allocations: 67.94 kB / 427.6 MB, free: 10.55 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.001527/0.3841, allocations: 0.9931 MB / 428.5 MB, free: 9.551 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002688/0.3844, allocations: 185.8 kB / 428.7 MB, free: 9.367 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003505/0.3879, allocations: 2.119 MB / 430.8 MB, free: 7.188 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.156e-05/0.388, allocations: 12 kB / 430.9 MB, free: 7.176 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.887e-06/0.388, allocations: 4 kB / 430.9 MB, free: 7.172 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.074e-05/0.388, allocations: 3.984 kB / 430.9 MB, free: 7.168 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007177/0.3952, allocations: 4.823 MB / 435.7 MB, free: 2.207 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/0.3952, allocations: 0 / 435.7 MB, free: 2.207 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000756/0.396, allocations: 175.7 kB / 435.9 MB, free: 2.035 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001191/0.3972, allocations: 444.2 kB / 436.3 MB, free: 1.586 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.703e-05/0.3973, allocations: 39.92 kB / 436.3 MB, free: 1.547 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0092/0.4065, allocations: 10.07 MB / 446.4 MB, free: 6.801 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.855e-06/0.4065, allocations: 8.109 kB / 446.4 MB, free: 6.793 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004708/0.4112, allocations: 2.996 MB / 449.4 MB, free: 3.703 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008272/0.4121, allocations: 410.7 kB / 449.8 MB, free: 3.281 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002784/0.4124, allocations: 35.92 kB / 449.8 MB, free: 3.246 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008626/0.4132, allocations: 63.95 kB / 449.9 MB, free: 3.184 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002807/0.4135, allocations: 96.8 kB / 450 MB, free: 3.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.684e-05/0.4136, allocations: 39.98 kB / 450 MB, free: 3.051 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001825/0.4154, allocations: 1.174 MB / 451.2 MB, free: 1.883 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.4154, allocations: 3.938 kB / 451.2 MB, free: 1.879 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001992/0.4174, allocations: 0.5352 MB / 451.8 MB, free: 1.344 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.0003085/0.4178, allocations: 151.2 kB / 451.9 MB, free: 1.184 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.1485/0.5662, allocations: 2.062 MB / 454 MB, free: 111 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.877e-06/0.5663, allocations: 4.75 kB / 454 MB, free: 111 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002517/0.5688, allocations: 1.528 MB / 455.5 MB, free: 110.4 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002293/0.5711, allocations: 490.7 kB / 456 MB, free: 110.4 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009235/0.5804, allocations: 6.844 MB / 462.8 MB, free: 106.7 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001584/0.582, allocations: 2.276 MB / 465.1 MB, free: 105.7 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001179/0.5832, allocations: 393.2 kB / 465.5 MB, free: 105.6 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002734/0.5834, allocations: 120.4 kB / 465.6 MB, free: 105.6 MB / 382.1 MB Notification: Performance of SimCode: time 1.142e-06/0.5835, allocations: 3.594 kB / 465.6 MB, free: 105.6 MB / 382.1 MB Notification: Performance of Templates: time 0.03857/0.622, allocations: 26.43 MB / 492 MB, free: 82.5 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)