Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.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.AC1ph_DC.Elementary.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Line") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerSystems_cpp_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002254/0.002259, allocations: 188.6 kB / 7.803 MB, free: 2.5 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.725/1.725, 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.001759/0.001759, allocations: 87.03 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.2671/0.2671, allocations: 37.97 MB / 347.3 MB, free: 7.539 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.415e-06/8.836e-06, allocations: 0 / 409.3 MB, free: 47.22 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.1175, allocations: 56.32 MB / 465.6 MB, free: 6.84 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.338/0.4556, allocations: 97.83 MB / 0.5503 GB, free: 13.04 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003355/0.456, allocations: 87.95 kB / 0.5503 GB, free: 12.95 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.05255/0.5086, allocations: 10.61 MB / 0.5607 GB, free: 2.234 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.526e-05/0.5087, allocations: 16 kB / 0.5607 GB, free: 2.219 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.002432/0.5111, allocations: 0.7581 MB / 0.5615 GB, free: 1.414 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.5112, allocations: 11.97 kB / 0.5615 GB, free: 1.402 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002219/0.5114, allocations: 55.34 kB / 0.5615 GB, free: 1.348 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005698/0.5171, allocations: 1.26 MB / 0.5628 GB, free: 48 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.577e-05/0.5172, allocations: 12 kB / 0.5628 GB, free: 36 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002337/0.5174, allocations: 32 kB / 0.5628 GB, free: 4 kB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001234/0.5187, allocations: 413.4 kB / 0.5632 GB, free: 15.6 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001699/0.5204, allocations: 0.7331 MB / 0.5639 GB, free: 14.84 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.819e-05/0.5205, allocations: 3.938 kB / 0.5639 GB, free: 14.83 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.396e-05/0.5206, allocations: 7.906 kB / 0.5639 GB, free: 14.82 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.607e-05/0.5206, allocations: 12 kB / 0.5639 GB, free: 14.81 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006489/0.5271, allocations: 2.643 MB / 0.5665 GB, free: 12.1 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001133/0.5283, allocations: 457.2 kB / 0.5669 GB, free: 11.63 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001242/0.5295, allocations: 434.1 kB / 0.5674 GB, free: 11.2 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.628e-05/0.5296, allocations: 8 kB / 0.5674 GB, free: 11.2 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.592e-05/0.5296, allocations: 38.55 kB / 0.5674 GB, free: 11.15 MB / 410.7 MB Notification: Performance of pre-optimization done (n=32): time 3.326e-06/0.5297, allocations: 0 / 0.5674 GB, free: 11.15 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.01291/0.5426, allocations: 2.992 MB / 0.5703 GB, free: 8.086 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.574e-05/0.5427, allocations: 85.11 kB / 0.5704 GB, free: 7.984 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006064/0.5433, allocations: 306 kB / 0.5707 GB, free: 7.676 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001342/0.5435, allocations: 25.7 kB / 0.5707 GB, free: 7.645 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001836/0.5437, allocations: 242.6 kB / 0.571 GB, free: 7.402 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002292/0.5439, allocations: 150 kB / 0.5711 GB, free: 7.254 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.852e-05/0.544, allocations: 0 / 0.5711 GB, free: 7.254 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.5441, allocations: 334.8 kB / 0.5714 GB, free: 6.918 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001011/0.5452, allocations: 416.9 kB / 0.5718 GB, free: 6.512 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001073/0.5462, allocations: 0.5143 MB / 0.5723 GB, free: 5.957 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001109/0.5474, allocations: 461.3 kB / 0.5728 GB, free: 5.508 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.5474, allocations: 8 kB / 0.5728 GB, free: 5.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.006937/0.5543, allocations: 2.025 MB / 0.5747 GB, free: 3.461 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.642e-05/0.5544, allocations: 12.03 kB / 0.5748 GB, free: 3.449 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.342e-05/0.5544, allocations: 0 / 0.5748 GB, free: 3.449 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00687/0.5613, allocations: 1.676 MB / 0.5764 GB, free: 1.766 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006892/0.5621, allocations: 83.89 kB / 0.5765 GB, free: 1.684 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.856e-05/0.5621, allocations: 11.94 kB / 0.5765 GB, free: 1.672 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005089/0.5626, allocations: 16.22 kB / 0.5765 GB, free: 1.656 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001761/0.5628, allocations: 71.88 kB / 0.5766 GB, free: 1.586 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 (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): 2 {(7,32.7%),(7,32.7%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002055/0.563, allocations: 41.59 kB / 0.5766 GB, free: 1.539 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002038/0.5632, allocations: 39.53 kB / 0.5766 GB, free: 1.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0109/0.5742, allocations: 2.137 MB / 0.5787 GB, free: 15.35 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.839e-05/0.5742, allocations: 4 kB / 0.5787 GB, free: 15.34 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.5742, allocations: 0 / 0.5787 GB, free: 15.34 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.394e-05/0.5743, allocations: 3.906 kB / 0.5787 GB, free: 15.34 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01243/0.5867, allocations: 2.854 MB / 0.5815 GB, free: 12.43 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.565e-05/0.5868, allocations: 7.922 kB / 0.5815 GB, free: 12.42 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004252/0.5872, allocations: 39.98 kB / 0.5816 GB, free: 12.38 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01761/0.6048, allocations: 2.956 MB / 0.5845 GB, free: 9.414 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003631/0.6052, allocations: 103.9 kB / 0.5846 GB, free: 9.312 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0185/0.6238, allocations: 7.974 MB / 0.5923 GB, free: 1.105 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/0.6238, allocations: 0 / 0.5923 GB, free: 1.105 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01149/0.6353, allocations: 2.536 MB / 0.5948 GB, free: 14.52 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002184/0.6356, allocations: 116.5 kB / 0.5949 GB, free: 14.39 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000328/0.6359, allocations: 79.95 kB / 0.595 GB, free: 14.31 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005898/0.6365, allocations: 15.97 kB / 0.595 GB, free: 14.3 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001469/0.6367, allocations: 39.94 kB / 0.5951 GB, free: 14.26 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001576/0.6369, allocations: 71.89 kB / 0.5951 GB, free: 14.19 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.0004303/0.6373, allocations: 228.6 kB / 0.5953 GB, free: 13.96 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0009518/0.6383, allocations: 179.9 kB / 0.5955 GB, free: 13.79 MB / 442.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.0003018/0.6386, allocations: 137.8 kB / 0.5956 GB, free: 13.65 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00272/0.6413, allocations: 1.063 MB / 0.5967 GB, free: 12.55 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.6413, allocations: 0 / 0.5967 GB, free: 12.55 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002967/0.6443, allocations: 0.8564 MB / 0.5975 GB, free: 11.66 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009836/0.6453, allocations: 93.44 kB / 0.5976 GB, free: 11.57 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005771/0.6511, allocations: 2.042 MB / 0.5996 GB, free: 9.492 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007604/0.6519, allocations: 0.9283 MB / 0.6005 GB, free: 8.535 MB / 442.7 MB Notification: Performance of SimCode: time 1.362e-06/0.6519, allocations: 0 / 0.6005 GB, free: 8.535 MB / 442.7 MB Notification: Performance of Templates: time 0.03968/0.6916, allocations: 19.91 MB / 0.62 GB, free: 4.594 MB / 458.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Line.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Line.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Line --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe 2>&1)