Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.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.TurbineGeneratorLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine") translateModel(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine") [: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.002244/0.002243, allocations: 194.5 kB / 7.807 MB, free: 2.477 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.724/1.724, 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.001267/0.001266, allocations: 95.17 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.2784/0.2784, allocations: 37.97 MB / 347.3 MB, free: 7.539 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 9.367e-06/9.558e-06, allocations: 0 / 409.3 MB, free: 47.18 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09956/0.0996, allocations: 56.31 MB / 465.6 MB, free: 6.809 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3811/0.4807, allocations: 116.2 MB / 0.5682 GB, free: 10.63 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003252/0.4811, allocations: 87.95 kB / 0.5683 GB, free: 10.55 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.1693/0.6504, allocations: 37.5 MB / 0.6049 GB, free: 4.578 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.724e-05/0.6505, allocations: 31.94 kB / 0.6049 GB, free: 4.547 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 298 * Number of variables: 298 Notification: Performance of Generate backend data structure: time 0.004002/0.6546, allocations: 1.28 MB / 0.6062 GB, free: 3.215 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/0.6546, allocations: 12.03 kB / 0.6062 GB, free: 3.203 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002764/0.6574, allocations: 270 kB / 0.6064 GB, free: 2.938 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006484/0.6639, allocations: 1.549 MB / 0.608 GB, free: 1.34 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.231e-05/0.664, allocations: 40 kB / 0.608 GB, free: 1.301 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00035/0.6644, allocations: 71.89 kB / 0.6081 GB, free: 1.23 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003125/0.6675, allocations: 1.039 MB / 0.6091 GB, free: 188 kB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003363/0.6709, allocations: 1.33 MB / 0.6104 GB, free: 14.79 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.06e-05/0.671, allocations: 11.84 kB / 0.6104 GB, free: 14.77 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001371/0.6711, allocations: 0 / 0.6104 GB, free: 14.77 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002109/0.6714, allocations: 94.16 kB / 0.6105 GB, free: 14.68 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01273/0.6841, allocations: 5.329 MB / 0.6157 GB, free: 9.047 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00149/0.6857, allocations: 0.5655 MB / 0.6162 GB, free: 8.461 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009239/0.6866, allocations: 384.5 kB / 0.6166 GB, free: 8.082 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.242e-05/0.6867, allocations: 16.66 kB / 0.6166 GB, free: 8.066 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.842e-05/0.6867, allocations: 35.22 kB / 0.6166 GB, free: 8.023 MB / 458.7 MB Notification: Performance of pre-optimization done (n=69): time 3.576e-06/0.6868, allocations: 0 / 0.6166 GB, free: 8.023 MB / 458.7 MB Notification: Performance of matching and sorting (n=78): time 0.009275/0.696, allocations: 2.691 MB / 0.6193 GB, free: 5.262 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.45e-05/0.6962, allocations: 85.77 kB / 0.6194 GB, free: 5.16 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001163/0.6973, allocations: 0.5467 MB / 0.6199 GB, free: 4.605 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001203/0.6975, allocations: 25.7 kB / 0.6199 GB, free: 4.574 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000388/0.6979, allocations: 0.5121 MB / 0.6204 GB, free: 4.055 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003764/0.6983, allocations: 276 kB / 0.6207 GB, free: 3.781 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.836e-05/0.6983, allocations: 0 / 0.6207 GB, free: 3.781 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001942/0.6985, allocations: 358.8 kB / 0.621 GB, free: 3.422 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001056/0.6996, allocations: 382.5 kB / 0.6214 GB, free: 3.051 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001308/0.7009, allocations: 0.6669 MB / 0.622 GB, free: 2.262 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001376/0.7023, allocations: 0.5197 MB / 0.6225 GB, free: 1.742 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.092e-06/0.7023, allocations: 3.938 kB / 0.6225 GB, free: 1.738 MB / 458.7 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.006139/0.7085, allocations: 1.61 MB / 0.6241 GB, free: 112 kB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.7086, allocations: 4 kB / 0.6241 GB, free: 108 kB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005266/0.7138, allocations: 1.315 MB / 0.6254 GB, free: 14.78 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003623/0.7175, allocations: 0.5708 MB / 0.626 GB, free: 14.2 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001269/0.7188, allocations: 179.7 kB / 0.6261 GB, free: 14.02 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01844/0.7372, allocations: 8.797 MB / 0.6347 GB, free: 4.746 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009466/0.7382, allocations: 19.92 kB / 0.6347 GB, free: 4.727 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001189/0.7384, allocations: 44 kB / 0.6348 GB, free: 4.684 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (96): * Single equations (assignments): 92 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(2,100.0%) 8,(1,100.0%) 1} * Non-linear torn systems: 1 {3 20} Notification: Performance of prepare postOptimizeDAE: time 0.0002509/0.7386, allocations: 65.34 kB / 0.6348 GB, free: 4.613 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002716/0.7389, allocations: 86.88 kB / 0.6349 GB, free: 4.527 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004049/0.743, allocations: 1.216 MB / 0.6361 GB, free: 3.285 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.726e-05/0.743, allocations: 8 kB / 0.6361 GB, free: 3.277 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.602e-05/0.743, allocations: 7.938 kB / 0.6361 GB, free: 3.27 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.551e-05/0.7431, allocations: 7.984 kB / 0.6361 GB, free: 3.262 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007413/0.7505, allocations: 2.357 MB / 0.6384 GB, free: 0.8047 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.155e-05/0.7505, allocations: 4 kB / 0.6384 GB, free: 0.8008 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001001/0.7515, allocations: 115.7 kB / 0.6386 GB, free: 0.6875 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002043/0.7536, allocations: 388.3 kB / 0.6389 GB, free: 300 kB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001061/0.7537, allocations: 19.98 kB / 0.6389 GB, free: 280 kB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1557/0.9094, allocations: 8.156 MB / 0.6469 GB, free: 177.3 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.708e-06/0.9095, allocations: 6.531 kB / 0.6469 GB, free: 177.3 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004211/0.9137, allocations: 1.912 MB / 0.6488 GB, free: 176.8 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005783/0.9143, allocations: 223.2 kB / 0.649 GB, free: 176.7 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002216/0.9146, allocations: 17.91 kB / 0.649 GB, free: 176.7 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008803/0.9155, allocations: 15.06 kB / 0.649 GB, free: 176.7 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001203/0.9156, allocations: 50.33 kB / 0.6491 GB, free: 176.7 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.616e-05/0.9157, allocations: 26.22 kB / 0.6491 GB, free: 176.7 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.000707/0.9164, allocations: 427 kB / 0.6495 GB, free: 176.6 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001746/0.9182, allocations: 305.7 kB / 0.6498 GB, free: 176.6 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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 (59): * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(2,100.0%) 10,(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000362/0.9185, allocations: 190.5 kB / 0.65 GB, free: 176.5 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003162/0.9217, allocations: 1.462 MB / 0.6514 GB, free: 176.1 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.9218, allocations: 1.688 kB / 0.6514 GB, free: 176.1 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002181/0.924, allocations: 1.011 MB / 0.6524 GB, free: 175.6 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00142/0.9254, allocations: 154 kB / 0.6525 GB, free: 175.6 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005854/0.9313, allocations: 2.374 MB / 0.6549 GB, free: 175 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001349/0.9327, allocations: 1.34 MB / 0.6562 GB, free: 174.3 MB / 474.7 MB Notification: Performance of SimCode: time 1.403e-06/0.9327, allocations: 3.344 kB / 0.6562 GB, free: 174.3 MB / 474.7 MB Notification: Performance of Templates: time 0.04665/0.9793, allocations: 31.78 MB / 0.6872 GB, free: 169.8 MB / 474.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe 2>&1)