Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) 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(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator") translateModel(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001544/0.001544, allocations: 190.3 kB / 8.137 MB, free: 2.219 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.192/1.192, allocations: 194.2 MB / 202.8 MB, free: 8.77 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.001753/0.001753, allocations: 124 kB / 247.7 MB, free: 6.227 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.176/0.176, allocations: 37.91 MB / 330.5 MB, free: 6.945 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.312e-06/6.342e-06, allocations: 0 / 389.8 MB, free: 78.14 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08952/0.08955, allocations: 53.23 MB / 443 MB, free: 25 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.287/0.3766, allocations: 107.4 MB / 0.5375 GB, free: 0.8164 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002478/0.3769, allocations: 90.34 kB / 0.5376 GB, free: 0.7734 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.083/0.4599, allocations: 29.49 MB / 0.5664 GB, free: 7.965 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.982e-05/0.46, allocations: 20 kB / 0.5664 GB, free: 7.945 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.002636/0.4627, allocations: 1.049 MB / 0.5674 GB, free: 6.902 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.4627, allocations: 12.03 kB / 0.5674 GB, free: 6.891 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001419/0.4642, allocations: 194.5 kB / 0.5676 GB, free: 6.699 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003393/0.4676, allocations: 1.193 MB / 0.5688 GB, free: 5.676 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.638e-05/0.4676, allocations: 28 kB / 0.5688 GB, free: 5.648 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002763/0.4679, allocations: 55.91 kB / 0.5689 GB, free: 5.594 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001387/0.4693, allocations: 0.7305 MB / 0.5696 GB, free: 5.098 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001671/0.471, allocations: 0.9792 MB / 0.5705 GB, free: 4.309 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.344e-05/0.4711, allocations: 0 / 0.5705 GB, free: 4.309 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.512e-05/0.4711, allocations: 7.906 kB / 0.5705 GB, free: 4.301 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001044/0.4713, allocations: 71.31 kB / 0.5706 GB, free: 4.234 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00542/0.4767, allocations: 3.83 MB / 0.5744 GB, free: 0.7969 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004667/0.4772, allocations: 296.7 kB / 0.5746 GB, free: 0.582 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003663/0.4775, allocations: 271.5 kB / 0.5749 GB, free: 408 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.669e-05/0.4776, allocations: 8.438 kB / 0.5749 GB, free: 400 kB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.577e-05/0.4776, allocations: 37.94 kB / 0.5749 GB, free: 356 kB / 378.7 MB Notification: Performance of pre-optimization done (n=50): time 2.154e-06/0.4776, allocations: 0 / 0.5749 GB, free: 356 kB / 378.7 MB Notification: Performance of matching and sorting (n=54): time 0.002658/0.4803, allocations: 1.473 MB / 0.5764 GB, free: 15.07 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.768e-05/0.4804, allocations: 89.02 kB / 0.5765 GB, free: 14.97 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005132/0.4809, allocations: 427.8 kB / 0.5769 GB, free: 14.64 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.032e-05/0.481, allocations: 25.7 kB / 0.5769 GB, free: 14.61 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002533/0.4812, allocations: 399.3 kB / 0.5773 GB, free: 14.25 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001682/0.4814, allocations: 192.4 kB / 0.5775 GB, free: 14.09 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.955e-05/0.4814, allocations: 0 / 0.5775 GB, free: 14.09 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002027/0.4816, allocations: 375.9 kB / 0.5778 GB, free: 13.73 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003956/0.482, allocations: 240.5 kB / 0.578 GB, free: 13.58 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005411/0.4826, allocations: 470.4 kB / 0.5785 GB, free: 13.12 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004964/0.4831, allocations: 339.5 kB / 0.5788 GB, free: 12.88 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/0.4831, allocations: 7.938 kB / 0.5788 GB, free: 12.87 MB / 394.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001985/0.4851, allocations: 1.047 MB / 0.5798 GB, free: 11.98 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/0.4851, allocations: 4 kB / 0.5799 GB, free: 11.98 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001493/0.4866, allocations: 0.7798 MB / 0.5806 GB, free: 11.34 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008149/0.4875, allocations: 237.5 kB / 0.5808 GB, free: 11.14 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005602/0.4881, allocations: 150.1 kB / 0.581 GB, free: 11 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005077/0.4931, allocations: 5.008 MB / 0.5859 GB, free: 5.758 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005709/0.4937, allocations: 12 kB / 0.5859 GB, free: 5.746 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.663e-05/0.4938, allocations: 31.98 kB / 0.5859 GB, free: 5.715 MB / 394.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: generator.psi_s[1]:DUMMY_STATE(unit = "Wb" protected = true ) "magnetic flux stator dq" type: Real [2] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 78 * 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: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 1 {2 9} Notification: Performance of prepare postOptimizeDAE: time 0.0002287/0.4941, allocations: 128.7 kB / 0.586 GB, free: 5.582 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001616/0.4942, allocations: 59.25 kB / 0.5861 GB, free: 5.523 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001004/0.4953, allocations: 0.5837 MB / 0.5867 GB, free: 4.93 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.194e-06/0.4953, allocations: 4 kB / 0.5867 GB, free: 4.926 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.4953, allocations: 7.984 kB / 0.5867 GB, free: 4.918 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.4953, allocations: 0 / 0.5867 GB, free: 4.918 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00283/0.4981, allocations: 1.546 MB / 0.5882 GB, free: 3.281 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.674e-05/0.4982, allocations: 0 / 0.5882 GB, free: 3.281 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007023/0.4989, allocations: 140.4 kB / 0.5883 GB, free: 3.145 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.099e-05/0.4989, allocations: 7.938 kB / 0.5883 GB, free: 3.137 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.683e-05/0.499, allocations: 12 kB / 0.5883 GB, free: 3.125 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.488e-06/0.499, allocations: 11.91 kB / 0.5884 GB, free: 3.113 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/0.499, allocations: 7.938 kB / 0.5884 GB, free: 3.105 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001319/0.5003, allocations: 1.183 MB / 0.5895 GB, free: 1.758 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003024/0.5006, allocations: 184.3 kB / 0.5897 GB, free: 1.559 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001387/0.5008, allocations: 11.89 kB / 0.5897 GB, free: 1.547 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004025/0.5012, allocations: 15.98 kB / 0.5897 GB, free: 1.531 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.66e-05/0.5013, allocations: 35.95 kB / 0.5897 GB, free: 1.496 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.69e-05/0.5013, allocations: 23.84 kB / 0.5898 GB, free: 1.473 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0003969/0.5017, allocations: 330.9 kB / 0.5901 GB, free: 1.152 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000893/0.5026, allocations: 188 kB / 0.5903 GB, free: 0.9688 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 8 (turboGrp.w,generator.phi_el,generator.i_s[1],generator.i_s[2],generator.i_s[3],RLgen1.i[1],RLgen1.i[2],RLgen1.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000252/0.5029, allocations: 154.7 kB / 0.5904 GB, free: 0.8125 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001628/0.5045, allocations: 0.9602 MB / 0.5914 GB, free: 15.82 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.5045, allocations: 0 / 0.5914 GB, free: 15.82 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003619/0.5049, allocations: 269.5 kB / 0.5916 GB, free: 15.56 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006716/0.5056, allocations: 121.6 kB / 0.5917 GB, free: 15.44 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003161/0.5088, allocations: 1.733 MB / 0.5934 GB, free: 13.63 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009846/0.5097, allocations: 1.154 MB / 0.5945 GB, free: 12.45 MB / 410.7 MB Notification: Performance of SimCode: time 4.6e-07/0.5098, allocations: 0 / 0.5945 GB, free: 12.45 MB / 410.7 MB Notification: Performance of Templates: time 0.0159/0.5257, allocations: 8.261 MB / 0.6026 GB, free: 4.211 MB / 410.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe 2>&1)