Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator") translateModel(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002559/0.002559, allocations: 194.6 kB / 7.808 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.773/1.773, allocations: 205.2 MB / 213.4 MB, free: 13.92 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00126/0.001259, allocations: 92.39 kB / 261.4 MB, free: 13.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2563/0.2563, allocations: 37.97 MB / 347.3 MB, free: 7.551 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.055e-06/8.105e-06, allocations: 4 kB / 409.3 MB, free: 47.23 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09963/0.09965, allocations: 56.32 MB / 465.6 MB, free: 6.848 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3563/0.456, allocations: 112.5 MB / 0.5646 GB, free: 14.32 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003239/0.4563, allocations: 91.94 kB / 0.5647 GB, free: 14.23 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.1551/0.6115, allocations: 29.48 MB / 0.5935 GB, free: 404 kB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001105/0.6117, allocations: 27.94 kB / 0.5935 GB, free: 376 kB / 426.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.004621/0.6163, allocations: 1.041 MB / 0.5945 GB, free: 15.27 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.982e-05/0.6164, allocations: 12.02 kB / 0.5945 GB, free: 15.26 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003138/0.6196, allocations: 198.5 kB / 0.5947 GB, free: 15.07 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007576/0.6272, allocations: 1.208 MB / 0.5959 GB, free: 13.82 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.897e-05/0.6274, allocations: 28 kB / 0.5959 GB, free: 13.79 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004897/0.6279, allocations: 48 kB / 0.596 GB, free: 13.75 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003318/0.6312, allocations: 0.7302 MB / 0.5967 GB, free: 13.02 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004007/0.6353, allocations: 0.9678 MB / 0.5976 GB, free: 12 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.424e-05/0.6354, allocations: 7.844 kB / 0.5976 GB, free: 11.99 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001472/0.6356, allocations: 8 kB / 0.5976 GB, free: 11.98 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002296/0.6358, allocations: 65.97 kB / 0.5977 GB, free: 11.91 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01305/0.6489, allocations: 3.826 MB / 0.6014 GB, free: 7.906 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001102/0.65, allocations: 309 kB / 0.6017 GB, free: 7.59 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009132/0.651, allocations: 275 kB / 0.602 GB, free: 7.316 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.359e-05/0.6511, allocations: 8.422 kB / 0.602 GB, free: 7.305 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.871e-05/0.6511, allocations: 39 kB / 0.602 GB, free: 7.258 MB / 442.7 MB Notification: Performance of pre-optimization done (n=50): time 4.749e-06/0.6512, allocations: 0 / 0.602 GB, free: 7.258 MB / 442.7 MB Notification: Performance of matching and sorting (n=53): time 0.00578/0.6569, allocations: 1.458 MB / 0.6034 GB, free: 5.746 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.319e-05/0.6571, allocations: 81.55 kB / 0.6035 GB, free: 5.648 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001186/0.6583, allocations: 430.1 kB / 0.6039 GB, free: 5.223 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001019/0.6584, allocations: 25.7 kB / 0.604 GB, free: 5.191 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004753/0.6589, allocations: 432.9 kB / 0.6044 GB, free: 4.762 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003616/0.6593, allocations: 193.2 kB / 0.6046 GB, free: 4.57 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.225e-05/0.6594, allocations: 0 / 0.6046 GB, free: 4.57 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002414/0.6596, allocations: 338.8 kB / 0.6049 GB, free: 4.23 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009388/0.6606, allocations: 245.5 kB / 0.6051 GB, free: 3.992 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001277/0.6619, allocations: 453.4 kB / 0.6055 GB, free: 3.453 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001252/0.6632, allocations: 335 kB / 0.6059 GB, free: 3.125 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.131e-05/0.6632, allocations: 4 kB / 0.6059 GB, free: 3.121 MB / 442.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.004776/0.668, allocations: 1.019 MB / 0.6069 GB, free: 2.066 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.102e-05/0.6681, allocations: 15.84 kB / 0.6069 GB, free: 2.051 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003636/0.6718, allocations: 0.7736 MB / 0.6076 GB, free: 1.25 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001867/0.6737, allocations: 234.2 kB / 0.6079 GB, free: 1.012 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001565/0.6753, allocations: 143.8 kB / 0.608 GB, free: 0.8711 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01226/0.6876, allocations: 5.011 MB / 0.6129 GB, free: 11.5 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001073/0.6887, allocations: 15.98 kB / 0.6129 GB, free: 11.48 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000149/0.6889, allocations: 32 kB / 0.6129 GB, free: 11.45 MB / 458.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: generator.psi_s[2]: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 (80): * Single equations (assignments): 77 * 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,(2,100.0%) 2} * Non-linear torn systems: 1 {2 9} Notification: Performance of prepare postOptimizeDAE: time 0.0003342/0.6892, allocations: 49.52 kB / 0.613 GB, free: 11.4 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003031/0.6895, allocations: 67.16 kB / 0.613 GB, free: 11.33 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002393/0.6919, allocations: 0.5759 MB / 0.6136 GB, free: 10.75 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.861e-05/0.692, allocations: 4 kB / 0.6136 GB, free: 10.75 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.692, allocations: 4 kB / 0.6136 GB, free: 10.74 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.373e-05/0.6921, allocations: 224 / 0.6136 GB, free: 10.74 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006501/0.6986, allocations: 1.542 MB / 0.6151 GB, free: 9.109 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.554e-05/0.6987, allocations: 4 kB / 0.6151 GB, free: 9.105 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001882/0.7006, allocations: 127.9 kB / 0.6152 GB, free: 8.98 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.351e-05/0.7006, allocations: 8 kB / 0.6153 GB, free: 8.973 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001117/0.7007, allocations: 15.98 kB / 0.6153 GB, free: 8.957 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.818e-05/0.7008, allocations: 7.938 kB / 0.6153 GB, free: 8.949 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.366e-05/0.7008, allocations: 4.438 kB / 0.6153 GB, free: 8.945 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003361/0.7042, allocations: 1.177 MB / 0.6164 GB, free: 7.605 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007249/0.705, allocations: 188.2 kB / 0.6166 GB, free: 7.402 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000245/0.7052, allocations: 8 kB / 0.6166 GB, free: 7.395 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009434/0.7062, allocations: 11.98 kB / 0.6166 GB, free: 7.383 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001568/0.7064, allocations: 47.8 kB / 0.6167 GB, free: 7.336 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.91e-05/0.7065, allocations: 12 kB / 0.6167 GB, free: 7.324 MB / 458.7 MB Notification: Performance of sort global known variables: time 0.000923/0.7074, allocations: 330.9 kB / 0.617 GB, free: 7.004 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001966/0.7094, allocations: 192 kB / 0.6172 GB, free: 6.816 MB / 458.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 (54): * Single equations (assignments): 53 * 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.0004144/0.7099, allocations: 152.8 kB / 0.6173 GB, free: 6.664 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003652/0.7135, allocations: 0.979 MB / 0.6183 GB, free: 5.652 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.155e-05/0.7136, allocations: 0 / 0.6183 GB, free: 5.652 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009818/0.7146, allocations: 257.6 kB / 0.6185 GB, free: 5.402 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001702/0.7163, allocations: 114.4 kB / 0.6186 GB, free: 5.289 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007559/0.7239, allocations: 1.808 MB / 0.6204 GB, free: 3.391 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002119/0.7261, allocations: 1.158 MB / 0.6215 GB, free: 2.203 MB / 458.7 MB Notification: Performance of SimCode: time 1.513e-06/0.7261, allocations: 0 / 0.6215 GB, free: 2.203 MB / 458.7 MB Notification: Performance of Templates: time 0.0426/0.7688, allocations: 14.28 MB / 0.6355 GB, free: 3.898 MB / 474.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe 2>&1)