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.0009906/0.0009907, allocations: 181.8 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.286/1.286, allocations: 194.3 MB / 208.4 MB, free: 6.715 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.001713/0.001713, allocations: 136.6 kB / 253.5 MB, free: 9.574 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.576e-05/2.578e-05, allocations: 4 kB / 304.9 MB, free: 29.76 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08409/0.08413, allocations: 44.5 MB / 349.4 MB, free: 1.238 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3283/0.4125, allocations: 109 MB / 458.5 MB, free: 2.871 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002652/0.4128, allocations: 86.98 kB / 458.5 MB, free: 2.828 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2267/0.6395, allocations: 82.85 MB / 0.5287 GB, free: 6.293 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.6396, allocations: 0 / 0.5287 GB, free: 6.293 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002288/0.6398, allocations: 71.88 kB / 0.5288 GB, free: 6.223 MB / 394.7 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.006655/0.6465, allocations: 2.599 MB / 0.5313 GB, free: 3.566 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.292e-05/0.6465, allocations: 8.031 kB / 0.5313 GB, free: 3.559 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001994/0.6485, allocations: 416.1 kB / 0.5317 GB, free: 3.148 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004042/0.6526, allocations: 1.83 MB / 0.5335 GB, free: 1.262 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001434/0.6528, allocations: 181.4 kB / 0.5337 GB, free: 1.082 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005375/0.6533, allocations: 263.8 kB / 0.5339 GB, free: 0.8242 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2253/0.8786, allocations: 3.119 MB / 0.537 GB, free: 85.09 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.293e-05/0.8787, allocations: 6.094 kB / 0.537 GB, free: 85.09 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002899/0.879, allocations: 104.2 kB / 0.5371 GB, free: 85.09 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001834/0.8792, allocations: 114.4 kB / 0.5372 GB, free: 85.08 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004503/0.8837, allocations: 2.446 MB / 0.5396 GB, free: 85.05 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01869/0.9025, allocations: 10.42 MB / 0.5498 GB, free: 82.61 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002173/0.9047, allocations: 1.76 MB / 0.5515 GB, free: 82 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001125/0.9058, allocations: 0.8525 MB / 0.5523 GB, free: 81.99 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003211/0.9062, allocations: 230.3 kB / 0.5525 GB, free: 81.8 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.754e-05/0.9062, allocations: 44.59 kB / 0.5526 GB, free: 81.76 MB / 394.7 MB Notification: Performance of pre-optimization done (n=117): time 3.136e-06/0.9062, allocations: 0 / 0.5526 GB, free: 81.76 MB / 394.7 MB Notification: Performance of matching and sorting (n=142): time 0.01498/0.9212, allocations: 6.883 MB / 0.5593 GB, free: 80.97 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.823e-05/0.9213, allocations: 68.31 kB / 0.5594 GB, free: 80.9 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002173/0.9235, allocations: 1.626 MB / 0.5609 GB, free: 80.73 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001093/0.9236, allocations: 49.11 kB / 0.561 GB, free: 80.7 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006862/0.9243, allocations: 1.247 MB / 0.5622 GB, free: 80.29 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003078/0.9246, allocations: 491.8 kB / 0.5627 GB, free: 79.99 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.461e-05/0.9247, allocations: 28.72 kB / 0.5627 GB, free: 79.99 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001067/0.9248, allocations: 380.9 kB / 0.5631 GB, free: 79.68 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001009/0.9258, allocations: 0.8013 MB / 0.5638 GB, free: 79.68 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001193/0.927, allocations: 1.293 MB / 0.5651 GB, free: 79.12 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001239/0.9283, allocations: 1.01 MB / 0.5661 GB, free: 79.1 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.586e-06/0.9283, allocations: 4 kB / 0.5661 GB, free: 79.1 MB / 394.7 MB Notification: Performance of matching and sorting (n=217) (initialization): time 0.00419/0.9325, allocations: 2.833 MB / 0.5689 GB, free: 78.19 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.878e-05/0.9325, allocations: 10.12 kB / 0.5689 GB, free: 78.19 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.66e-05/0.9326, allocations: 19.09 kB / 0.5689 GB, free: 78.19 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00139/0.934, allocations: 0.5859 MB / 0.5695 GB, free: 78.04 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001495/0.9355, allocations: 407.8 kB / 0.5699 GB, free: 78.03 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00671/0.9422, allocations: 5.443 MB / 0.5752 GB, free: 75.06 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00217/0.9444, allocations: 131 kB / 0.5753 GB, free: 75.03 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003282/0.9448, allocations: 76.75 kB / 0.5754 GB, free: 75.02 MB / 394.7 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 (186): * Single equations (assignments): 182 * 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.0004605/0.9452, allocations: 214.5 kB / 0.5756 GB, free: 74.85 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000692/0.9459, allocations: 197.6 kB / 0.5758 GB, free: 74.75 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004947/0.9509, allocations: 2.495 MB / 0.5782 GB, free: 73.81 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-05/0.9509, allocations: 17.73 kB / 0.5782 GB, free: 73.81 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.904e-05/0.951, allocations: 14.34 kB / 0.5782 GB, free: 73.81 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.609e-05/0.951, allocations: 3.656 kB / 0.5782 GB, free: 73.81 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01108/0.9621, allocations: 5.376 MB / 0.5835 GB, free: 71.68 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.549e-05/0.9621, allocations: 6.875 kB / 0.5835 GB, free: 71.68 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001033/0.9632, allocations: 245 kB / 0.5837 GB, free: 71.67 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001657/0.9649, allocations: 0.6433 MB / 0.5844 GB, free: 71.52 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001339/0.965, allocations: 37.36 kB / 0.5844 GB, free: 71.5 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007474/0.9725, allocations: 7.131 MB / 0.5914 GB, free: 67.09 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.193e-06/0.9725, allocations: 10.53 kB / 0.5914 GB, free: 67.09 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00581/0.9784, allocations: 3.902 MB / 0.5952 GB, free: 65.16 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001464/0.9799, allocations: 476.5 kB / 0.5956 GB, free: 64.86 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006073/0.9805, allocations: 34.78 kB / 0.5957 GB, free: 64.84 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001485/0.982, allocations: 116.6 kB / 0.5958 GB, free: 64.82 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003184/0.9823, allocations: 111.2 kB / 0.5959 GB, free: 64.81 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001173/0.9824, allocations: 49.23 kB / 0.5959 GB, free: 64.8 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002261/0.9847, allocations: 1.239 MB / 0.5971 GB, free: 64.31 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.142e-06/0.9847, allocations: 5.547 kB / 0.5971 GB, free: 64.31 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002652/0.9874, allocations: 0.6388 MB / 0.5978 GB, free: 64.24 MB / 394.7 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 (110): * Single equations (assignments): 106 * 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.000686/0.9881, allocations: 330.2 kB / 0.5981 GB, free: 64.11 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003722/0.9918, allocations: 2.46 MB / 0.6005 GB, free: 63.05 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.643e-06/0.9918, allocations: 3.656 kB / 0.6005 GB, free: 63.05 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002309/0.9941, allocations: 1.571 MB / 0.602 GB, free: 62.3 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002282/0.9964, allocations: 408.6 kB / 0.6024 GB, free: 62.18 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008181/1.005, allocations: 4.152 MB / 0.6065 GB, free: 60.47 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002179/1.007, allocations: 2.068 MB / 0.6085 GB, free: 58.93 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001844/1.009, allocations: 420.8 kB / 0.6089 GB, free: 58.64 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006588/1.009, allocations: 130.7 kB / 0.609 GB, free: 58.52 MB / 394.7 MB Notification: Performance of SimCode: time 1.744e-06/1.009, allocations: 0 / 0.609 GB, free: 58.52 MB / 394.7 MB Notification: Performance of Templates: time 0.05335/1.063, allocations: 31.28 MB / 0.6396 GB, free: 36.02 MB / 394.7 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)