Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_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.1_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.1_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.001025/0.001025, allocations: 99.31 kB / 15.05 MB, free: 1.105 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.001264/0.001264, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.918/1.918, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.0004624/0.0004626, allocations: 16 kB / 278.9 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2986/0.2991, allocations: 47.58 MB / 326.5 MB, free: 1.41 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses): time 0.009042/0.3081, allocations: 7.806 MB / 334.3 MB, free: 11.41 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00722/0.3154, allocations: 3.333 MB / 337.6 MB, free: 8.348 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001332/0.3168, allocations: 39.81 kB / 337.6 MB, free: 8.309 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001506/0.3183, allocations: 0.5481 MB / 338.2 MB, free: 7.758 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002201/0.3205, allocations: 0.6971 MB / 338.9 MB, free: 7.059 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001041/0.3216, allocations: 319.3 kB / 339.2 MB, free: 6.746 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.00272/0.3243, allocations: 1.735 MB / 340.9 MB, free: 5.004 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001487/0.3258, allocations: 1.284 MB / 342.2 MB, free: 3.688 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00138/0.3272, allocations: 0.8407 MB / 343.1 MB, free: 2.844 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001481/0.3287, allocations: 1.101 MB / 344.2 MB, free: 1.738 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002641/0.3289, allocations: 136 kB / 344.3 MB, free: 1.605 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008027/0.3298, allocations: 327.6 kB / 344.6 MB, free: 1.285 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007803/0.3305, allocations: 0.7908 MB / 345.4 MB, free: 0.4922 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005704/0.3311, allocations: 0.512 MB / 345.9 MB, free: 15.97 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002944/0.3341, allocations: 3.346 MB / 349.3 MB, free: 12.62 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.3341, allocations: 0 / 349.3 MB, free: 12.62 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3341, allocations: 0 / 349.3 MB, free: 12.62 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.216e-05/0.3342, allocations: 0 / 349.3 MB, free: 12.62 MB / 286.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.004933/0.3391, allocations: 2.714 MB / 352 MB, free: 9.836 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.3392, allocations: 8.031 kB / 352 MB, free: 9.828 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007602/0.3399, allocations: 324.3 kB / 352.3 MB, free: 9.508 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002618/0.3426, allocations: 1.541 MB / 353.8 MB, free: 7.914 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001028/0.3427, allocations: 152 kB / 354 MB, free: 7.762 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003274/0.343, allocations: 211.9 kB / 354.2 MB, free: 7.555 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004291/0.3473, allocations: 2.659 MB / 356.9 MB, free: 4.816 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.468e-05/0.3474, allocations: 11.89 kB / 356.9 MB, free: 4.805 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001934/0.3476, allocations: 87.94 kB / 357 MB, free: 4.719 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001323/0.3477, allocations: 103.9 kB / 357.1 MB, free: 4.617 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004679/0.3524, allocations: 2.26 MB / 359.3 MB, free: 2.355 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01527/0.3677, allocations: 8.185 MB / 367.5 MB, free: 9.969 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002805/0.3706, allocations: 1.596 MB / 369.1 MB, free: 8.312 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002809/0.3709, allocations: 131.3 kB / 369.2 MB, free: 8.168 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.854e-05/0.3709, allocations: 43.56 kB / 369.3 MB, free: 8.117 MB / 302.1 MB Notification: Performance of pre-optimization done (n=116): time 3.968e-06/0.3709, allocations: 0 / 369.3 MB, free: 8.117 MB / 302.1 MB Notification: Performance of matching and sorting (n=132): time 0.01387/0.3848, allocations: 6.461 MB / 375.7 MB, free: 1.516 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.516e-05/0.3849, allocations: 72.66 kB / 375.8 MB, free: 1.434 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003571/0.3885, allocations: 2.102 MB / 377.9 MB, free: 15.29 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001955/0.3887, allocations: 53.7 kB / 378 MB, free: 15.23 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009575/0.3897, allocations: 1.092 MB / 379 MB, free: 14.12 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005358/0.3902, allocations: 461.4 kB / 379.5 MB, free: 13.66 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001035/0.3903, allocations: 24 kB / 379.5 MB, free: 13.64 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002037/0.3906, allocations: 357.9 kB / 379.9 MB, free: 13.29 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001478/0.392, allocations: 0.7612 MB / 380.6 MB, free: 12.52 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001617/0.3937, allocations: 1.01 MB / 381.6 MB, free: 11.42 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001638/0.3953, allocations: 0.8964 MB / 382.5 MB, free: 10.52 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.496e-06/0.3953, allocations: 4 kB / 382.5 MB, free: 10.52 MB / 318.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.005375/0.4007, allocations: 2.783 MB / 385.3 MB, free: 7.719 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.651e-05/0.4008, allocations: 8 kB / 385.3 MB, free: 7.711 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.843e-05/0.4008, allocations: 4 kB / 385.3 MB, free: 7.707 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002055/0.4029, allocations: 0.8055 MB / 386.1 MB, free: 6.895 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001122/0.404, allocations: 275.6 kB / 386.4 MB, free: 6.625 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0123/0.4163, allocations: 9.282 MB / 395.7 MB, free: 13.06 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001654/0.418, allocations: 99.89 kB / 395.8 MB, free: 12.96 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002679/0.4183, allocations: 56.05 kB / 395.8 MB, free: 12.91 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (124): * Single equations (assignments): 120 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(6,88.9%) 36} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001937/0.4202, allocations: 0.7433 MB / 396.6 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006996/0.421, allocations: 197.9 kB / 396.8 MB, free: 11.96 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004963/0.4259, allocations: 2.512 MB / 399.3 MB, free: 9.43 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-05/0.426, allocations: 16 kB / 399.3 MB, free: 9.414 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.256e-05/0.426, allocations: 4 kB / 399.3 MB, free: 9.41 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.389e-05/0.426, allocations: 7.922 kB / 399.3 MB, free: 9.402 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00958/0.4356, allocations: 4.894 MB / 404.2 MB, free: 4.414 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.198e-06/0.4357, allocations: 0 / 404.2 MB, free: 4.414 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000987/0.4367, allocations: 215.9 kB / 404.4 MB, free: 4.203 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001774/0.4384, allocations: 0.6743 MB / 405.1 MB, free: 3.516 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001486/0.4386, allocations: 35.98 kB / 405.1 MB, free: 3.48 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009533/0.4482, allocations: 8.334 MB / 413.5 MB, free: 10.74 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.4482, allocations: 4.031 kB / 413.5 MB, free: 10.74 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006427/0.4546, allocations: 3.634 MB / 417.1 MB, free: 7.008 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001165/0.4558, allocations: 430.5 kB / 417.5 MB, free: 6.566 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004547/0.4563, allocations: 32 kB / 417.6 MB, free: 6.535 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001157/0.4575, allocations: 95.89 kB / 417.6 MB, free: 6.441 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003077/0.4578, allocations: 96.84 kB / 417.7 MB, free: 6.348 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001105/0.4579, allocations: 35.98 kB / 417.8 MB, free: 6.312 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.002566/0.4605, allocations: 1.476 MB / 419.3 MB, free: 4.812 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.4605, allocations: 0 / 419.3 MB, free: 4.812 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002335/0.4629, allocations: 0.5234 MB / 419.8 MB, free: 4.289 MB / 350.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 (94): * Single equations (assignments): 88 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 12,(1,100.0%) 6,(2,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001156/0.464, allocations: 428.6 kB / 420.2 MB, free: 3.867 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00457/0.4686, allocations: 2.397 MB / 422.6 MB, free: 1.445 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 8.446e-06/0.4687, allocations: 4 kB / 422.6 MB, free: 1.441 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002931/0.4716, allocations: 1.643 MB / 424.2 MB, free: 15.74 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002623/0.4743, allocations: 410.2 kB / 424.6 MB, free: 15.33 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01137/0.4857, allocations: 6.008 MB / 430.6 MB, free: 9.277 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002633/0.4883, allocations: 2.006 MB / 432.7 MB, free: 7.238 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001745/0.4901, allocations: 387.6 kB / 433 MB, free: 6.855 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006442/0.4908, allocations: 127.4 kB / 433.2 MB, free: 6.734 MB / 366.1 MB Notification: Performance of SimCode: time 9.02e-07/0.4908, allocations: 0 / 433.2 MB, free: 6.734 MB / 366.1 MB Notification: Performance of Templates: time 0.2763/0.7671, allocations: 26.96 MB / 460.1 MB, free: 110.8 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.makefile Environment - environmentSimulation: (rm -f Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.sim & ./Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe 2>&1) Environment - environmentSimulation: