Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.01014/0.01014, allocations: 165.6 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.574/1.574, allocations: 170.8 MB / 186.6 MB, free: 1.031 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001679/0.001679, allocations: 111.3 kB / 226.2 MB, free: 10.09 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003852/0.0003852, allocations: 8 kB / 274.1 MB, free: 10.07 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2342/0.2346, allocations: 38.77 MB / 312.9 MB, free: 38.91 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1105/0.3452, allocations: 98.41 MB / 411.3 MB, free: 8.07 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002538/0.3454, allocations: 99.94 kB / 411.4 MB, free: 7.973 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2758/0.6213, allocations: 48.77 MB / 460.2 MB, free: 64.7 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.6213, allocations: 0 / 460.2 MB, free: 64.7 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002691/0.6216, allocations: 55.94 kB / 460.2 MB, free: 64.64 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 518 * Number of variables: 518 Notification: Performance of Generate backend data structure: time 0.006908/0.6285, allocations: 2.75 MB / 463 MB, free: 61.82 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.6286, allocations: 8.031 kB / 463 MB, free: 61.81 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001414/0.63, allocations: 336.2 kB / 463.3 MB, free: 61.48 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00436/0.6344, allocations: 1.716 MB / 465 MB, free: 59.71 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001292/0.6345, allocations: 148 kB / 465.2 MB, free: 59.57 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006683/0.6352, allocations: 207.9 kB / 465.4 MB, free: 59.37 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00686/0.6421, allocations: 2.662 MB / 468 MB, free: 56.6 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001111/0.6422, allocations: 7.844 kB / 468 MB, free: 56.59 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005066/0.6428, allocations: 84 kB / 468.1 MB, free: 56.51 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000118/0.6429, allocations: 83.89 kB / 468.2 MB, free: 56.43 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004434/0.6473, allocations: 2.186 MB / 470.4 MB, free: 54.24 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01537/0.6627, allocations: 8.294 MB / 478.7 MB, free: 45.74 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002818/0.6656, allocations: 1.647 MB / 480.3 MB, free: 44.04 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003387/0.666, allocations: 138 kB / 480.5 MB, free: 43.89 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.317e-05/0.666, allocations: 47.56 kB / 480.5 MB, free: 43.83 MB / 314.7 MB Notification: Performance of pre-optimization done (n=115): time 5.4e-06/0.666, allocations: 0 / 480.5 MB, free: 43.83 MB / 314.7 MB Notification: Performance of matching and sorting (n=131): time 0.01366/0.6797, allocations: 6.799 MB / 487.3 MB, free: 36.85 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.569e-05/0.6798, allocations: 64.72 kB / 487.4 MB, free: 36.78 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003509/0.6833, allocations: 1.853 MB / 489.2 MB, free: 34.88 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002448/0.6836, allocations: 49.7 kB / 489.3 MB, free: 34.83 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007729/0.6843, allocations: 1.088 MB / 490.4 MB, free: 33.73 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004457/0.6848, allocations: 453.3 kB / 490.8 MB, free: 33.28 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001158/0.6849, allocations: 28 kB / 490.8 MB, free: 33.25 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001051/0.685, allocations: 357.9 kB / 491.2 MB, free: 32.89 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001272/0.6863, allocations: 0.773 MB / 492 MB, free: 32.12 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001316/0.6877, allocations: 1.021 MB / 493 MB, free: 31.01 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001401/0.6891, allocations: 0.9294 MB / 493.9 MB, free: 30.07 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.566e-06/0.6891, allocations: 0 / 493.9 MB, free: 30.07 MB / 314.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.005053/0.6942, allocations: 2.868 MB / 496.8 MB, free: 27.18 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.048e-05/0.6942, allocations: 35.89 kB / 496.8 MB, free: 27.14 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.713e-05/0.6943, allocations: 11.98 kB / 496.8 MB, free: 27.13 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002016/0.6963, allocations: 0.8463 MB / 497.7 MB, free: 26.28 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00103/0.6973, allocations: 263.6 kB / 497.9 MB, free: 26.02 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01083/0.7082, allocations: 9.637 MB / 0.4957 GB, free: 16.1 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001897/0.7101, allocations: 104 kB / 0.4958 GB, free: 16 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003992/0.7105, allocations: 51.98 kB / 0.4958 GB, free: 15.95 MB / 314.7 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 (120): * Single equations (assignments): 115 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * 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%) 39} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002195/0.7128, allocations: 0.7433 MB / 0.4965 GB, free: 15.2 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008337/0.7136, allocations: 197.6 kB / 0.4967 GB, free: 15 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008132/0.7217, allocations: 2.575 MB / 0.4992 GB, free: 12.4 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.156e-05/0.7218, allocations: 15.98 kB / 0.4993 GB, free: 12.39 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.412e-05/0.7219, allocations: 12 kB / 0.4993 GB, free: 12.38 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.368e-05/0.7219, allocations: 7.969 kB / 0.4993 GB, free: 12.37 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01554/0.7374, allocations: 5.081 MB / 0.5042 GB, free: 7.195 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.711e-05/0.7375, allocations: 0 / 0.5042 GB, free: 7.195 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001828/0.7394, allocations: 211.9 kB / 0.5044 GB, free: 6.988 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002831/0.7422, allocations: 0.7023 MB / 0.5051 GB, free: 6.273 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001683/0.7424, allocations: 35.97 kB / 0.5052 GB, free: 6.238 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01394/0.7564, allocations: 8.688 MB / 0.5137 GB, free: 13.15 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.7564, allocations: 4.031 kB / 0.5137 GB, free: 13.15 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01144/0.7679, allocations: 3.711 MB / 0.5173 GB, free: 9.34 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002146/0.7701, allocations: 478.4 kB / 0.5177 GB, free: 8.852 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000621/0.7707, allocations: 27.98 kB / 0.5178 GB, free: 8.824 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001795/0.7726, allocations: 99.86 kB / 0.5179 GB, free: 8.727 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004495/0.773, allocations: 108.9 kB / 0.518 GB, free: 8.621 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000161/0.7732, allocations: 39.98 kB / 0.518 GB, free: 8.582 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.004009/0.7772, allocations: 1.445 MB / 0.5194 GB, free: 7.113 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.91e-07/0.7772, allocations: 0 / 0.5194 GB, free: 7.113 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.003949/0.7812, allocations: 0.5742 MB / 0.52 GB, free: 6.539 MB / 330.7 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 (90): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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%) 19} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001796/0.783, allocations: 463.2 kB / 0.5204 GB, free: 6.109 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.008145/0.7912, allocations: 2.563 MB / 0.5229 GB, free: 3.5 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 8.035e-06/0.7913, allocations: 0 / 0.5229 GB, free: 3.5 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005255/0.7965, allocations: 1.74 MB / 0.5246 GB, free: 1.688 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004122/0.8007, allocations: 394.2 kB / 0.525 GB, free: 1.297 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01689/0.8176, allocations: 6.013 MB / 0.5309 GB, free: 11.23 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00304/0.8207, allocations: 1.997 MB / 0.5328 GB, free: 9.203 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.002684/0.8235, allocations: 391.5 kB / 0.5332 GB, free: 8.816 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007611/0.8242, allocations: 123.4 kB / 0.5333 GB, free: 8.695 MB / 346.7 MB Notification: Performance of SimCode: time 2.434e-06/0.8243, allocations: 4 kB / 0.5333 GB, free: 8.691 MB / 346.7 MB Notification: Performance of Templates: time 0.2328/1.057, allocations: 30.52 MB / 0.5631 GB, free: 88.13 MB / 346.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe 2>&1)