Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.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.SynchronousInductionMachines.SMEE_Generator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001576/0.001575, allocations: 188.5 kB / 8.353 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.33/1.33, allocations: 194.3 MB / 203.1 MB, free: 9.32 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001603/0.001603, allocations: 115 kB / 248.1 MB, free: 6.355 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.537e-05/1.547e-05, allocations: 4 kB / 298.1 MB, free: 8.238 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07969/0.07972, allocations: 44.5 MB / 342.6 MB, free: 11.63 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2783/0.3581, allocations: 108.3 MB / 450.9 MB, free: 4.059 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002196/0.3583, allocations: 84.77 kB / 451 MB, free: 4.016 MB / 331.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.3921/0.7504, allocations: 81.75 MB / 0.5203 GB, free: 81.51 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.7504, allocations: 0 / 0.5203 GB, free: 81.51 MB / 395.1 MB Notification: Performance of Transformations before backend: time 0.0002412/0.7507, allocations: 71.48 kB / 0.5203 GB, free: 81.51 MB / 395.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 653 * Number of variables: 653 Notification: Performance of Generate backend data structure: time 0.006439/0.7572, allocations: 2.603 MB / 0.5229 GB, free: 80.5 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.7572, allocations: 8.188 kB / 0.5229 GB, free: 80.5 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001754/0.759, allocations: 418.5 kB / 0.5233 GB, free: 80.34 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003107/0.7621, allocations: 1.823 MB / 0.5251 GB, free: 79.89 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.095e-05/0.7622, allocations: 81.28 kB / 0.5251 GB, free: 79.89 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003205/0.7625, allocations: 149.8 kB / 0.5253 GB, free: 79.89 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003602/0.7661, allocations: 2.298 MB / 0.5275 GB, free: 79.88 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003876/0.77, allocations: 2.766 MB / 0.5302 GB, free: 79.51 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.966e-05/0.7701, allocations: 15.22 kB / 0.5302 GB, free: 79.5 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002076/0.7703, allocations: 4.375 kB / 0.5302 GB, free: 79.5 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.564e-05/0.7704, allocations: 107.8 kB / 0.5304 GB, free: 79.5 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01593/0.7863, allocations: 9.954 MB / 0.5401 GB, free: 76.96 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001989/0.7884, allocations: 1.717 MB / 0.5417 GB, free: 76.36 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001111/0.7895, allocations: 0.8304 MB / 0.5426 GB, free: 76.35 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003399/0.7898, allocations: 223.1 kB / 0.5428 GB, free: 76.16 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.24e-05/0.7899, allocations: 44.14 kB / 0.5428 GB, free: 76.12 MB / 395.1 MB Notification: Performance of pre-optimization done (n=119): time 3.467e-06/0.7899, allocations: 3.188 kB / 0.5428 GB, free: 76.12 MB / 395.1 MB Notification: Performance of matching and sorting (n=144): time 0.01006/0.8, allocations: 5.411 MB / 0.5481 GB, free: 75.23 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.6e-05/0.8, allocations: 66.91 kB / 0.5482 GB, free: 75.17 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001894/0.8019, allocations: 1.36 MB / 0.5495 GB, free: 75 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 8.88e-05/0.802, allocations: 27.05 kB / 0.5495 GB, free: 74.97 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006328/0.8027, allocations: 1.242 MB / 0.5507 GB, free: 74.38 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002968/0.803, allocations: 480.3 kB / 0.5512 GB, free: 74.07 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.694e-05/0.8031, allocations: 0 / 0.5512 GB, free: 74.07 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 9.942e-05/0.8032, allocations: 374.6 kB / 0.5515 GB, free: 73.76 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00108/0.8042, allocations: 0.773 MB / 0.5523 GB, free: 73.76 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001244/0.8055, allocations: 1.252 MB / 0.5535 GB, free: 73.02 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001339/0.8069, allocations: 0.9907 MB / 0.5545 GB, free: 72.66 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.094e-05/0.8069, allocations: 4.5 kB / 0.5545 GB, free: 72.66 MB / 395.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.004412/0.8113, allocations: 2.658 MB / 0.5571 GB, free: 71.78 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.032e-05/0.8113, allocations: 11.47 kB / 0.5571 GB, free: 71.78 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.481e-05/0.8114, allocations: 17.16 kB / 0.5571 GB, free: 71.78 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001454/0.8128, allocations: 0.5836 MB / 0.5577 GB, free: 71.63 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001391/0.8142, allocations: 414.9 kB / 0.5581 GB, free: 71.62 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005791/0.82, allocations: 5.201 MB / 0.5632 GB, free: 68.76 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001912/0.822, allocations: 100.3 kB / 0.5633 GB, free: 68.76 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000158/0.8221, allocations: 73.73 kB / 0.5633 GB, free: 68.75 MB / 395.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 69 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (188): * Single equations (assignments): 184 * 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: 1 * 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: 1 {(6,72.2%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00031/0.8225, allocations: 157.6 kB / 0.5635 GB, free: 68.62 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003613/0.8228, allocations: 179.4 kB / 0.5637 GB, free: 68.53 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003717/0.8266, allocations: 2.382 MB / 0.566 GB, free: 67.64 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-05/0.8266, allocations: 15.66 kB / 0.566 GB, free: 67.64 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/0.8266, allocations: 3.969 kB / 0.566 GB, free: 67.64 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.381e-05/0.8266, allocations: 7.406 kB / 0.566 GB, free: 67.64 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007796/0.8344, allocations: 4.947 MB / 0.5708 GB, free: 65.65 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.92e-05/0.8345, allocations: 9.625 kB / 0.5708 GB, free: 65.65 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009635/0.8355, allocations: 250.8 kB / 0.5711 GB, free: 65.64 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00153/0.837, allocations: 0.6369 MB / 0.5717 GB, free: 65.48 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.669e-05/0.8371, allocations: 18.45 kB / 0.5717 GB, free: 65.47 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006682/0.8438, allocations: 6.877 MB / 0.5784 GB, free: 61.18 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.57e-06/0.8438, allocations: 3.906 kB / 0.5784 GB, free: 61.18 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004657/0.8485, allocations: 3.78 MB / 0.5821 GB, free: 59.32 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009688/0.8495, allocations: 443.9 kB / 0.5826 GB, free: 59.04 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002589/0.8498, allocations: 11 kB / 0.5826 GB, free: 59.04 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001167/0.8509, allocations: 94.84 kB / 0.5827 GB, free: 59.04 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002282/0.8512, allocations: 118.4 kB / 0.5828 GB, free: 59.02 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.358e-05/0.8513, allocations: 45.78 kB / 0.5828 GB, free: 59.01 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.001302/0.8526, allocations: 1.03 MB / 0.5838 GB, free: 58.57 MB / 395.1 MB Notification: Performance of sort global known variables: time 5.21e-07/0.8526, allocations: 0 / 0.5838 GB, free: 58.57 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.001887/0.8545, allocations: 0.5288 MB / 0.5843 GB, free: 58.56 MB / 395.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 5 (smee.phiMechanical,smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[2],smee.idq_dr[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (111): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 0 * 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 {(6,75.0%) 23,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004917/0.855, allocations: 325.3 kB / 0.5846 GB, free: 58.42 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.003213/0.8582, allocations: 2.38 MB / 0.587 GB, free: 57.38 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 4.449e-06/0.8582, allocations: 7.5 kB / 0.587 GB, free: 57.38 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00205/0.8603, allocations: 1.524 MB / 0.5885 GB, free: 56.65 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001493/0.8618, allocations: 309.4 kB / 0.5888 GB, free: 56.56 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006031/0.8678, allocations: 4.062 MB / 0.5927 GB, free: 54.8 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001457/0.8693, allocations: 2.061 MB / 0.5947 GB, free: 53.85 MB / 395.1 MB Notification: Performance of simCode: alias equations: time 0.001225/0.8705, allocations: 406.2 kB / 0.5951 GB, free: 53.8 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003519/0.8709, allocations: 123.4 kB / 0.5952 GB, free: 53.79 MB / 395.1 MB Notification: Performance of SimCode: time 1.272e-06/0.8709, allocations: 0 / 0.5952 GB, free: 53.79 MB / 395.1 MB Notification: Performance of Templates: time 0.03724/0.9082, allocations: 24.5 MB / 0.6192 GB, free: 42.54 MB / 395.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe 2>&1)