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.0009681/0.0009682, allocations: 169.8 kB / 12.72 MB, free: 2.594 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.2/1.2, allocations: 170.6 MB / 183.8 MB, free: 11.42 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.001572/0.001572, allocations: 103.5 kB / 223.2 MB, free: 4.047 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.401e-05/2.404e-05, allocations: 4 kB / 268.9 MB, free: 20.91 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06349/0.06353, allocations: 38.77 MB / 307.6 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2654/0.3289, allocations: 95.76 MB / 403.4 MB, free: 12.78 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001933/0.3292, allocations: 79.64 kB / 403.5 MB, free: 12.74 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1169/0.4461, allocations: 45.53 MB / 449 MB, free: 4.66 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4461, allocations: 0 / 449 MB, free: 4.66 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001478/0.4463, allocations: 59.94 kB / 449.1 MB, free: 4.602 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.004183/0.4505, allocations: 2.227 MB / 451.3 MB, free: 2.316 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.4505, allocations: 12.03 kB / 451.3 MB, free: 2.305 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007443/0.4513, allocations: 288.8 kB / 451.6 MB, free: 2.02 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00257/0.4539, allocations: 1.502 MB / 453.1 MB, free: 468 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001316/0.454, allocations: 152.2 kB / 453.2 MB, free: 312 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000312/0.4543, allocations: 215.9 kB / 453.5 MB, free: 96 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004349/0.4587, allocations: 2.699 MB / 456.1 MB, free: 13.25 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.92e-05/0.4588, allocations: 4.281 kB / 456.2 MB, free: 13.24 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002019/0.459, allocations: 99.86 kB / 456.3 MB, free: 13.15 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001018/0.4591, allocations: 100.2 kB / 456.3 MB, free: 13.05 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003448/0.4625, allocations: 2.121 MB / 458.5 MB, free: 10.91 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01367/0.4762, allocations: 8.542 MB / 467 MB, free: 2.125 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002293/0.4786, allocations: 1.679 MB / 468.7 MB, free: 320 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1507/0.6293, allocations: 0.7759 MB / 469.5 MB, free: 83.86 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002847/0.6296, allocations: 137.5 kB / 469.6 MB, free: 83.77 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.669e-05/0.6297, allocations: 43.83 kB / 469.6 MB, free: 83.73 MB / 346.7 MB Notification: Performance of pre-optimization done (n=102): time 3.075e-06/0.6297, allocations: 0 / 469.6 MB, free: 83.73 MB / 346.7 MB Notification: Performance of matching and sorting (n=123): time 0.01387/0.6435, allocations: 5.903 MB / 475.5 MB, free: 83.18 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.72e-05/0.6436, allocations: 66.44 kB / 475.6 MB, free: 83.11 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001796/0.6454, allocations: 1.167 MB / 476.8 MB, free: 82.95 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.029e-05/0.6455, allocations: 44.39 kB / 476.8 MB, free: 82.92 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005679/0.6461, allocations: 1.012 MB / 477.8 MB, free: 82.57 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002579/0.6463, allocations: 429.8 kB / 478.3 MB, free: 82.36 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.922e-05/0.6464, allocations: 29.06 kB / 478.3 MB, free: 82.36 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.928e-05/0.6465, allocations: 362.7 kB / 478.6 MB, free: 82.05 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009344/0.6475, allocations: 0.6944 MB / 479.3 MB, free: 82.05 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001091/0.6486, allocations: 1.069 MB / 480.4 MB, free: 81.63 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001057/0.6496, allocations: 0.8687 MB / 481.3 MB, free: 81.61 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.614e-06/0.6496, allocations: 11.97 kB / 481.3 MB, free: 81.61 MB / 346.7 MB Notification: Performance of matching and sorting (n=184) (initialization): time 0.003263/0.6529, allocations: 2.474 MB / 483.8 MB, free: 81.43 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/0.6529, allocations: 17.98 kB / 483.8 MB, free: 81.42 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.327e-05/0.653, allocations: 14.53 kB / 483.8 MB, free: 81.42 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001155/0.6541, allocations: 0.5835 MB / 484.4 MB, free: 81.39 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001007/0.6551, allocations: 325.5 kB / 484.7 MB, free: 81.39 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005493/0.6606, allocations: 6.312 MB / 491 MB, free: 78.82 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001053/0.6617, allocations: 111.1 kB / 491.1 MB, free: 78.82 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001037/0.6618, allocations: 59.22 kB / 491.2 MB, free: 78.82 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 (155): * Single equations (assignments): 152 * 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.0002338/0.6621, allocations: 187.1 kB / 491.3 MB, free: 78.7 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002154/0.6623, allocations: 162 kB / 491.5 MB, free: 78.62 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003237/0.6655, allocations: 2.256 MB / 493.8 MB, free: 78.48 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.6656, allocations: 10.64 kB / 493.8 MB, free: 78.48 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.6656, allocations: 6.812 kB / 493.8 MB, free: 78.48 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.047e-05/0.6656, allocations: 10.91 kB / 493.8 MB, free: 78.48 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005914/0.6715, allocations: 4.642 MB / 498.4 MB, free: 76.76 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.052e-06/0.6715, allocations: 4.844 kB / 498.4 MB, free: 76.76 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007906/0.6723, allocations: 204.8 kB / 498.6 MB, free: 76.75 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001341/0.6737, allocations: 0.6327 MB / 499.3 MB, free: 76.59 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.043e-05/0.6738, allocations: 40.23 kB / 499.3 MB, free: 76.57 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006583/0.6804, allocations: 8.041 MB / 0.4955 GB, free: 71.06 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.6804, allocations: 2.562 kB / 0.4955 GB, free: 71.06 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003817/0.6842, allocations: 3.374 MB / 0.4988 GB, free: 69.52 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005732/0.6848, allocations: 387.2 kB / 0.4991 GB, free: 69.27 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001779/0.685, allocations: 31.45 kB / 0.4992 GB, free: 69.24 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007584/0.6857, allocations: 96.59 kB / 0.4992 GB, free: 69.23 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001885/0.6859, allocations: 100.6 kB / 0.4993 GB, free: 69.21 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.587e-05/0.686, allocations: 33.97 kB / 0.4994 GB, free: 69.21 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0009557/0.687, allocations: 0.8945 MB / 0.5003 GB, free: 68.84 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.687, allocations: 3.406 kB / 0.5003 GB, free: 68.84 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001307/0.6883, allocations: 0.5083 MB / 0.5008 GB, free: 68.78 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 (96): * Single equations (assignments): 93 * 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,72.2%) 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.0003847/0.6887, allocations: 307.1 kB / 0.501 GB, free: 68.66 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002707/0.6914, allocations: 2.239 MB / 0.5032 GB, free: 67.71 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.6914, allocations: 1.344 kB / 0.5032 GB, free: 67.71 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001851/0.6933, allocations: 1.466 MB / 0.5047 GB, free: 66.98 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001564/0.6949, allocations: 372.9 kB / 0.505 GB, free: 66.89 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004939/0.6998, allocations: 3.624 MB / 0.5086 GB, free: 65.29 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001102/0.7009, allocations: 1.855 MB / 0.5104 GB, free: 64.38 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0009454/0.7019, allocations: 347.4 kB / 0.5107 GB, free: 64.34 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002697/0.7022, allocations: 108.4 kB / 0.5108 GB, free: 64.32 MB / 346.7 MB Notification: Performance of SimCode: time 1.092e-06/0.7022, allocations: 0 / 0.5108 GB, free: 64.32 MB / 346.7 MB Notification: Performance of Templates: time 0.03242/0.7346, allocations: 26.33 MB / 0.5365 GB, free: 46.75 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)