Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.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.Transmission.PowerTransfer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer") translateModel(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer") [: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.0017/0.0017, 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.845/1.845, allocations: 205.2 MB / 213.4 MB, free: 13.93 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.001265/0.001264, allocations: 86.58 kB / 261.4 MB, free: 13.63 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.2693/0.2693, allocations: 37.97 MB / 347.3 MB, free: 7.555 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.594e-06/7.755e-06, allocations: 0 / 409.3 MB, free: 47.25 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1066, allocations: 56.32 MB / 465.6 MB, free: 6.855 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3556/0.4622, allocations: 95.07 MB / 0.5476 GB, free: 15.79 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003419/0.4626, allocations: 95.92 kB / 0.5477 GB, free: 15.7 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.0593/0.522, allocations: 12.47 MB / 0.5598 GB, free: 3.078 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.354e-05/0.522, allocations: 12 kB / 0.5598 GB, free: 3.066 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001503/0.5236, allocations: 0.6406 MB / 0.5605 GB, free: 2.379 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.5236, allocations: 8.031 kB / 0.5605 GB, free: 2.371 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001201/0.5248, allocations: 99.36 kB / 0.5606 GB, free: 2.273 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003759/0.5286, allocations: 0.8617 MB / 0.5614 GB, free: 1.371 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.645e-05/0.5287, allocations: 12 kB / 0.5614 GB, free: 1.359 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.691e-05/0.5288, allocations: 20 kB / 0.5614 GB, free: 1.34 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008531/0.5297, allocations: 277.5 kB / 0.5617 GB, free: 1.066 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001029/0.5307, allocations: 420.4 kB / 0.5621 GB, free: 0.6328 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.994e-05/0.5308, allocations: 7.906 kB / 0.5621 GB, free: 0.625 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.834e-05/0.5308, allocations: 0 / 0.5621 GB, free: 0.625 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.539e-05/0.5309, allocations: 24.78 kB / 0.5621 GB, free: 0.6016 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003754/0.5347, allocations: 1.564 MB / 0.5637 GB, free: 14.95 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003746/0.5351, allocations: 128.2 kB / 0.5638 GB, free: 14.81 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002705/0.5354, allocations: 101.8 kB / 0.5639 GB, free: 14.71 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.331e-05/0.5354, allocations: 7.938 kB / 0.5639 GB, free: 14.7 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.868e-05/0.5355, allocations: 42.55 kB / 0.5639 GB, free: 14.65 MB / 410.7 MB Notification: Performance of pre-optimization done (n=19): time 3.647e-06/0.5355, allocations: 4 kB / 0.5639 GB, free: 14.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=20): time 0.001777/0.5373, allocations: 0.6796 MB / 0.5646 GB, free: 13.91 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.14e-05/0.5374, allocations: 81.05 kB / 0.5647 GB, free: 13.81 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004086/0.5378, allocations: 247.5 kB / 0.5649 GB, free: 13.56 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.97e-05/0.5378, allocations: 25.7 kB / 0.5649 GB, free: 13.53 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001685/0.538, allocations: 277.9 kB / 0.5652 GB, free: 13.26 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000118/0.5381, allocations: 66.95 kB / 0.5653 GB, free: 13.19 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.021e-05/0.5382, allocations: 0 / 0.5653 GB, free: 13.19 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.5383, allocations: 330.7 kB / 0.5656 GB, free: 12.86 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002527/0.5386, allocations: 87.97 kB / 0.5657 GB, free: 12.77 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003468/0.5389, allocations: 193.1 kB / 0.5659 GB, free: 12.54 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003586/0.5393, allocations: 133.5 kB / 0.566 GB, free: 12.41 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.5393, allocations: 0 / 0.566 GB, free: 12.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001426/0.5408, allocations: 377 kB / 0.5663 GB, free: 12.04 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.295e-05/0.5408, allocations: 8 kB / 0.5664 GB, free: 12.03 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008788/0.5417, allocations: 256.5 kB / 0.5666 GB, free: 11.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004768/0.5422, allocations: 68.8 kB / 0.5667 GB, free: 11.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005266/0.5428, allocations: 76.16 kB / 0.5667 GB, free: 11.63 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002646/0.5454, allocations: 1.517 MB / 0.5682 GB, free: 9.996 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002921/0.5458, allocations: 4 kB / 0.5682 GB, free: 9.992 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.796e-05/0.5458, allocations: 20.09 kB / 0.5682 GB, free: 9.973 MB / 410.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 (34): * Single equations (assignments): 33 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001192/0.546, allocations: 37.58 kB / 0.5683 GB, free: 9.93 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001186/0.5461, allocations: 27.62 kB / 0.5683 GB, free: 9.902 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000732/0.5468, allocations: 246.4 kB / 0.5685 GB, free: 9.66 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.041e-05/0.5469, allocations: 7.906 kB / 0.5685 GB, free: 9.652 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.5469, allocations: 0 / 0.5685 GB, free: 9.652 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.5469, allocations: 3.984 kB / 0.5685 GB, free: 9.648 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001918/0.5488, allocations: 0.6972 MB / 0.5692 GB, free: 8.891 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.01e-05/0.5489, allocations: 4 kB / 0.5692 GB, free: 8.887 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005431/0.5494, allocations: 44.09 kB / 0.5693 GB, free: 8.844 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.237e-05/0.5495, allocations: 8 kB / 0.5693 GB, free: 8.836 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.755e-05/0.5495, allocations: 8.141 kB / 0.5693 GB, free: 8.828 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.983e-06/0.5495, allocations: 7.875 kB / 0.5693 GB, free: 8.82 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/0.5495, allocations: 4 kB / 0.5693 GB, free: 8.816 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009215/0.5505, allocations: 0.5035 MB / 0.5698 GB, free: 8.25 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001422/0.5506, allocations: 108.7 kB / 0.5699 GB, free: 8.125 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.921e-05/0.5507, allocations: 7.984 kB / 0.5699 GB, free: 8.117 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003078/0.551, allocations: 4 kB / 0.5699 GB, free: 8.113 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.036e-05/0.5511, allocations: 19.92 kB / 0.5699 GB, free: 8.094 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.591e-05/0.5511, allocations: 8 kB / 0.5699 GB, free: 8.086 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0003164/0.5515, allocations: 195.1 kB / 0.5701 GB, free: 7.895 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006706/0.5521, allocations: 83.91 kB / 0.5702 GB, free: 7.812 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (line.i[1],line.i[2],line.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 22 * 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.0002598/0.5524, allocations: 123.2 kB / 0.5703 GB, free: 7.68 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001127/0.5536, allocations: 357.8 kB / 0.5707 GB, free: 7.32 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/0.5536, allocations: 0 / 0.5707 GB, free: 7.32 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002641/0.5539, allocations: 103.8 kB / 0.5708 GB, free: 7.219 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006579/0.5545, allocations: 50 kB / 0.5708 GB, free: 7.172 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002275/0.5568, allocations: 0.7602 MB / 0.5715 GB, free: 6.359 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007653/0.5576, allocations: 0.8835 MB / 0.5724 GB, free: 5.445 MB / 410.7 MB Notification: Performance of SimCode: time 1.132e-06/0.5577, allocations: 0 / 0.5724 GB, free: 5.445 MB / 410.7 MB Notification: Performance of Templates: time 0.01274/0.5704, allocations: 5.275 MB / 0.5776 GB, free: 172 kB / 410.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe 2>&1)