Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001652/0.001652, allocations: 117.5 kB / 16.63 MB, free: 6.812 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.001873/0.001873, allocations: 185.8 kB / 17.55 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.123/2.123, allocations: 205.1 MB / 223.4 MB, free: 12.36 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.001715/0.001715, allocations: 47.92 kB / 279.5 MB, free: 3.477 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1409/0.1426, allocations: 46.64 MB / 326.1 MB, free: 4.77 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses): time 0.01721/0.1599, allocations: 9.552 MB / 335.7 MB, free: 11.16 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01055/0.1706, allocations: 3.449 MB / 339.1 MB, free: 7.703 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003227/0.1739, allocations: 35.88 kB / 339.2 MB, free: 7.668 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004077/0.1781, allocations: 0.5867 MB / 339.8 MB, free: 7.078 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006195/0.1843, allocations: 0.7345 MB / 340.5 MB, free: 6.34 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002082/0.1865, allocations: 411.5 kB / 340.9 MB, free: 5.938 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00628/0.1928, allocations: 2.678 MB / 343.6 MB, free: 3.246 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004565/0.1974, allocations: 1.818 MB / 345.4 MB, free: 1.383 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003429/0.2009, allocations: 1.187 MB / 346.6 MB, free: 196 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004088/0.205, allocations: 1.588 MB / 348.2 MB, free: 14.6 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001486/0.2066, allocations: 312 kB / 348.5 MB, free: 14.29 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002628/0.2092, allocations: 0.5542 MB / 349 MB, free: 13.74 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002216/0.2115, allocations: 0.9856 MB / 350 MB, free: 12.75 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004563/0.2161, allocations: 1.485 MB / 351.5 MB, free: 11.26 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009108/0.2252, allocations: 4.233 MB / 355.7 MB, free: 7.012 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.113e-05/0.2253, allocations: 0 / 355.7 MB, free: 7.012 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.417e-06/0.2253, allocations: 0 / 355.7 MB, free: 7.012 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0003054/0.2257, allocations: 7.938 kB / 355.7 MB, free: 7.004 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.01278/0.2384, allocations: 3.146 MB / 358.9 MB, free: 3.789 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.582e-05/0.2386, allocations: 15.89 kB / 358.9 MB, free: 3.773 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001386/0.24, allocations: 325.2 kB / 359.2 MB, free: 3.453 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003736/0.2437, allocations: 1.603 MB / 360.8 MB, free: 1.797 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001646/0.2439, allocations: 156 kB / 361 MB, free: 1.641 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004122/0.2443, allocations: 203.9 kB / 361.2 MB, free: 1.441 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006649/0.251, allocations: 2.694 MB / 363.9 MB, free: 14.67 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.883e-05/0.2511, allocations: 8 kB / 363.9 MB, free: 14.66 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002272/0.2514, allocations: 76 kB / 364 MB, free: 14.59 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000156/0.2515, allocations: 99.86 kB / 364.1 MB, free: 14.49 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004878/0.2564, allocations: 2.28 MB / 366.3 MB, free: 12.21 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0209/0.2774, allocations: 8.232 MB / 374.6 MB, free: 3.773 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003759/0.2812, allocations: 1.635 MB / 376.2 MB, free: 2.078 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002219/0.2835, allocations: 1.077 MB / 377.3 MB, free: 1 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003081/0.2838, allocations: 130 kB / 377.4 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.494e-05/0.2839, allocations: 51.5 kB / 377.5 MB, free: 0.793 MB / 318.1 MB Notification: Performance of pre-optimization done (n=116): time 4.298e-06/0.2839, allocations: 0 / 377.5 MB, free: 0.793 MB / 318.1 MB Notification: Performance of matching and sorting (n=132): time 0.2293/0.5132, allocations: 6.204 MB / 383.7 MB, free: 50.13 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.044e-05/0.5133, allocations: 66.61 kB / 383.7 MB, free: 50.07 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003833/0.5171, allocations: 2.15 MB / 385.9 MB, free: 49.3 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002675/0.5174, allocations: 50.8 kB / 385.9 MB, free: 49.25 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008161/0.5182, allocations: 1.101 MB / 387 MB, free: 48.4 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004149/0.5187, allocations: 462.1 kB / 387.5 MB, free: 48.05 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004418/0.5191, allocations: 242 kB / 387.7 MB, free: 47.94 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.5192, allocations: 362.6 kB / 388.1 MB, free: 47.61 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001413/0.5206, allocations: 0.7601 MB / 388.8 MB, free: 47.35 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001509/0.5222, allocations: 1.011 MB / 389.8 MB, free: 46.82 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002502/0.5247, allocations: 1.865 MB / 391.7 MB, free: 45.88 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.204e-06/0.5247, allocations: 0 / 391.7 MB, free: 45.88 MB / 318.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.005166/0.5299, allocations: 2.765 MB / 394.5 MB, free: 44.84 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.637e-05/0.5299, allocations: 8.531 kB / 394.5 MB, free: 44.84 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.743e-05/0.5299, allocations: 7.875 kB / 394.5 MB, free: 44.84 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001829/0.5318, allocations: 0.7886 MB / 395.3 MB, free: 44.63 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001064/0.5328, allocations: 276.7 kB / 395.5 MB, free: 44.61 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009733/0.5426, allocations: 9.586 MB / 405.1 MB, free: 36.93 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001675/0.5443, allocations: 95.08 kB / 405.2 MB, free: 36.84 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000131/0.5444, allocations: 57.06 kB / 405.3 MB, free: 36.78 MB / 318.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.001256/0.5457, allocations: 0.7431 MB / 406 MB, free: 36.03 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004216/0.5461, allocations: 201.5 kB / 406.2 MB, free: 35.83 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003781/0.5499, allocations: 2.484 MB / 408.7 MB, free: 33.32 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.427e-05/0.55, allocations: 12 kB / 408.7 MB, free: 33.31 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.908e-06/0.55, allocations: 15.92 kB / 408.7 MB, free: 33.3 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.289e-05/0.55, allocations: 3.984 kB / 408.7 MB, free: 33.29 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007621/0.5576, allocations: 4.955 MB / 413.7 MB, free: 28.29 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.434e-06/0.5577, allocations: 4 kB / 413.7 MB, free: 28.29 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00096/0.5586, allocations: 215.9 kB / 413.9 MB, free: 28.07 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001486/0.5601, allocations: 0.6549 MB / 414.6 MB, free: 27.41 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.03e-05/0.5602, allocations: 27.98 kB / 414.6 MB, free: 27.38 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007449/0.5677, allocations: 8.704 MB / 423.3 MB, free: 18.3 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.718e-06/0.5677, allocations: 7.984 kB / 423.3 MB, free: 18.29 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005234/0.573, allocations: 3.53 MB / 426.8 MB, free: 14.72 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00122/0.5742, allocations: 443.7 kB / 427.3 MB, free: 14.27 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002658/0.5745, allocations: 32 kB / 427.3 MB, free: 14.23 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009363/0.5754, allocations: 87.89 kB / 427.4 MB, free: 14.15 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003265/0.5758, allocations: 96.84 kB / 427.5 MB, free: 14.05 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.941e-05/0.5759, allocations: 39.98 kB / 427.5 MB, free: 14.01 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001842/0.5777, allocations: 1.519 MB / 429 MB, free: 12.47 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5777, allocations: 0 / 429 MB, free: 12.47 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001749/0.5795, allocations: 0.5298 MB / 429.6 MB, free: 11.94 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.phi,PI.x) * 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 (97): * Single equations (assignments): 91 * Array equations: 2 * 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 {(2,12,100.0%), (1,6,100.0%), (2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001053/0.5806, allocations: 466.5 kB / 430 MB, free: 11.53 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.005061/0.5856, allocations: 2.864 MB / 432.9 MB, free: 8.648 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.733e-06/0.5857, allocations: 0 / 432.9 MB, free: 8.648 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002097/0.5878, allocations: 1.597 MB / 434.5 MB, free: 7 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002487/0.5903, allocations: 450.1 kB / 434.9 MB, free: 6.555 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008355/0.5986, allocations: 6.129 MB / 441 MB, free: 400 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0019/0.6006, allocations: 1.948 MB / 443 MB, free: 14.41 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.001488/0.6021, allocations: 399.6 kB / 443.4 MB, free: 14.01 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003848/0.6025, allocations: 131.4 kB / 443.5 MB, free: 13.88 MB / 334.1 MB Notification: Performance of SimCode: time 2.004e-06/0.6025, allocations: 0 / 443.5 MB, free: 13.88 MB / 334.1 MB Notification: Performance of Templates: time 0.06815/0.6706, allocations: 30.03 MB / 473.5 MB, free: 15.83 MB / 366.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe 2>&1)