Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.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.AC1ph_DC.Elementary.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line") [: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.001622/0.001622, allocations: 189.2 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.255/1.255, allocations: 194.2 MB / 202.8 MB, free: 8.754 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.001773/0.001772, allocations: 122.1 kB / 247.7 MB, free: 6.23 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1723/0.1723, allocations: 37.92 MB / 330.5 MB, free: 6.902 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.042e-06/6.082e-06, allocations: 0 / 389.8 MB, free: 78.11 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09006/0.09008, allocations: 53.23 MB / 443 MB, free: 24.96 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2832/0.3733, allocations: 92.79 MB / 0.5233 GB, free: 9.539 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002405/0.3736, allocations: 91.75 kB / 0.5233 GB, free: 9.523 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.03175/0.4053, allocations: 10.55 MB / 0.5337 GB, free: 4.891 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.19e-05/0.4054, allocations: 11.44 kB / 0.5337 GB, free: 4.883 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001479/0.4069, allocations: 0.7587 MB / 0.5344 GB, free: 4.109 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.265e-05/0.4069, allocations: 8.031 kB / 0.5344 GB, free: 4.102 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001744/0.4071, allocations: 55.34 kB / 0.5345 GB, free: 4.047 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003251/0.4104, allocations: 1.254 MB / 0.5357 GB, free: 2.977 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.962e-05/0.4104, allocations: 12 kB / 0.5357 GB, free: 2.965 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001289/0.4106, allocations: 39.03 kB / 0.5357 GB, free: 2.93 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005817/0.4112, allocations: 418 kB / 0.5361 GB, free: 2.641 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008839/0.412, allocations: 0.7357 MB / 0.5369 GB, free: 2.023 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.4121, allocations: 0 / 0.5369 GB, free: 2.023 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.875e-05/0.4121, allocations: 0 / 0.5369 GB, free: 2.023 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.4121, allocations: 8 kB / 0.5369 GB, free: 2.016 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003394/0.4155, allocations: 2.646 MB / 0.5395 GB, free: 15.73 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006605/0.4162, allocations: 458 kB / 0.5399 GB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006979/0.4169, allocations: 431.7 kB / 0.5403 GB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.048e-05/0.417, allocations: 6.812 kB / 0.5403 GB, free: 15.1 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.73e-05/0.417, allocations: 42.03 kB / 0.5403 GB, free: 15.05 MB / 362.7 MB Notification: Performance of pre-optimization done (n=32): time 1.653e-06/0.417, allocations: 0 / 0.5403 GB, free: 15.05 MB / 362.7 MB Notification: Performance of matching and sorting (n=33): time 0.007719/0.4248, allocations: 2.99 MB / 0.5433 GB, free: 12.43 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.249e-05/0.4248, allocations: 81.11 kB / 0.5433 GB, free: 12.33 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003724/0.4252, allocations: 311.9 kB / 0.5436 GB, free: 12.07 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.168e-05/0.4253, allocations: 33.62 kB / 0.5437 GB, free: 12.04 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001131/0.4254, allocations: 194.7 kB / 0.5439 GB, free: 11.86 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001848/0.4256, allocations: 157.4 kB / 0.544 GB, free: 11.72 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.222e-05/0.4256, allocations: 0.6562 kB / 0.544 GB, free: 11.72 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.4258, allocations: 354.7 kB / 0.5443 GB, free: 11.39 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000579/0.4264, allocations: 424.6 kB / 0.5448 GB, free: 11.09 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006334/0.427, allocations: 0.5268 MB / 0.5453 GB, free: 10.66 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006514/0.4277, allocations: 478.9 kB / 0.5457 GB, free: 10.32 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.4277, allocations: 0 / 0.5457 GB, free: 10.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.006288/0.434, allocations: 2.388 MB / 0.5481 GB, free: 8.285 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.434, allocations: 7.938 kB / 0.5481 GB, free: 8.277 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.434, allocations: 4 kB / 0.5481 GB, free: 8.273 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007622/0.4417, allocations: 2.011 MB / 0.55 GB, free: 6.355 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004322/0.4421, allocations: 83.83 kB / 0.5501 GB, free: 6.273 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0107/0.4528, allocations: 7.878 MB / 0.5578 GB, free: 15.28 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000512/0.4534, allocations: 15.97 kB / 0.5578 GB, free: 15.26 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001763/0.4536, allocations: 69.47 kB / 0.5579 GB, free: 15.2 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {8,6} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002277/0.4538, allocations: 116.8 kB / 0.558 GB, free: 15.08 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001473/0.454, allocations: 43.44 kB / 0.558 GB, free: 15.04 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0059/0.4599, allocations: 2.124 MB / 0.5601 GB, free: 13.21 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/0.4599, allocations: 4 kB / 0.5601 GB, free: 13.2 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/0.4599, allocations: 0 / 0.5601 GB, free: 13.2 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.4599, allocations: 3.984 kB / 0.5601 GB, free: 13.2 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006916/0.4669, allocations: 2.85 MB / 0.5629 GB, free: 10.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.4669, allocations: 0 / 0.5629 GB, free: 10.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002369/0.4671, allocations: 44.16 kB / 0.5629 GB, free: 10.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009868/0.477, allocations: 2.965 MB / 0.5658 GB, free: 7.875 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002038/0.4773, allocations: 98.97 kB / 0.5659 GB, free: 7.789 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01025/0.4875, allocations: 7.963 MB / 0.5737 GB, free: 0.7266 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/0.4876, allocations: 320 / 0.5737 GB, free: 0.7266 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006206/0.4938, allocations: 2.541 MB / 0.5762 GB, free: 14.53 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000198/0.494, allocations: 111.8 kB / 0.5763 GB, free: 14.41 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002074/0.4942, allocations: 91.61 kB / 0.5764 GB, free: 14.33 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003301/0.4946, allocations: 15.97 kB / 0.5764 GB, free: 14.31 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/0.4947, allocations: 42.53 kB / 0.5764 GB, free: 14.27 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.289e-05/0.4948, allocations: 62.95 kB / 0.5765 GB, free: 14.21 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0002722/0.495, allocations: 231.2 kB / 0.5767 GB, free: 14.04 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009362/0.496, allocations: 212 kB / 0.5769 GB, free: 13.83 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 14 (line.v[1,1],line.v[1,2],line.v[1,3],line.v[2,1],line.v[2,2],line.v[2,3],line.i[1,1],line.i[1,2],line.i[1,3],line.i[1,4],line.i[2,1],line.i[2,2],line.i[2,3],line.i[2,4]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {8,6} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002419/0.4962, allocations: 144.8 kB / 0.5771 GB, free: 13.68 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002495/0.4987, allocations: 1.281 MB / 0.5783 GB, free: 12.63 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.99e-06/0.4988, allocations: 0 / 0.5783 GB, free: 12.63 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001832/0.5006, allocations: 0.8577 MB / 0.5792 GB, free: 11.88 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006886/0.5013, allocations: 109 kB / 0.5793 GB, free: 11.8 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003633/0.505, allocations: 1.991 MB / 0.5812 GB, free: 9.848 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005653/0.5055, allocations: 0.9205 MB / 0.5821 GB, free: 8.895 MB / 394.7 MB Notification: Performance of SimCode: time 8.72e-07/0.5056, allocations: 0 / 0.5821 GB, free: 8.895 MB / 394.7 MB Notification: Performance of Templates: time 0.02166/0.5272, allocations: 14.2 MB / 0.596 GB, free: 10.74 MB / 410.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.makefile (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe 2>&1)