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.001167/0.001167, allocations: 182.7 kB / 13.64 MB, free: 1.676 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.389/1.389, allocations: 194.3 MB / 208.4 MB, free: 6.707 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.001654/0.001654, allocations: 122.2 kB / 253.5 MB, free: 9.582 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.964e-05/2.966e-05, allocations: 4 kB / 304.9 MB, free: 29.76 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08047/0.08051, allocations: 44.5 MB / 349.4 MB, free: 1.242 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3169/0.3975, allocations: 97.79 MB / 447.2 MB, free: 13.86 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002867/0.3978, allocations: 85.27 kB / 447.3 MB, free: 13.81 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1044/0.5023, allocations: 40.27 MB / 487.6 MB, free: 11.86 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.5024, allocations: 0 / 487.6 MB, free: 11.86 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.000138/0.5025, allocations: 51.92 kB / 487.6 MB, free: 11.8 MB / 346.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.003979/0.5065, allocations: 1.934 MB / 489.6 MB, free: 9.941 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.955e-05/0.5065, allocations: 8.031 kB / 489.6 MB, free: 9.934 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000732/0.5073, allocations: 253.2 kB / 489.8 MB, free: 9.684 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002491/0.5098, allocations: 1.325 MB / 491.2 MB, free: 8.637 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001096/0.5099, allocations: 136.4 kB / 491.3 MB, free: 8.559 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002704/0.5102, allocations: 185.1 kB / 491.5 MB, free: 8.41 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00358/0.5138, allocations: 2.29 MB / 493.8 MB, free: 6.039 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.663e-05/0.5138, allocations: 7.906 kB / 493.8 MB, free: 6.031 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001719/0.514, allocations: 79.98 kB / 493.8 MB, free: 5.953 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.909e-05/0.5141, allocations: 83.5 kB / 493.9 MB, free: 5.871 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002786/0.5169, allocations: 1.783 MB / 495.7 MB, free: 4.086 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01086/0.5278, allocations: 7.164 MB / 0.4911 GB, free: 12.73 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001705/0.5295, allocations: 1.28 MB / 0.4923 GB, free: 11.38 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001031/0.5306, allocations: 0.6859 MB / 0.493 GB, free: 10.69 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002784/0.5309, allocations: 137.8 kB / 0.4931 GB, free: 10.54 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.921e-05/0.5309, allocations: 43.34 kB / 0.4932 GB, free: 10.48 MB / 362.7 MB Notification: Performance of pre-optimization done (n=90): time 4.709e-06/0.5309, allocations: 0 / 0.4932 GB, free: 10.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=113): time 0.01457/0.5455, allocations: 5.959 MB / 0.499 GB, free: 4.457 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.63e-05/0.5456, allocations: 72.3 kB / 0.4991 GB, free: 4.375 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002054/0.5477, allocations: 1.022 MB / 0.5001 GB, free: 3.34 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001101/0.5478, allocations: 45.7 kB / 0.5001 GB, free: 3.289 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006925/0.5485, allocations: 0.8574 MB / 0.5009 GB, free: 2.418 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003739/0.5489, allocations: 402.2 kB / 0.5013 GB, free: 2.02 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.059e-05/0.549, allocations: 28 kB / 0.5014 GB, free: 1.992 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.5492, allocations: 353.9 kB / 0.5017 GB, free: 1.641 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009875/0.5501, allocations: 0.6312 MB / 0.5023 GB, free: 1.008 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001152/0.5513, allocations: 0.9385 MB / 0.5032 GB, free: 15.95 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001197/0.5525, allocations: 0.7895 MB / 0.504 GB, free: 15.15 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.949e-06/0.5525, allocations: 4 kB / 0.504 GB, free: 15.15 MB / 378.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004062/0.5566, allocations: 2.331 MB / 0.5063 GB, free: 12.8 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.913e-05/0.5567, allocations: 8 kB / 0.5063 GB, free: 12.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.941e-05/0.5567, allocations: 8 kB / 0.5063 GB, free: 12.78 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001666/0.5584, allocations: 0.6414 MB / 0.5069 GB, free: 12.13 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001016/0.5594, allocations: 275.6 kB / 0.5072 GB, free: 11.86 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007424/0.5668, allocations: 6.296 MB / 0.5133 GB, free: 5.289 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001458/0.5683, allocations: 91.97 kB / 0.5134 GB, free: 5.199 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002185/0.5686, allocations: 55.98 kB / 0.5135 GB, free: 5.145 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete 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.0003397/0.5689, allocations: 178 kB / 0.5136 GB, free: 4.965 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004195/0.5693, allocations: 142.3 kB / 0.5138 GB, free: 4.824 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004266/0.5736, allocations: 2.185 MB / 0.5159 GB, free: 2.617 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.028e-05/0.5736, allocations: 12 kB / 0.5159 GB, free: 2.605 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-05/0.5737, allocations: 4 kB / 0.5159 GB, free: 2.602 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.17e-05/0.5737, allocations: 3.984 kB / 0.5159 GB, free: 2.598 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008378/0.5821, allocations: 4.354 MB / 0.5202 GB, free: 14.14 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.015e-05/0.5821, allocations: 8 kB / 0.5202 GB, free: 14.14 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007893/0.5829, allocations: 175.7 kB / 0.5204 GB, free: 13.96 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001909/0.5848, allocations: 0.7258 MB / 0.5211 GB, free: 13.23 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001071/0.5849, allocations: 35.94 kB / 0.5211 GB, free: 13.19 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009085/0.594, allocations: 8.034 MB / 0.5289 GB, free: 4.754 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.602e-06/0.5941, allocations: 7.938 kB / 0.529 GB, free: 4.746 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005503/0.5996, allocations: 3.256 MB / 0.5321 GB, free: 1.375 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008924/0.6005, allocations: 355.3 kB / 0.5325 GB, free: 1.008 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003255/0.6008, allocations: 35.98 kB / 0.5325 GB, free: 0.9727 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009651/0.6018, allocations: 79.91 kB / 0.5326 GB, free: 0.8945 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002796/0.6021, allocations: 100.8 kB / 0.5327 GB, free: 0.793 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.697e-05/0.6022, allocations: 39.94 kB / 0.5327 GB, free: 0.7539 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001454/0.6037, allocations: 0.7886 MB / 0.5335 GB, free: 15.96 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6037, allocations: 0 / 0.5335 GB, free: 15.96 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001649/0.6054, allocations: 475.9 kB / 0.5339 GB, free: 15.49 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 80 * 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.0005636/0.6059, allocations: 293.7 kB / 0.5342 GB, free: 15.2 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003543/0.6095, allocations: 2.209 MB / 0.5364 GB, free: 12.93 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.6095, allocations: 0.625 kB / 0.5364 GB, free: 12.93 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002503/0.612, allocations: 1.542 MB / 0.5379 GB, free: 11.32 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001808/0.6138, allocations: 352.7 kB / 0.5382 GB, free: 10.98 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006231/0.6201, allocations: 3.269 MB / 0.5414 GB, free: 7.641 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001888/0.622, allocations: 1.685 MB / 0.5431 GB, free: 5.922 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001184/0.6232, allocations: 292 kB / 0.5433 GB, free: 5.633 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003331/0.6235, allocations: 99.42 kB / 0.5434 GB, free: 5.535 MB / 410.7 MB Notification: Performance of SimCode: time 8.42e-07/0.6235, allocations: 0 / 0.5434 GB, free: 5.535 MB / 410.7 MB Notification: Performance of Templates: time 0.2301/0.8536, allocations: 25.14 MB / 0.568 GB, free: 114.7 MB / 410.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)