Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.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.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|PI.x|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|PI.x|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001089/0.001089, allocations: 102.7 kB / 18.4 MB, free: 4.66 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.001033/0.001033, allocations: 190.1 kB / 19.34 MB, free: 3.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.358/1.358, allocations: 205.1 MB / 225.2 MB, free: 12.24 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.001212/0.001212, allocations: 51.94 kB / 329.2 MB, free: 3.297 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07651/0.07773, allocations: 46.62 MB / 375.9 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses): time 0.1635/0.2412, allocations: 9.602 MB / 385.5 MB, free: 8.145 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005531/0.2468, allocations: 3.482 MB / 388.9 MB, free: 6.18 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008115/0.2476, allocations: 45.41 kB / 389 MB, free: 6.164 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001498/0.2492, allocations: 0.6705 MB / 389.7 MB, free: 5.805 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001709/0.2509, allocations: 0.8283 MB / 390.5 MB, free: 5.289 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008686/0.2518, allocations: 462.5 kB / 390.9 MB, free: 5.023 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002212/0.254, allocations: 2.67 MB / 393.6 MB, free: 3.699 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001902/0.2559, allocations: 1.814 MB / 395.4 MB, free: 2.945 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001325/0.2573, allocations: 1.185 MB / 396.6 MB, free: 2.371 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001636/0.2589, allocations: 1.501 MB / 398.1 MB, free: 1.668 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004214/0.2593, allocations: 305.2 kB / 398.4 MB, free: 1.668 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009774/0.2603, allocations: 0.558 MB / 399 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000887/0.2612, allocations: 1.029 MB / 400 MB, free: 1.062 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001247/0.2625, allocations: 1.482 MB / 401.5 MB, free: 88 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004122/0.2666, allocations: 4.28 MB / 405.8 MB, free: 13.66 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.2666, allocations: 1.625 kB / 405.8 MB, free: 13.66 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2666, allocations: 3.938 kB / 405.8 MB, free: 13.65 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.987e-05/0.2667, allocations: 0 / 405.8 MB, free: 13.65 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.005821/0.2725, allocations: 3.154 MB / 408.9 MB, free: 11.45 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.2726, allocations: 9.562 kB / 408.9 MB, free: 11.45 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007865/0.2734, allocations: 320.9 kB / 409.2 MB, free: 11.29 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002521/0.2759, allocations: 1.616 MB / 410.9 MB, free: 10.14 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001129/0.276, allocations: 158 kB / 411 MB, free: 10.06 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003122/0.2764, allocations: 204.6 kB / 411.2 MB, free: 9.992 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004398/0.2808, allocations: 2.696 MB / 413.9 MB, free: 8.375 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.422e-05/0.2808, allocations: 6.062 kB / 413.9 MB, free: 8.371 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002025/0.2811, allocations: 86.2 kB / 414 MB, free: 8.305 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001048/0.2812, allocations: 97.64 kB / 414.1 MB, free: 8.289 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00397/0.2851, allocations: 2.282 MB / 416.4 MB, free: 6.926 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0124/0.2976, allocations: 8.126 MB / 424.5 MB, free: 14.6 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00296/0.3005, allocations: 1.63 MB / 426.1 MB, free: 12.9 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001978/0.3025, allocations: 1.109 MB / 427.2 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002514/0.3028, allocations: 138 kB / 427.4 MB, free: 11.64 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.456e-05/0.3028, allocations: 51.5 kB / 427.4 MB, free: 11.58 MB / 350.1 MB Notification: Performance of pre-optimization done (n=116): time 3.697e-06/0.3029, allocations: 0 / 427.4 MB, free: 11.58 MB / 350.1 MB Notification: Performance of matching and sorting (n=132): time 0.01259/0.3155, allocations: 6.205 MB / 433.6 MB, free: 5.27 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.284e-05/0.3155, allocations: 72.66 kB / 433.7 MB, free: 5.188 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002748/0.3183, allocations: 2.152 MB / 435.9 MB, free: 2.988 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.393e-05/0.3184, allocations: 49.7 kB / 435.9 MB, free: 2.934 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007755/0.3191, allocations: 1.104 MB / 437 MB, free: 1.816 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003429/0.3195, allocations: 453.4 kB / 437.5 MB, free: 1.367 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004114/0.3199, allocations: 243.4 kB / 437.7 MB, free: 1.125 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.3201, allocations: 357.9 kB / 438 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001299/0.3214, allocations: 0.7613 MB / 438.8 MB, free: 4 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001499/0.3229, allocations: 1.013 MB / 439.8 MB, free: 14.9 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002897/0.3258, allocations: 1.857 MB / 441.7 MB, free: 12.95 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.813e-06/0.3258, allocations: 4 kB / 441.7 MB, free: 12.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.005066/0.3309, allocations: 2.761 MB / 444.4 MB, free: 10.17 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.3309, allocations: 8 kB / 444.4 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.37e-05/0.3309, allocations: 4 kB / 444.4 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001995/0.3329, allocations: 0.7852 MB / 445.2 MB, free: 9.367 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001127/0.3341, allocations: 275.6 kB / 445.5 MB, free: 9.098 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01197/0.3461, allocations: 9.589 MB / 455.1 MB, free: 15.22 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001175/0.3472, allocations: 95.95 kB / 455.2 MB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000136/0.3474, allocations: 55.98 kB / 455.2 MB, free: 15.07 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (126): * Single equations (assignments): 122 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (6,33,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001158/0.3486, allocations: 0.7317 MB / 456 MB, free: 14.33 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003666/0.3489, allocations: 209.4 kB / 456.2 MB, free: 14.12 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004611/0.3536, allocations: 2.481 MB / 458.7 MB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.398e-05/0.3536, allocations: 3.984 kB / 458.7 MB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.3536, allocations: 0 / 458.7 MB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008292/0.3544, allocations: 450.4 kB / 459.1 MB, free: 11.15 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002984/0.3547, allocations: 39.86 kB / 459.1 MB, free: 11.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009564/0.3557, allocations: 95.95 kB / 459.2 MB, free: 11.02 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002529/0.356, allocations: 113 kB / 459.3 MB, free: 10.91 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005767/0.3617, allocations: 2.581 MB / 461.9 MB, free: 8.309 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004898/0.3667, allocations: 3.086 MB / 465 MB, free: 5.199 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001317/0.368, allocations: 0.8612 MB / 465.9 MB, free: 4.34 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002855/0.3709, allocations: 1.519 MB / 467.4 MB, free: 2.797 MB / 382.1 MB Notification: Performance of Backend: time 3.71e-07/0.3709, allocations: 0 / 467.4 MB, free: 2.797 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005774/0.3767, allocations: 2.207 MB / 469.6 MB, free: 0.5664 MB / 382.1 MB Notification: Performance of SimCode: time 0.00882/0.3855, allocations: 5.449 MB / 475 MB, free: 11.05 MB / 398.1 MB Notification: Performance of Templates: time 0.05414/0.4397, allocations: 32.95 MB / 0.4961 GB, free: 10.05 MB / 430.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe 2>&1)