Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.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.SMEE_Generator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=12000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=12000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.005733/0.005733, allocations: 164.5 kB / 15.11 MB, free: 6.039 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.247/1.247, allocations: 170.8 MB / 186.6 MB, free: 1.141 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.001667/0.001667, allocations: 113.6 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004107/0.0004106, allocations: 8 kB / 274.1 MB, free: 10.09 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2486/0.2491, allocations: 38.77 MB / 312.9 MB, free: 38.7 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1276/0.3767, allocations: 103.8 MB / 416.6 MB, free: 2.715 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002902/0.3771, allocations: 87.95 kB / 416.7 MB, free: 2.629 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3634/0.7405, allocations: 82.23 MB / 499 MB, free: 26.43 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.7406, allocations: 0 / 499 MB, free: 26.43 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001826/0.7408, allocations: 67.94 kB / 499 MB, free: 26.36 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 655 * Number of variables: 655 Notification: Performance of Generate backend data structure: time 0.007908/0.7487, allocations: 2.934 MB / 0.4902 GB, free: 23.36 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.7487, allocations: 8.031 kB / 0.4902 GB, free: 23.36 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002241/0.751, allocations: 428 kB / 0.4906 GB, free: 22.93 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003639/0.7546, allocations: 1.752 MB / 0.4923 GB, free: 21.12 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001107/0.7548, allocations: 193 kB / 0.4925 GB, free: 20.93 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003892/0.7552, allocations: 259.9 kB / 0.4928 GB, free: 20.68 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004719/0.7599, allocations: 3.214 MB / 0.4959 GB, free: 17.32 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.727e-05/0.76, allocations: 8 kB / 0.4959 GB, free: 17.31 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002195/0.7602, allocations: 108.3 kB / 0.496 GB, free: 17.21 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.763e-05/0.7603, allocations: 112.9 kB / 0.4961 GB, free: 17.09 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00388/0.7642, allocations: 2.573 MB / 0.4986 GB, free: 14.51 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01424/0.7784, allocations: 10.4 MB / 0.5088 GB, free: 3.773 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001919/0.7804, allocations: 1.79 MB / 0.5105 GB, free: 1.859 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002922/0.7807, allocations: 146 kB / 0.5107 GB, free: 1.699 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.142e-05/0.7808, allocations: 47.56 kB / 0.5107 GB, free: 1.645 MB / 314.7 MB Notification: Performance of pre-optimization done (n=116): time 4.197e-06/0.7808, allocations: 0 / 0.5107 GB, free: 1.645 MB / 314.7 MB Notification: Performance of matching and sorting (n=141): time 0.02126/0.8021, allocations: 8.823 MB / 0.5193 GB, free: 8.684 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.52e-05/0.8022, allocations: 68.72 kB / 0.5194 GB, free: 8.605 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003177/0.8053, allocations: 1.59 MB / 0.521 GB, free: 7.02 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003266/0.8057, allocations: 53.7 kB / 0.521 GB, free: 6.961 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001047/0.8068, allocations: 1.233 MB / 0.5222 GB, free: 5.711 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000596/0.8074, allocations: 488.9 kB / 0.5227 GB, free: 5.227 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.426e-05/0.8075, allocations: 32 kB / 0.5227 GB, free: 5.195 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002456/0.8077, allocations: 377.9 kB / 0.5231 GB, free: 4.82 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001574/0.8093, allocations: 0.8744 MB / 0.5239 GB, free: 3.945 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001757/0.8111, allocations: 1.349 MB / 0.5252 GB, free: 2.387 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001702/0.8128, allocations: 1.08 MB / 0.5263 GB, free: 1.309 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.021e-05/0.8128, allocations: 4 kB / 0.5263 GB, free: 1.305 MB / 330.7 MB Notification: Performance of matching and sorting (n=216) (initialization): time 0.005475/0.8183, allocations: 2.96 MB / 0.5292 GB, free: 14.33 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.676e-05/0.8184, allocations: 18.45 kB / 0.5292 GB, free: 14.31 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.905e-05/0.8184, allocations: 16 kB / 0.5292 GB, free: 14.3 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001581/0.82, allocations: 0.5873 MB / 0.5298 GB, free: 13.7 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001618/0.8216, allocations: 407.4 kB / 0.5302 GB, free: 13.3 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00822/0.8299, allocations: 5.661 MB / 0.5357 GB, free: 7.508 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002113/0.832, allocations: 127.9 kB / 0.5358 GB, free: 7.383 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002143/0.8323, allocations: 79.98 kB / 0.5359 GB, free: 7.305 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 68 * 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 (185): * Single equations (assignments): 181 * 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.00185/0.8341, allocations: 0.7927 MB / 0.5367 GB, free: 6.504 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005075/0.8346, allocations: 197.6 kB / 0.5369 GB, free: 6.309 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004875/0.8395, allocations: 2.626 MB / 0.5394 GB, free: 3.664 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.658e-05/0.8396, allocations: 16 kB / 0.5395 GB, free: 3.648 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/0.8396, allocations: 4 kB / 0.5395 GB, free: 3.645 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.384e-05/0.8396, allocations: 7.969 kB / 0.5395 GB, free: 3.637 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1903/1.03, allocations: 5.474 MB / 0.5448 GB, free: 73.66 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.117e-05/1.03, allocations: 3.938 kB / 0.5448 GB, free: 73.66 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001038/1.031, allocations: 247.7 kB / 0.545 GB, free: 73.66 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001766/1.033, allocations: 0.651 MB / 0.5457 GB, free: 73.64 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001516/1.033, allocations: 33.75 kB / 0.5457 GB, free: 73.64 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008811/1.042, allocations: 7.385 MB / 0.5529 GB, free: 71.08 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/1.042, allocations: 3.938 kB / 0.5529 GB, free: 71.08 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006048/1.048, allocations: 4.045 MB / 0.5569 GB, free: 70.47 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001369/1.049, allocations: 466.5 kB / 0.5573 GB, free: 70.38 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003019/1.05, allocations: 29.69 kB / 0.5574 GB, free: 70.38 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001179/1.051, allocations: 116.7 kB / 0.5575 GB, free: 70.38 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003617/1.051, allocations: 118.3 kB / 0.5576 GB, free: 70.37 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001073/1.051, allocations: 48.94 kB / 0.5576 GB, free: 70.37 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001911/1.053, allocations: 1.224 MB / 0.5588 GB, free: 70.26 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.81e-07/1.053, allocations: 0 / 0.5588 GB, free: 70.26 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002048/1.055, allocations: 0.6136 MB / 0.5594 GB, free: 70.26 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (108): * Single equations (assignments): 104 * 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.0005933/1.056, allocations: 313.3 kB / 0.5597 GB, free: 70.18 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003861/1.06, allocations: 2.599 MB / 0.5623 GB, free: 69.84 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/1.06, allocations: 4.375 kB / 0.5623 GB, free: 69.84 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002631/1.062, allocations: 1.628 MB / 0.5639 GB, free: 69.52 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00182/1.064, allocations: 400.9 kB / 0.5642 GB, free: 69.51 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007911/1.072, allocations: 6.072 MB / 0.5702 GB, free: 67.02 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001696/1.074, allocations: 2.066 MB / 0.5722 GB, free: 66.28 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001632/1.076, allocations: 415.5 kB / 0.5726 GB, free: 66.26 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004718/1.076, allocations: 122 kB / 0.5727 GB, free: 66.25 MB / 346.7 MB Notification: Performance of SimCode: time 1.372e-06/1.076, allocations: 4.5 kB / 0.5727 GB, free: 66.25 MB / 346.7 MB Notification: Performance of Templates: time 0.04556/1.122, allocations: 29.76 MB / 0.6018 GB, free: 60.98 MB / 346.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe 2>&1)