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.0009544/0.0009547, allocations: 92.69 kB / 16.65 MB, free: 6.59 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.001154/0.001154, allocations: 185 kB / 17.57 MB, free: 6.199 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.856/1.856, allocations: 205.4 MB / 223.8 MB, free: 13.06 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.0004926/0.0004925, allocations: 12 kB / 280.7 MB, free: 3.402 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1189, allocations: 47.58 MB / 328.3 MB, free: 3.746 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses): time 0.01103/0.13, allocations: 9.027 MB / 337.4 MB, free: 10.67 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.007874/0.1379, allocations: 3.418 MB / 340.8 MB, free: 7.242 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001986/0.14, allocations: 39.81 kB / 340.8 MB, free: 7.203 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002249/0.1423, allocations: 0.5789 MB / 341.4 MB, free: 6.621 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003428/0.1457, allocations: 0.75 MB / 342.1 MB, free: 5.867 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00151/0.1472, allocations: 407.5 kB / 342.5 MB, free: 5.469 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004376/0.1516, allocations: 3.048 MB / 345.6 MB, free: 2.406 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002152/0.1538, allocations: 1.466 MB / 347.1 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002054/0.1559, allocations: 0.9218 MB / 348 MB, free: 15.97 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00294/0.1589, allocations: 1.362 MB / 349.3 MB, free: 14.61 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000565/0.1595, allocations: 136 kB / 349.5 MB, free: 14.47 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001299/0.1608, allocations: 415.5 kB / 349.9 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008326/0.1616, allocations: 0.7785 MB / 350.7 MB, free: 13.29 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002617/0.1642, allocations: 1.295 MB / 351.9 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00565/0.1699, allocations: 4.025 MB / 356 MB, free: 7.938 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.17, allocations: 4 kB / 356 MB, free: 7.934 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.916e-06/0.17, allocations: 0 / 356 MB, free: 7.934 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001454/0.1701, allocations: 4 kB / 356 MB, free: 7.93 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.007438/0.1776, allocations: 2.675 MB / 358.7 MB, free: 5.188 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.128e-05/0.1777, allocations: 8.031 kB / 358.7 MB, free: 5.18 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001201/0.1789, allocations: 333.2 kB / 359 MB, free: 4.852 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003042/0.1819, allocations: 1.603 MB / 360.6 MB, free: 3.195 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001366/0.1821, allocations: 159.9 kB / 360.7 MB, free: 3.035 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000374/0.1825, allocations: 203.8 kB / 360.9 MB, free: 2.836 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00537/0.1879, allocations: 2.714 MB / 363.7 MB, free: 44 kB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.047e-05/0.188, allocations: 4 kB / 363.7 MB, free: 40 kB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000221/0.1882, allocations: 88.02 kB / 363.8 MB, free: 15.95 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001385/0.1883, allocations: 95.92 kB / 363.8 MB, free: 15.86 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004696/0.193, allocations: 2.303 MB / 366.1 MB, free: 13.55 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01663/0.2097, allocations: 8.271 MB / 374.4 MB, free: 5.082 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003408/0.2132, allocations: 1.651 MB / 376.1 MB, free: 3.371 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00218/0.2154, allocations: 1.097 MB / 377.2 MB, free: 2.273 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003396/0.2158, allocations: 130 kB / 377.3 MB, free: 2.125 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.632e-05/0.2158, allocations: 47.5 kB / 377.3 MB, free: 2.07 MB / 318.1 MB Notification: Performance of pre-optimization done (n=116): time 4.067e-06/0.2158, allocations: 4 kB / 377.3 MB, free: 2.066 MB / 318.1 MB Notification: Performance of matching and sorting (n=132): time 0.2368/0.4527, allocations: 6.268 MB / 383.6 MB, free: 49.88 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.938e-05/0.4527, allocations: 69.83 kB / 383.7 MB, free: 49.82 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003163/0.4559, allocations: 2.151 MB / 385.8 MB, free: 49.05 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001203/0.456, allocations: 50.8 kB / 385.9 MB, free: 49 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008084/0.4568, allocations: 1.11 MB / 387 MB, free: 48.14 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003637/0.4572, allocations: 456.6 kB / 387.4 MB, free: 47.8 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001905/0.4574, allocations: 111.9 kB / 387.5 MB, free: 47.74 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001089/0.4575, allocations: 357.3 kB / 387.9 MB, free: 47.42 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001332/0.4589, allocations: 0.7782 MB / 388.7 MB, free: 47.15 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001462/0.4603, allocations: 1.025 MB / 389.7 MB, free: 46.62 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002892/0.4633, allocations: 1.881 MB / 391.6 MB, free: 45.71 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.993e-06/0.4633, allocations: 3.906 kB / 391.6 MB, free: 45.71 MB / 318.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004983/0.4683, allocations: 2.791 MB / 394.4 MB, free: 44.67 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.772e-05/0.4683, allocations: 6.875 kB / 394.4 MB, free: 44.67 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.742e-05/0.4683, allocations: 10.77 kB / 394.4 MB, free: 44.67 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001873/0.4702, allocations: 0.7891 MB / 395.2 MB, free: 44.46 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009769/0.4712, allocations: 279.2 kB / 395.5 MB, free: 44.44 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009009/0.4802, allocations: 8.754 MB / 404.2 MB, free: 38.27 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001688/0.4819, allocations: 100.7 kB / 404.3 MB, free: 38.17 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001098/0.4821, allocations: 55.98 kB / 404.4 MB, free: 38.11 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.001296/0.4834, allocations: 0.7409 MB / 405.1 MB, free: 37.36 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003917/0.4838, allocations: 201.5 kB / 405.3 MB, free: 37.16 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003882/0.4877, allocations: 2.515 MB / 407.8 MB, free: 34.63 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.392e-05/0.4877, allocations: 12 kB / 407.8 MB, free: 34.62 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/0.4877, allocations: 8 kB / 407.8 MB, free: 34.61 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.458e-05/0.4877, allocations: 11.91 kB / 407.8 MB, free: 34.6 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00717/0.4949, allocations: 4.975 MB / 412.8 MB, free: 29.57 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.584e-06/0.4949, allocations: 7.938 kB / 412.8 MB, free: 29.56 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009044/0.4958, allocations: 219.6 kB / 413 MB, free: 29.35 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001513/0.4974, allocations: 0.6546 MB / 413.7 MB, free: 28.68 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.186e-05/0.4975, allocations: 35.97 kB / 413.7 MB, free: 28.65 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006892/0.5044, allocations: 7.924 MB / 421.7 MB, free: 20.35 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.5044, allocations: 4.031 kB / 421.7 MB, free: 20.35 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005333/0.5097, allocations: 3.572 MB / 425.2 MB, free: 16.73 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001045/0.5108, allocations: 450.4 kB / 425.7 MB, free: 16.27 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002138/0.511, allocations: 24 kB / 425.7 MB, free: 16.25 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008938/0.5119, allocations: 95.89 kB / 425.8 MB, free: 16.15 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002939/0.5122, allocations: 114.9 kB / 425.9 MB, free: 16.04 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.306e-05/0.5123, allocations: 40.66 kB / 425.9 MB, free: 16.01 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001758/0.5141, allocations: 1.519 MB / 427.5 MB, free: 14.46 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5141, allocations: 0 / 427.5 MB, free: 14.46 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001991/0.5161, allocations: 0.5208 MB / 428 MB, free: 13.95 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.001254/0.5174, allocations: 469.4 kB / 428.4 MB, free: 13.52 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003976/0.5214, allocations: 2.398 MB / 430.8 MB, free: 11.09 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.722e-06/0.5214, allocations: 4.547 kB / 430.8 MB, free: 11.09 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002148/0.5235, allocations: 1.618 MB / 432.5 MB, free: 9.422 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002606/0.5262, allocations: 415.9 kB / 432.9 MB, free: 9.012 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008093/0.5343, allocations: 6.273 MB / 439.1 MB, free: 2.691 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001412/0.5357, allocations: 1.947 MB / 441.1 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.00142/0.5371, allocations: 391.7 kB / 441.5 MB, free: 332 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003507/0.5375, allocations: 131.4 kB / 441.6 MB, free: 200 kB / 318.1 MB Notification: Performance of SimCode: time 1.112e-06/0.5375, allocations: 0 / 441.6 MB, free: 200 kB / 318.1 MB Notification: Performance of Templates: time 0.05742/0.5949, allocations: 28.4 MB / 470 MB, free: 3.758 MB / 350.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)