Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.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.Generic.Network.NetworkLoop_dq,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_dq,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq") [: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.001643/0.001643, allocations: 186 kB / 7.802 MB, free: 104 kB / 6.207 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.746/1.746, allocations: 205.2 MB / 213.4 MB, free: 2.137 MB / 174.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001217/0.001217, allocations: 102.2 kB / 261.4 MB, free: 1.453 MB / 206.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2478/0.2478, allocations: 37.97 MB / 347.3 MB, free: 11.38 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 8.777e-06/8.796e-06, allocations: 4 kB / 409.3 MB, free: 69.46 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09503/0.09506, allocations: 56.32 MB / 465.6 MB, free: 13.1 MB / 318.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3509/0.446, allocations: 95.15 MB / 0.5476 GB, free: 8.348 MB / 366.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002987/0.4464, allocations: 84.88 kB / 0.5477 GB, free: 8.301 MB / 366.1 MB Notification: Performance of FrontEnd: time 0.2024/0.6488, allocations: 53.41 MB / 0.5999 GB, free: 9.898 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.557e-05/0.6489, allocations: 12 kB / 0.5999 GB, free: 9.887 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.002371/0.6513, allocations: 0.976 MB / 0.6008 GB, free: 8.863 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.6513, allocations: 8.031 kB / 0.6009 GB, free: 8.855 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005729/0.657, allocations: 390.5 kB / 0.6012 GB, free: 8.473 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001344/0.6584, allocations: 484.2 kB / 0.6017 GB, free: 7.961 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.788e-05/0.6585, allocations: 27.98 kB / 0.6017 GB, free: 7.934 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001875/0.6587, allocations: 40 kB / 0.6018 GB, free: 7.895 MB / 414.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002748/0.6615, allocations: 0.941 MB / 0.6027 GB, free: 6.953 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002791/0.6643, allocations: 1.059 MB / 0.6037 GB, free: 5.867 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.39e-05/0.6643, allocations: 11.89 kB / 0.6037 GB, free: 5.855 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001122/0.6644, allocations: 4 kB / 0.6037 GB, free: 5.852 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004869/0.6649, allocations: 93.92 kB / 0.6038 GB, free: 5.758 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009538/0.6745, allocations: 3.445 MB / 0.6072 GB, free: 2.23 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002775/0.6773, allocations: 0.9678 MB / 0.6081 GB, free: 1.242 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001582/0.6789, allocations: 0.6249 MB / 0.6087 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.624e-05/0.679, allocations: 16.75 kB / 0.6087 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.165e-05/0.6791, allocations: 51.28 kB / 0.6088 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of pre-optimization done (n=91): time 4.108e-06/0.6791, allocations: 0 / 0.6088 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of matching and sorting (n=92): time 0.006214/0.6853, allocations: 1.932 MB / 0.6107 GB, free: 14.59 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.908e-05/0.6854, allocations: 89.89 kB / 0.6108 GB, free: 14.48 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005721/0.686, allocations: 293.9 kB / 0.611 GB, free: 14.2 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.875e-05/0.6861, allocations: 25.7 kB / 0.6111 GB, free: 14.16 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002294/0.6863, allocations: 326.5 kB / 0.6114 GB, free: 13.84 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004146/0.6868, allocations: 299.5 kB / 0.6117 GB, free: 13.54 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.034e-05/0.6868, allocations: 0 / 0.6117 GB, free: 13.54 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001844/0.687, allocations: 350.8 kB / 0.612 GB, free: 13.19 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001167/0.6882, allocations: 433.8 kB / 0.6124 GB, free: 12.77 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00131/0.6896, allocations: 0.5284 MB / 0.6129 GB, free: 12.21 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001405/0.691, allocations: 0.5042 MB / 0.6134 GB, free: 11.7 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.691, allocations: 4 kB / 0.6134 GB, free: 11.7 MB / 430.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.004324/0.6953, allocations: 1.347 MB / 0.6147 GB, free: 10.34 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.6954, allocations: 4.188 kB / 0.6147 GB, free: 10.34 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.424e-05/0.6954, allocations: 8 kB / 0.6148 GB, free: 10.33 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001598/0.697, allocations: 304.4 kB / 0.615 GB, free: 10.04 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001533/0.6986, allocations: 179.8 kB / 0.6152 GB, free: 9.859 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008208/0.7068, allocations: 3.447 MB / 0.6186 GB, free: 6.293 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009457/0.7078, allocations: 31.89 kB / 0.6186 GB, free: 6.262 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001057/0.7079, allocations: 24 kB / 0.6186 GB, free: 6.238 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (80): * Single equations (assignments): 79 * 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%) 26} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002222/0.7081, allocations: 41.58 kB / 0.6187 GB, free: 6.191 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001982/0.7083, allocations: 63.23 kB / 0.6187 GB, free: 6.129 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004699/0.713, allocations: 1.471 MB / 0.6202 GB, free: 4.648 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.722e-05/0.7131, allocations: 12 kB / 0.6202 GB, free: 4.637 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.341e-05/0.7131, allocations: 7.984 kB / 0.6202 GB, free: 4.629 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.781e-05/0.7131, allocations: 7.969 kB / 0.6202 GB, free: 4.621 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008597/0.7217, allocations: 2.881 MB / 0.623 GB, free: 1.629 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.637e-05/0.7218, allocations: 4 kB / 0.623 GB, free: 1.625 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001352/0.7232, allocations: 163.8 kB / 0.6232 GB, free: 1.465 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001529/0.7247, allocations: 272.8 kB / 0.6234 GB, free: 1.195 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.463e-05/0.7248, allocations: 15.98 kB / 0.6234 GB, free: 1.18 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007648/0.7325, allocations: 3.262 MB / 0.6266 GB, free: 13.8 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.686e-06/0.7325, allocations: 8.062 kB / 0.6266 GB, free: 13.79 MB / 446.1 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004356/0.7369, allocations: 1.675 MB / 0.6283 GB, free: 11.96 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002701/0.7372, allocations: 144.3 kB / 0.6284 GB, free: 11.8 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001634/0.7374, allocations: 4 kB / 0.6284 GB, free: 11.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008429/0.7382, allocations: 23.97 kB / 0.6284 GB, free: 11.78 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001823/0.7384, allocations: 76.48 kB / 0.6285 GB, free: 11.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001009/0.7385, allocations: 31.98 kB / 0.6285 GB, free: 11.67 MB / 446.1 MB Notification: Performance of sort global known variables: time 0.0003973/0.7389, allocations: 228.6 kB / 0.6288 GB, free: 11.45 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001341/0.7403, allocations: 268 kB / 0.629 GB, free: 11.18 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 simulation (82): * Single equations (assignments): 80 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002481/0.7405, allocations: 115 kB / 0.6291 GB, free: 11.06 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003429/0.744, allocations: 1.257 MB / 0.6304 GB, free: 9.797 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.744, allocations: 0 / 0.6304 GB, free: 9.797 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002057/0.7461, allocations: 0.7543 MB / 0.6311 GB, free: 9.035 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007624/0.7469, allocations: 73.89 kB / 0.6312 GB, free: 8.961 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004696/0.7516, allocations: 1.576 MB / 0.6327 GB, free: 7.309 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001528/0.7531, allocations: 1.139 MB / 0.6338 GB, free: 6.133 MB / 446.1 MB Notification: Performance of SimCode: time 9.72e-07/0.7531, allocations: 3.938 kB / 0.6338 GB, free: 6.129 MB / 446.1 MB Notification: Performance of Templates: time 0.02538/0.7785, allocations: 12.4 MB / 0.6459 GB, free: 9.715 MB / 462.1 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.sim & ./PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe 2>&1)