Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Line.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.Elementary.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Line") translateModel(PowerSystems.Examples.AC3ph.Elementary.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002425/0.002424, allocations: 197.2 kB / 7.81 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.754/1.754, allocations: 205.2 MB / 213.4 MB, free: 13.86 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.001206/0.001206, allocations: 94.48 kB / 261.4 MB, free: 13.61 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.2707/0.2707, allocations: 37.98 MB / 347.3 MB, free: 7.535 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 9.819e-06/9.979e-06, allocations: 0 / 409.3 MB, free: 47.24 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09817/0.09821, allocations: 56.32 MB / 465.6 MB, free: 6.855 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3434/0.4417, allocations: 103.9 MB / 0.5561 GB, free: 7.02 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003289/0.4421, allocations: 95.92 kB / 0.5562 GB, free: 6.926 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.07924/0.5213, allocations: 16.97 MB / 0.5728 GB, free: 5.789 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.804e-05/0.5214, allocations: 16 kB / 0.5728 GB, free: 5.773 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 139 * Number of variables: 139 Notification: Performance of Generate backend data structure: time 0.002228/0.5237, allocations: 0.7502 MB / 0.5735 GB, free: 4.977 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/0.5237, allocations: 12.03 kB / 0.5736 GB, free: 4.965 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002073/0.5258, allocations: 143 kB / 0.5737 GB, free: 4.824 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005432/0.5313, allocations: 1.217 MB / 0.5749 GB, free: 3.566 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.019e-05/0.5314, allocations: 12.84 kB / 0.5749 GB, free: 3.555 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002023/0.5316, allocations: 35.91 kB / 0.5749 GB, free: 3.52 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001613/0.5332, allocations: 0.5371 MB / 0.5755 GB, free: 2.98 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001908/0.5351, allocations: 0.7906 MB / 0.5762 GB, free: 2.121 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.806e-05/0.5352, allocations: 0 / 0.5762 GB, free: 2.121 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.728e-05/0.5353, allocations: 4 kB / 0.5762 GB, free: 2.117 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004914/0.5358, allocations: 48.69 kB / 0.5763 GB, free: 2.07 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02149/0.5573, allocations: 5.54 MB / 0.5817 GB, free: 12.39 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00169/0.559, allocations: 0.7082 MB / 0.5824 GB, free: 11.66 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001329/0.5604, allocations: 0.6396 MB / 0.583 GB, free: 11.02 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001055/0.5605, allocations: 16.41 kB / 0.583 GB, free: 11 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.992e-05/0.5606, allocations: 35 kB / 0.5831 GB, free: 10.96 MB / 426.7 MB Notification: Performance of pre-optimization done (n=52): time 3.477e-06/0.5606, allocations: 0 / 0.5831 GB, free: 10.96 MB / 426.7 MB Notification: Performance of matching and sorting (n=53): time 0.03015/0.5907, allocations: 4.809 MB / 0.5877 GB, free: 6.094 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.609e-05/0.5909, allocations: 89.58 kB / 0.5878 GB, free: 5.988 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006489/0.5915, allocations: 320.8 kB / 0.5881 GB, free: 5.664 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002484/0.5918, allocations: 29.7 kB / 0.5882 GB, free: 5.629 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002239/0.592, allocations: 318.2 kB / 0.5885 GB, free: 5.316 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004074/0.5924, allocations: 252.9 kB / 0.5887 GB, free: 5.066 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001368/0.5926, allocations: 3.938 kB / 0.5887 GB, free: 5.062 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001562/0.5927, allocations: 346.8 kB / 0.589 GB, free: 4.715 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001976/0.5947, allocations: 0.7865 MB / 0.5898 GB, free: 3.93 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002168/0.5969, allocations: 0.9886 MB / 0.5908 GB, free: 2.852 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002321/0.5993, allocations: 0.8969 MB / 0.5917 GB, free: 1.953 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.975e-06/0.5993, allocations: 4 kB / 0.5917 GB, free: 1.949 MB / 426.7 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.03235/0.6316, allocations: 4.809 MB / 0.5964 GB, free: 13.12 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.448e-05/0.6317, allocations: 8.031 kB / 0.5964 GB, free: 13.12 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02376/0.6555, allocations: 3.865 MB / 0.6001 GB, free: 9.234 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03036/0.6859, allocations: 4.081 MB / 0.6041 GB, free: 5.145 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009616/0.6869, allocations: 115.8 kB / 0.6042 GB, free: 5.031 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02979/0.7167, allocations: 9.83 MB / 0.6138 GB, free: 11.08 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009977/0.7178, allocations: 23.98 kB / 0.6139 GB, free: 11.06 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003827/0.7182, allocations: 187.8 kB / 0.614 GB, free: 10.88 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (65): * Single equations (assignments): 62 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(7,32.7%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {14 14} Notification: Performance of prepare postOptimizeDAE: time 0.0003576/0.7186, allocations: 49.52 kB / 0.6141 GB, free: 10.82 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002727/0.7188, allocations: 47.44 kB / 0.6141 GB, free: 10.77 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02641/0.7453, allocations: 3.567 MB / 0.6176 GB, free: 7.195 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.125e-05/0.7454, allocations: 11.98 kB / 0.6176 GB, free: 7.184 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.7454, allocations: 0 / 0.6176 GB, free: 7.184 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.045e-05/0.7455, allocations: 7.906 kB / 0.6176 GB, free: 7.176 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03101/0.7765, allocations: 4.913 MB / 0.6224 GB, free: 2.191 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.807e-05/0.7765, allocations: 0 / 0.6224 GB, free: 2.191 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005787/0.7771, allocations: 55.91 kB / 0.6225 GB, free: 2.137 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.04911/0.8263, allocations: 6.615 MB / 0.6289 GB, free: 11.5 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006912/0.827, allocations: 231.7 kB / 0.6292 GB, free: 11.27 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1706/0.9976, allocations: 11.5 MB / 0.6404 GB, free: 198.4 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.867e-06/0.9977, allocations: 7.094 kB / 0.6404 GB, free: 198.4 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02561/1.023, allocations: 4.054 MB / 0.6444 GB, free: 198.1 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000223/1.024, allocations: 127.8 kB / 0.6445 GB, free: 198 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006392/1.024, allocations: 182.2 kB / 0.6447 GB, free: 198 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001114/1.025, allocations: 24.03 kB / 0.6447 GB, free: 198 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002699/1.026, allocations: 76.09 kB / 0.6448 GB, free: 198 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003099/1.026, allocations: 183 kB / 0.6449 GB, free: 198 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.0003655/1.026, allocations: 236.6 kB / 0.6452 GB, free: 197.9 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001894/1.028, allocations: 342.2 kB / 0.6455 GB, free: 197.9 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 21 (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.v[3,1],line.v[3,2],line.v[3,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],line.i[3,1],line.i[3,2],line.i[3,3],line.i[3,4]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 30 * Array equations: 1 * 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 {12,9} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004383/1.029, allocations: 162.2 kB / 0.6456 GB, free: 197.9 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.007447/1.036, allocations: 2.248 MB / 0.6478 GB, free: 197.6 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.572e-06/1.036, allocations: 2.281 kB / 0.6478 GB, free: 197.6 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00594/1.042, allocations: 1.469 MB / 0.6493 GB, free: 197.4 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001147/1.043, allocations: 99.88 kB / 0.6494 GB, free: 197.4 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009026/1.052, allocations: 3.383 MB / 0.6527 GB, free: 196.4 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008102/1.053, allocations: 1.025 MB / 0.6537 GB, free: 195.7 MB / 474.7 MB Notification: Performance of SimCode: time 2.625e-06/1.053, allocations: 0 / 0.6537 GB, free: 195.7 MB / 474.7 MB Notification: Performance of Templates: time 0.0517/1.105, allocations: 26.69 MB / 0.6797 GB, free: 185.4 MB / 474.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Line.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Line.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Line.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Line.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Line.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Line --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Line.pipe 2>&1)