Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009995/0.0009995, allocations: 179.8 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.23/1.23, allocations: 194.5 MB / 211.6 MB, free: 3.035 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001562/0.001562, allocations: 118.4 kB / 256.9 MB, free: 4.363 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003014/0.0003015, allocations: 8 kB / 310.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08445/0.08477, allocations: 44.49 MB / 355.1 MB, free: 2.328 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2311/0.316, allocations: 97.88 MB / 452.9 MB, free: 8.004 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002272/0.3162, allocations: 91.83 kB / 453 MB, free: 7.953 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09895/0.4152, allocations: 40.18 MB / 493.2 MB, free: 1.887 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.4152, allocations: 0 / 493.2 MB, free: 1.887 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001017/0.4153, allocations: 43.94 kB / 493.3 MB, free: 1.844 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 468 * Number of variables: 468 Notification: Performance of Generate backend data structure: time 0.003585/0.4189, allocations: 2.142 MB / 495.4 MB, free: 15.65 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/0.419, allocations: 8.031 kB / 495.4 MB, free: 15.64 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005654/0.4195, allocations: 253.2 kB / 495.7 MB, free: 15.39 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002312/0.4219, allocations: 1.332 MB / 497 MB, free: 14.01 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.263e-05/0.422, allocations: 139.6 kB / 497.1 MB, free: 13.88 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000241/0.4222, allocations: 184.2 kB / 497.3 MB, free: 13.7 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003327/0.4255, allocations: 2.348 MB / 499.6 MB, free: 11.27 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.03e-05/0.4256, allocations: 3.906 kB / 499.7 MB, free: 11.26 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001684/0.4258, allocations: 83.98 kB / 499.7 MB, free: 11.18 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-05/0.4259, allocations: 79.52 kB / 499.8 MB, free: 11.1 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002899/0.4288, allocations: 1.88 MB / 0.4899 GB, free: 9.219 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009334/0.4381, allocations: 7.172 MB / 0.4969 GB, free: 1.848 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001714/0.4398, allocations: 1.323 MB / 0.4982 GB, free: 476 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002434/0.4401, allocations: 138 kB / 0.4984 GB, free: 320 kB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.561e-05/0.4401, allocations: 43.55 kB / 0.4984 GB, free: 268 kB / 378.7 MB Notification: Performance of pre-optimization done (n=90): time 2.515e-06/0.4401, allocations: 3.938 kB / 0.4984 GB, free: 264 kB / 378.7 MB Notification: Performance of matching and sorting (n=113): time 0.01474/0.4549, allocations: 7.196 MB / 0.5054 GB, free: 8.91 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.776e-05/0.455, allocations: 64.41 kB / 0.5055 GB, free: 8.836 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001385/0.4564, allocations: 1.044 MB / 0.5065 GB, free: 7.781 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.841e-05/0.4565, allocations: 45.7 kB / 0.5066 GB, free: 7.73 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005416/0.457, allocations: 0.8536 MB / 0.5074 GB, free: 6.863 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002829/0.4573, allocations: 394.3 kB / 0.5078 GB, free: 6.473 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.523e-05/0.4574, allocations: 28 kB / 0.5078 GB, free: 6.445 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.4575, allocations: 357.9 kB / 0.5081 GB, free: 6.09 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001019/0.4585, allocations: 0.6858 MB / 0.5088 GB, free: 5.402 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001158/0.4597, allocations: 0.9775 MB / 0.5098 GB, free: 4.301 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001142/0.4609, allocations: 0.8306 MB / 0.5106 GB, free: 3.469 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.4609, allocations: 0 / 0.5106 GB, free: 3.469 MB / 394.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003745/0.4646, allocations: 2.432 MB / 0.5129 GB, free: 1.016 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.4647, allocations: 8 kB / 0.513 GB, free: 1.008 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/0.4647, allocations: 12 kB / 0.513 GB, free: 0.9961 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001428/0.4661, allocations: 0.6413 MB / 0.5136 GB, free: 352 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009555/0.4671, allocations: 279.6 kB / 0.5139 GB, free: 72 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1393/0.6064, allocations: 6.518 MB / 0.5202 GB, free: 98.05 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001151/0.6076, allocations: 92.95 kB / 0.5203 GB, free: 98.05 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.005e-05/0.6077, allocations: 47.47 kB / 0.5204 GB, free: 98.05 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * 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 (133): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(5,76.0%) 23,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009084/0.6086, allocations: 0.6067 MB / 0.521 GB, free: 97.94 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002114/0.6088, allocations: 136.6 kB / 0.5211 GB, free: 97.94 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003746/0.6125, allocations: 2.282 MB / 0.5233 GB, free: 97.82 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.627e-05/0.6126, allocations: 13.3 kB / 0.5233 GB, free: 97.82 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.063e-05/0.6126, allocations: 7.281 kB / 0.5233 GB, free: 97.82 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.319e-05/0.6126, allocations: 5.859 kB / 0.5233 GB, free: 97.82 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007484/0.6201, allocations: 4.43 MB / 0.5277 GB, free: 97.36 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.473e-06/0.6201, allocations: 2.906 kB / 0.5277 GB, free: 97.36 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007376/0.6209, allocations: 175.2 kB / 0.5278 GB, free: 97.36 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001842/0.6227, allocations: 0.7243 MB / 0.5285 GB, free: 97.33 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.869e-05/0.6228, allocations: 31.44 kB / 0.5286 GB, free: 97.33 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008361/0.6312, allocations: 8.308 MB / 0.5367 GB, free: 93.57 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.279e-06/0.6312, allocations: 4.938 kB / 0.5367 GB, free: 93.57 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004998/0.6362, allocations: 3.36 MB / 0.54 GB, free: 92.23 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007706/0.637, allocations: 365.3 kB / 0.5403 GB, free: 91.99 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001619/0.6372, allocations: 31.69 kB / 0.5403 GB, free: 91.97 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000727/0.6379, allocations: 85.88 kB / 0.5404 GB, free: 91.96 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002414/0.6382, allocations: 94.09 kB / 0.5405 GB, free: 91.95 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.657e-05/0.6383, allocations: 35.44 kB / 0.5406 GB, free: 91.94 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001012/0.6393, allocations: 0.805 MB / 0.5413 GB, free: 91.61 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.6393, allocations: 0 / 0.5413 GB, free: 91.61 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001371/0.6407, allocations: 480.8 kB / 0.5418 GB, free: 91.56 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (aimc.inertiaRotor.phi,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],vfController.x,loadInertia.w) * 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 (83): * Single equations (assignments): 79 * Array equations: 0 * 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 {(7,59.2%) 21,(1,100.0%) 1,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004153/0.6411, allocations: 299.6 kB / 0.5421 GB, free: 91.45 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002939/0.644, allocations: 2.318 MB / 0.5443 GB, free: 90.41 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.6441, allocations: 0 / 0.5443 GB, free: 90.41 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00192/0.646, allocations: 1.594 MB / 0.5459 GB, free: 89.59 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001219/0.6472, allocations: 350 kB / 0.5462 GB, free: 89.5 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00468/0.6519, allocations: 4.73 MB / 0.5509 GB, free: 86.95 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008741/0.6528, allocations: 1.684 MB / 0.5525 GB, free: 86.07 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0007329/0.6535, allocations: 294 kB / 0.5528 GB, free: 86.04 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002258/0.6538, allocations: 91.83 kB / 0.5529 GB, free: 86.04 MB / 394.7 MB Notification: Performance of SimCode: time 5.61e-07/0.6538, allocations: 2.25 kB / 0.5529 GB, free: 86.04 MB / 394.7 MB Notification: Performance of Templates: time 0.02997/0.6837, allocations: 24.83 MB / 0.5771 GB, free: 82.13 MB / 394.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe 2>&1)