Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.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.SynchronousInductionMachines.SMR_Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001469/0.001469, allocations: 171.5 kB / 7.638 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.167/1.167, allocations: 170.6 MB / 178.7 MB, free: 15.59 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: 103.5 kB / 218 MB, free: 8.344 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.452e-05/1.453e-05, allocations: 4 kB / 262.2 MB, free: 26.39 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05814/0.05817, allocations: 38.78 MB / 301 MB, free: 3.613 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2512/0.3094, allocations: 95.1 MB / 396.1 MB, free: 5.625 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002195/0.3096, allocations: 83.7 kB / 396.2 MB, free: 5.582 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1213/0.431, allocations: 44.94 MB / 441.1 MB, free: 14.3 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.431, allocations: 0 / 441.1 MB, free: 14.3 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002236/0.4313, allocations: 63.92 kB / 441.2 MB, free: 14.24 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 552 * Number of variables: 552 Notification: Performance of Generate backend data structure: time 0.005749/0.437, allocations: 2.227 MB / 443.4 MB, free: 11.95 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.4371, allocations: 8.031 kB / 443.4 MB, free: 11.95 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001159/0.4382, allocations: 292.8 kB / 443.7 MB, free: 11.66 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003042/0.4413, allocations: 1.494 MB / 445.2 MB, free: 10.1 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.256e-05/0.4414, allocations: 68 kB / 445.2 MB, free: 10.04 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004919/0.4419, allocations: 131.8 kB / 445.4 MB, free: 9.906 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003893/0.4458, allocations: 2 MB / 447.4 MB, free: 7.898 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004411/0.4502, allocations: 2.398 MB / 449.8 MB, free: 5.363 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.767e-05/0.4503, allocations: 11.89 kB / 449.8 MB, free: 5.352 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001887/0.4505, allocations: 4 kB / 449.8 MB, free: 5.348 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.645e-05/0.4506, allocations: 104.1 kB / 449.9 MB, free: 5.242 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01257/0.4632, allocations: 8.125 MB / 458 MB, free: 12.89 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001997/0.4652, allocations: 1.64 MB / 459.7 MB, free: 11.12 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001054/0.4663, allocations: 0.7545 MB / 460.4 MB, free: 10.37 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002789/0.4666, allocations: 134.4 kB / 460.5 MB, free: 10.21 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.993e-05/0.4667, allocations: 43.88 kB / 460.6 MB, free: 10.16 MB / 346.7 MB Notification: Performance of pre-optimization done (n=104): time 3.707e-06/0.4667, allocations: 0 / 460.6 MB, free: 10.16 MB / 346.7 MB Notification: Performance of matching and sorting (n=125): time 0.008823/0.4755, allocations: 4.721 MB / 465.3 MB, free: 5.395 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.233e-05/0.4756, allocations: 72.7 kB / 465.4 MB, free: 5.312 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001831/0.4774, allocations: 0.9577 MB / 466.3 MB, free: 4.348 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001038/0.4776, allocations: 25.7 kB / 466.4 MB, free: 4.316 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009229/0.4785, allocations: 1.013 MB / 467.4 MB, free: 3.289 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004653/0.479, allocations: 421.8 kB / 467.8 MB, free: 2.871 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.927e-05/0.4791, allocations: 0 / 467.8 MB, free: 2.871 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001964/0.4793, allocations: 369.8 kB / 468.1 MB, free: 2.504 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001107/0.4804, allocations: 0.6599 MB / 468.8 MB, free: 1.844 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001336/0.4817, allocations: 1.038 MB / 469.8 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1565/0.6382, allocations: 0.8338 MB / 470.7 MB, free: 86.37 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.111e-05/0.6383, allocations: 3.875 kB / 470.7 MB, free: 86.37 MB / 346.7 MB Notification: Performance of matching and sorting (n=186) (initialization): time 0.004216/0.6425, allocations: 2.333 MB / 473 MB, free: 86.3 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.959e-05/0.6426, allocations: 10.41 kB / 473 MB, free: 86.3 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.366e-05/0.6426, allocations: 13.16 kB / 473 MB, free: 86.3 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001423/0.6441, allocations: 0.5683 MB / 473.6 MB, free: 86.27 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001358/0.6454, allocations: 334.5 kB / 473.9 MB, free: 86.27 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006509/0.652, allocations: 6.059 MB / 480 MB, free: 83.88 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001241/0.6532, allocations: 82.5 kB / 480.1 MB, free: 83.88 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001219/0.6534, allocations: 65.5 kB / 480.1 MB, free: 83.87 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (157): * Single equations (assignments): 154 * 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: 2 * 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: 2 {(6,72.2%) 22,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002445/0.6536, allocations: 140.6 kB / 480.3 MB, free: 83.77 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002448/0.6539, allocations: 141.9 kB / 480.4 MB, free: 83.77 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003325/0.6572, allocations: 2.148 MB / 482.6 MB, free: 83.64 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.177e-05/0.6572, allocations: 15.25 kB / 482.6 MB, free: 83.64 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.256e-06/0.6572, allocations: 10.67 kB / 482.6 MB, free: 83.64 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.296e-05/0.6573, allocations: 10.64 kB / 482.6 MB, free: 83.64 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005897/0.6632, allocations: 4.277 MB / 486.9 MB, free: 83.18 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.6632, allocations: 2.719 kB / 486.9 MB, free: 83.18 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008228/0.664, allocations: 215.1 kB / 487.1 MB, free: 83.18 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001417/0.6655, allocations: 0.627 MB / 487.7 MB, free: 83.15 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.22e-05/0.6656, allocations: 13.28 kB / 487.7 MB, free: 83.15 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00655/0.6721, allocations: 7.733 MB / 495.5 MB, free: 79.5 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.89e-06/0.6722, allocations: 6.844 kB / 495.5 MB, free: 79.5 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003874/0.676, allocations: 3.27 MB / 498.7 MB, free: 78.81 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006047/0.6767, allocations: 377.4 kB / 499.1 MB, free: 78.56 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001763/0.6768, allocations: 11.22 kB / 499.1 MB, free: 78.56 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007617/0.6776, allocations: 70.34 kB / 499.2 MB, free: 78.56 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001942/0.6778, allocations: 109.1 kB / 499.3 MB, free: 78.54 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.682e-05/0.6779, allocations: 36.27 kB / 499.3 MB, free: 78.54 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0008333/0.6787, allocations: 0.7231 MB / 0.4883 GB, free: 78.21 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.6788, allocations: 0 / 0.4883 GB, free: 78.21 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00133/0.6801, allocations: 445.5 kB / 0.4888 GB, free: 78.21 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (smr.inertiaRotor.w,smr.idq_sr[1],smr.idq_sr[2],smr.idq_dr[1],smr.idq_dr[2],vfController.x,loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(6,75.0%) 22,(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.0003941/0.6805, allocations: 289.3 kB / 0.489 GB, free: 78.11 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002619/0.6831, allocations: 2.165 MB / 0.4911 GB, free: 77.17 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.6831, allocations: 0 / 0.4911 GB, free: 77.17 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001752/0.6849, allocations: 1.415 MB / 0.4925 GB, free: 76.5 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001327/0.6862, allocations: 290.5 kB / 0.4928 GB, free: 76.44 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004872/0.6911, allocations: 3.543 MB / 0.4963 GB, free: 74.98 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001167/0.6923, allocations: 1.861 MB / 0.4981 GB, free: 74.07 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0009805/0.6933, allocations: 340.6 kB / 0.4984 GB, free: 74.03 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002596/0.6936, allocations: 99.41 kB / 0.4985 GB, free: 74.02 MB / 346.7 MB Notification: Performance of SimCode: time 8.81e-07/0.6936, allocations: 2.469 kB / 0.4985 GB, free: 74.02 MB / 346.7 MB Notification: Performance of Templates: time 0.03044/0.724, allocations: 21.07 MB / 0.5191 GB, free: 69.02 MB / 346.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.pipe 2>&1)