Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.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.VoltageStability,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.VoltageStability") translateModel(PowerSystems.Examples.AC3ph.Transmission.VoltageStability,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.VoltageStability") [: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.001671/0.001671, allocations: 190.1 kB / 7.806 MB, free: 2.473 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.769/1.769, 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.001255/0.001256, allocations: 93.81 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.2758/0.2758, allocations: 37.98 MB / 347.3 MB, free: 7.551 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 9.358e-06/9.498e-06, allocations: 0 / 409.3 MB, free: 47.24 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.101, allocations: 56.31 MB / 465.6 MB, free: 6.859 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3593/0.4603, allocations: 101.7 MB / 0.554 GB, free: 9.207 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003187/0.4607, allocations: 91.94 kB / 0.5541 GB, free: 9.117 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.1463/0.607, allocations: 31.99 MB / 0.5853 GB, free: 8.734 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.849e-05/0.6072, allocations: 32 kB / 0.5854 GB, free: 8.703 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 330 * Number of variables: 330 Notification: Performance of Generate backend data structure: time 0.004977/0.6122, allocations: 1.305 MB / 0.5866 GB, free: 7.348 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.965e-05/0.6123, allocations: 12.03 kB / 0.5867 GB, free: 7.336 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003274/0.6156, allocations: 281.9 kB / 0.5869 GB, free: 7.059 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00753/0.6231, allocations: 1.772 MB / 0.5887 GB, free: 5.238 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.354e-05/0.6233, allocations: 36 kB / 0.5887 GB, free: 5.203 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003791/0.6237, allocations: 79.91 kB / 0.5888 GB, free: 5.125 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004252/0.6279, allocations: 1.157 MB / 0.5899 GB, free: 3.965 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004873/0.6329, allocations: 1.643 MB / 0.5915 GB, free: 2.145 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.229e-05/0.633, allocations: 11.84 kB / 0.5915 GB, free: 2.133 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001581/0.6332, allocations: 8 kB / 0.5915 GB, free: 2.125 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001771/0.6334, allocations: 82.06 kB / 0.5916 GB, free: 2.043 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01493/0.6483, allocations: 7.768 MB / 0.5992 GB, free: 10 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001535/0.6499, allocations: 0.5725 MB / 0.5997 GB, free: 9.414 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001303/0.6512, allocations: 0.5475 MB / 0.6003 GB, free: 8.859 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001208/0.6514, allocations: 24.75 kB / 0.6003 GB, free: 8.832 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.156e-05/0.6514, allocations: 39.34 kB / 0.6003 GB, free: 8.785 MB / 442.7 MB Notification: Performance of pre-optimization done (n=98): time 4.919e-06/0.6514, allocations: 3.938 kB / 0.6003 GB, free: 8.781 MB / 442.7 MB Notification: Performance of matching and sorting (n=99): time 0.007114/0.6586, allocations: 2.486 MB / 0.6028 GB, free: 6.242 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.43e-05/0.6587, allocations: 85.89 kB / 0.6029 GB, free: 6.137 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001232/0.6599, allocations: 0.6053 MB / 0.6034 GB, free: 5.523 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.277e-05/0.66, allocations: 25.7 kB / 0.6035 GB, free: 5.492 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004574/0.6605, allocations: 0.574 MB / 0.604 GB, free: 4.91 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004331/0.6609, allocations: 343 kB / 0.6044 GB, free: 4.57 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.601e-05/0.661, allocations: 0 / 0.6044 GB, free: 4.57 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001974/0.6613, allocations: 374.8 kB / 0.6047 GB, free: 4.195 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0013/0.6626, allocations: 499.1 kB / 0.6052 GB, free: 3.703 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001709/0.6643, allocations: 0.9686 MB / 0.6061 GB, free: 2.527 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002044/0.6664, allocations: 0.7052 MB / 0.6068 GB, free: 1.82 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.15e-05/0.6664, allocations: 4 kB / 0.6068 GB, free: 1.816 MB / 442.7 MB Notification: Performance of matching and sorting (n=181) (initialization): time 0.005438/0.6718, allocations: 1.707 MB / 0.6085 GB, free: 96 kB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.351e-05/0.6719, allocations: 7.906 kB / 0.6085 GB, free: 88 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003857/0.6758, allocations: 1.16 MB / 0.6096 GB, free: 14.91 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00132/0.6771, allocations: 226.7 kB / 0.6099 GB, free: 14.68 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002301/0.6795, allocations: 295.5 kB / 0.6101 GB, free: 14.39 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00719/0.6867, allocations: 4.597 MB / 0.6146 GB, free: 9.449 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001299/0.688, allocations: 27.97 kB / 0.6146 GB, free: 9.422 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001768/0.6882, allocations: 64 kB / 0.6147 GB, free: 9.359 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * 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 (160): * Single equations (assignments): 153 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003074/0.6885, allocations: 77.22 kB / 0.6148 GB, free: 9.277 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002991/0.6888, allocations: 98.72 kB / 0.6149 GB, free: 9.18 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003828/0.6927, allocations: 1.169 MB / 0.616 GB, free: 8 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.864e-05/0.6928, allocations: 19.91 kB / 0.616 GB, free: 7.98 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.6928, allocations: 0 / 0.616 GB, free: 7.98 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.752e-05/0.6929, allocations: 3.984 kB / 0.616 GB, free: 7.977 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008133/0.701, allocations: 2.334 MB / 0.6183 GB, free: 5.559 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-05/0.7011, allocations: 4 kB / 0.6183 GB, free: 5.555 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002064/0.7031, allocations: 191.8 kB / 0.6185 GB, free: 5.367 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.25e-05/0.7032, allocations: 8.375 kB / 0.6185 GB, free: 5.359 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001038/0.7033, allocations: 19.94 kB / 0.6185 GB, free: 5.34 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.656e-05/0.7033, allocations: 11.98 kB / 0.6185 GB, free: 5.328 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.928e-06/0.7034, allocations: 7.938 kB / 0.6186 GB, free: 5.32 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004414/0.7078, allocations: 1.924 MB / 0.6204 GB, free: 3.258 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000458/0.7083, allocations: 167.9 kB / 0.6206 GB, free: 3.074 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002317/0.7085, allocations: 7.984 kB / 0.6206 GB, free: 3.066 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009817/0.7095, allocations: 23.97 kB / 0.6206 GB, free: 3.043 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001609/0.7097, allocations: 48.5 kB / 0.6207 GB, free: 2.996 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.683e-05/0.7098, allocations: 31.98 kB / 0.6207 GB, free: 2.965 MB / 458.7 MB Notification: Performance of sort global known variables: time 0.0009151/0.7107, allocations: 455.1 kB / 0.6211 GB, free: 2.52 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001737/0.7125, allocations: 291.9 kB / 0.6214 GB, free: 2.234 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 9 (line0.i[1],line0.i[2],line0.i[3],line1.i[1],line1.i[2],line1.i[3],line2.i[1],line2.i[2],line2.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 85 * Array equations: 4 * 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.0005083/0.713, allocations: 206 kB / 0.6216 GB, free: 2.023 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004519/0.7176, allocations: 1.579 MB / 0.6232 GB, free: 428 kB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.103e-05/0.7176, allocations: 4 kB / 0.6232 GB, free: 424 kB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001462/0.7191, allocations: 0.5036 MB / 0.6236 GB, free: 15.91 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001403/0.7205, allocations: 143.9 kB / 0.6238 GB, free: 15.78 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007506/0.7281, allocations: 2.537 MB / 0.6263 GB, free: 13.16 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002215/0.7304, allocations: 1.376 MB / 0.6276 GB, free: 11.75 MB / 474.7 MB Notification: Performance of SimCode: time 1.232e-06/0.7304, allocations: 3.938 kB / 0.6276 GB, free: 11.75 MB / 474.7 MB Notification: Performance of Templates: time 0.2452/0.9757, allocations: 20.66 MB / 0.6478 GB, free: 121.8 MB / 474.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.VoltageStability --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.pipe 2>&1)