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.001308/0.001309, allocations: 165.6 kB / 7.636 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.299/1.299, allocations: 170.7 MB / 178.7 MB, free: 15.63 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.001602/0.001602, allocations: 111.5 kB / 218 MB, free: 8.395 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.722e-05/1.737e-05, allocations: 4 kB / 262.2 MB, free: 26.39 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06743/0.06746, allocations: 38.77 MB / 301 MB, free: 3.629 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2757/0.3432, allocations: 103 MB / 404 MB, free: 13.96 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002197/0.3435, allocations: 84.14 kB / 404.1 MB, free: 13.92 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4243/0.7678, allocations: 81.31 MB / 485.4 MB, free: 73.2 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.7678, allocations: 0 / 485.4 MB, free: 73.2 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003117/0.7682, allocations: 70.27 kB / 485.4 MB, free: 73.19 MB / 346.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.007381/0.7756, allocations: 2.603 MB / 488 MB, free: 72.18 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.7756, allocations: 7.938 kB / 488 MB, free: 72.18 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002543/0.7782, allocations: 421.8 kB / 488.5 MB, free: 72.02 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004807/0.783, allocations: 1.748 MB / 490.2 MB, free: 71.58 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001258/0.7832, allocations: 84.7 kB / 490.3 MB, free: 71.58 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008419/0.784, allocations: 143.9 kB / 490.4 MB, free: 71.58 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004788/0.7888, allocations: 2.305 MB / 492.7 MB, free: 71.56 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005672/0.7945, allocations: 2.774 MB / 495.5 MB, free: 71.19 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.27e-05/0.7946, allocations: 11.64 kB / 495.5 MB, free: 71.19 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003722/0.795, allocations: 7.125 kB / 495.5 MB, free: 71.19 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.872e-05/0.7951, allocations: 102 kB / 495.6 MB, free: 71.18 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01364/0.8087, allocations: 9.91 MB / 0.4937 GB, free: 68.64 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001648/0.8104, allocations: 1.706 MB / 0.4954 GB, free: 68.04 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009118/0.8114, allocations: 0.8285 MB / 0.4962 GB, free: 68.02 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000266/0.8116, allocations: 143.1 kB / 0.4963 GB, free: 67.93 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.654e-05/0.8117, allocations: 51.59 kB / 0.4964 GB, free: 67.89 MB / 346.7 MB Notification: Performance of pre-optimization done (n=118): time 3.607e-06/0.8117, allocations: 6.469 kB / 0.4964 GB, free: 67.89 MB / 346.7 MB Notification: Performance of matching and sorting (n=143): time 0.008831/0.8205, allocations: 5.384 MB / 0.5016 GB, free: 66.94 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.46e-05/0.8206, allocations: 67.16 kB / 0.5017 GB, free: 66.88 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001565/0.8221, allocations: 1.313 MB / 0.503 GB, free: 66.33 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.734e-05/0.8222, allocations: 29.64 kB / 0.503 GB, free: 66.3 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005218/0.8228, allocations: 1.238 MB / 0.5042 GB, free: 65.34 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002562/0.823, allocations: 480.3 kB / 0.5047 GB, free: 64.98 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.337e-05/0.8231, allocations: 0 / 0.5047 GB, free: 64.98 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.488e-05/0.8232, allocations: 373.3 kB / 0.505 GB, free: 64.64 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008635/0.8241, allocations: 0.7739 MB / 0.5058 GB, free: 64.35 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001083/0.8252, allocations: 1.251 MB / 0.507 GB, free: 63.46 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001153/0.8263, allocations: 0.9733 MB / 0.5079 GB, free: 63.09 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.864e-06/0.8264, allocations: 6.562 kB / 0.5079 GB, free: 63.09 MB / 346.7 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.003566/0.8299, allocations: 2.653 MB / 0.5105 GB, free: 62.2 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.512e-05/0.83, allocations: 11.84 kB / 0.5105 GB, free: 62.2 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.748e-05/0.83, allocations: 15.69 kB / 0.5106 GB, free: 62.2 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001229/0.8313, allocations: 0.576 MB / 0.5111 GB, free: 62.05 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001343/0.8326, allocations: 413.8 kB / 0.5115 GB, free: 62.03 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005546/0.8382, allocations: 5.196 MB / 0.5166 GB, free: 59.17 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001711/0.8399, allocations: 106.3 kB / 0.5167 GB, free: 59.16 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001452/0.8401, allocations: 71.5 kB / 0.5168 GB, free: 59.15 MB / 346.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 (187): * Single equations (assignments): 183 * 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.0002979/0.8404, allocations: 149.1 kB / 0.5169 GB, free: 59.03 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002966/0.8407, allocations: 183.5 kB / 0.5171 GB, free: 58.94 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003625/0.8443, allocations: 2.384 MB / 0.5194 GB, free: 58.05 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.31e-05/0.8443, allocations: 15.12 kB / 0.5194 GB, free: 58.05 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.8444, allocations: 3.875 kB / 0.5194 GB, free: 58.05 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.297e-05/0.8444, allocations: 14.16 kB / 0.5194 GB, free: 58.05 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007017/0.8514, allocations: 4.903 MB / 0.5242 GB, free: 56.06 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.534e-05/0.8514, allocations: 6.594 kB / 0.5242 GB, free: 56.06 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009389/0.8524, allocations: 246.4 kB / 0.5245 GB, free: 56.04 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001468/0.8539, allocations: 0.6397 MB / 0.5251 GB, free: 55.88 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001026/0.854, allocations: 24.34 kB / 0.5251 GB, free: 55.87 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006547/0.8605, allocations: 6.88 MB / 0.5318 GB, free: 50.87 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.553e-06/0.8606, allocations: 7.938 kB / 0.5318 GB, free: 50.86 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004747/0.8653, allocations: 3.758 MB / 0.5355 GB, free: 47.38 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001/0.8664, allocations: 442.6 kB / 0.5359 GB, free: 46.97 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002273/0.8666, allocations: 10.58 kB / 0.5359 GB, free: 46.96 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00101/0.8676, allocations: 94.69 kB / 0.536 GB, free: 46.9 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002604/0.8679, allocations: 120.1 kB / 0.5362 GB, free: 46.83 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.999e-05/0.868, allocations: 38.81 kB / 0.5362 GB, free: 46.79 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001227/0.8692, allocations: 0.9983 MB / 0.5372 GB, free: 45.89 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.8692, allocations: 0 / 0.5372 GB, free: 45.89 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001818/0.8711, allocations: 0.5078 MB / 0.5377 GB, free: 45.39 MB / 346.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.0004812/0.8715, allocations: 311.9 kB / 0.538 GB, free: 45.12 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003151/0.8747, allocations: 2.367 MB / 0.5403 GB, free: 42.94 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.551e-06/0.8747, allocations: 8.188 kB / 0.5403 GB, free: 42.93 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00191/0.8766, allocations: 1.509 MB / 0.5418 GB, free: 41.57 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001699/0.8784, allocations: 323.5 kB / 0.5421 GB, free: 41.32 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006465/0.8848, allocations: 4.026 MB / 0.546 GB, free: 37.69 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001353/0.8862, allocations: 2.066 MB / 0.548 GB, free: 36.04 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001566/0.8878, allocations: 396.2 kB / 0.5484 GB, free: 35.77 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003538/0.8882, allocations: 122.5 kB / 0.5485 GB, free: 35.66 MB / 346.7 MB Notification: Performance of SimCode: time 1.613e-06/0.8882, allocations: 0 / 0.5485 GB, free: 35.66 MB / 346.7 MB Notification: Performance of Templates: time 0.0366/0.9248, allocations: 23.6 MB / 0.5716 GB, free: 16.02 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)