Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_dq,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_dq,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00128/0.00128, allocations: 194 kB / 8.136 MB, free: 2.184 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.37/1.37, allocations: 194.2 MB / 202.8 MB, free: 8.645 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001734/0.001734, allocations: 123.3 kB / 247.8 MB, free: 6.332 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1925/0.1925, allocations: 37.91 MB / 330.5 MB, free: 6.895 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.485e-06/7.514e-06, allocations: 0 / 389.8 MB, free: 78.09 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1191, allocations: 53.24 MB / 443 MB, free: 24.95 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3234/0.4426, allocations: 90.16 MB / 0.5207 GB, free: 10.38 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000276/0.4429, allocations: 78.23 kB / 0.5208 GB, free: 10.37 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.1284/0.5714, allocations: 53.38 MB / 0.5729 GB, free: 2.648 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.072e-05/0.5715, allocations: 12 kB / 0.5729 GB, free: 2.637 MB / 378.7 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.002785/0.5743, allocations: 0.9828 MB / 0.5739 GB, free: 1.609 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.5743, allocations: 8.031 kB / 0.5739 GB, free: 1.602 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00401/0.5784, allocations: 394.4 kB / 0.5743 GB, free: 1.215 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001134/0.5795, allocations: 487.1 kB / 0.5747 GB, free: 0.707 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.048e-05/0.5796, allocations: 24 kB / 0.5747 GB, free: 0.6836 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002068/0.5798, allocations: 40 kB / 0.5748 GB, free: 0.6445 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001789/0.5816, allocations: 0.9376 MB / 0.5757 GB, free: 15.71 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001941/0.5835, allocations: 1.066 MB / 0.5767 GB, free: 14.61 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.523e-05/0.5836, allocations: 3.906 kB / 0.5767 GB, free: 14.61 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.744e-05/0.5837, allocations: 4 kB / 0.5767 GB, free: 14.6 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002861/0.584, allocations: 97.91 kB / 0.5768 GB, free: 14.5 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007061/0.591, allocations: 3.44 MB / 0.5802 GB, free: 11.02 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001747/0.5928, allocations: 0.9636 MB / 0.5811 GB, free: 10.04 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001009/0.5939, allocations: 0.6284 MB / 0.5818 GB, free: 9.402 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.096e-05/0.594, allocations: 19.44 kB / 0.5818 GB, free: 9.387 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.756e-05/0.594, allocations: 39.62 kB / 0.5818 GB, free: 9.34 MB / 394.7 MB Notification: Performance of pre-optimization done (n=91): time 6.903e-06/0.5941, allocations: 0 / 0.5818 GB, free: 9.34 MB / 394.7 MB Notification: Performance of matching and sorting (n=92): time 0.004494/0.5986, allocations: 1.937 MB / 0.5837 GB, free: 7.395 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.809e-05/0.5986, allocations: 85.89 kB / 0.5838 GB, free: 7.289 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000515/0.5992, allocations: 305.8 kB / 0.5841 GB, free: 6.988 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.804e-05/0.5993, allocations: 25.73 kB / 0.5841 GB, free: 6.957 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000242/0.5995, allocations: 276.1 kB / 0.5844 GB, free: 6.68 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003857/0.5999, allocations: 303.5 kB / 0.5847 GB, free: 6.379 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.358e-05/0.6, allocations: 0 / 0.5847 GB, free: 6.379 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002431/0.6002, allocations: 370.7 kB / 0.585 GB, free: 6.008 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008877/0.6011, allocations: 437.8 kB / 0.5854 GB, free: 5.578 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008251/0.6019, allocations: 0.5246 MB / 0.5859 GB, free: 5.023 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009436/0.6029, allocations: 0.508 MB / 0.5864 GB, free: 4.52 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.6029, allocations: 4 kB / 0.5864 GB, free: 4.516 MB / 394.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002858/0.6058, allocations: 1.354 MB / 0.5878 GB, free: 3.156 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.171e-05/0.6058, allocations: 11.98 kB / 0.5878 GB, free: 3.145 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.723e-05/0.6059, allocations: 0 / 0.5878 GB, free: 3.145 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001155/0.607, allocations: 316.1 kB / 0.5881 GB, free: 2.836 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008667/0.6079, allocations: 175.7 kB / 0.5882 GB, free: 2.664 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005699/0.6136, allocations: 3.457 MB / 0.5916 GB, free: 15.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000709/0.6143, allocations: 31.95 kB / 0.5916 GB, free: 15.06 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.182e-05/0.6144, allocations: 28 kB / 0.5917 GB, free: 15.04 MB / 410.7 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.0002575/0.6147, allocations: 120.9 kB / 0.5918 GB, free: 14.91 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00017/0.6149, allocations: 55.34 kB / 0.5918 GB, free: 14.86 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002898/0.6178, allocations: 1.483 MB / 0.5933 GB, free: 13.37 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-05/0.6178, allocations: 12 kB / 0.5933 GB, free: 13.36 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.329e-05/0.6178, allocations: 4 kB / 0.5933 GB, free: 13.35 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.31e-05/0.6179, allocations: 7.969 kB / 0.5933 GB, free: 13.34 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005621/0.6235, allocations: 2.865 MB / 0.5961 GB, free: 10.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.069e-05/0.6235, allocations: 4 kB / 0.5961 GB, free: 10.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007371/0.6243, allocations: 160.2 kB / 0.5963 GB, free: 10.24 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009238/0.6252, allocations: 287.1 kB / 0.5965 GB, free: 9.957 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.256e-05/0.6253, allocations: 15.98 kB / 0.5966 GB, free: 9.941 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004982/0.6303, allocations: 3.259 MB / 0.5997 GB, free: 6.57 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.905e-06/0.6303, allocations: 4 kB / 0.5997 GB, free: 6.566 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002936/0.6333, allocations: 1.673 MB / 0.6014 GB, free: 4.73 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003304/0.6336, allocations: 148.3 kB / 0.6015 GB, free: 4.566 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001478/0.6338, allocations: 15.88 kB / 0.6015 GB, free: 4.551 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005653/0.6343, allocations: 19.97 kB / 0.6015 GB, free: 4.531 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001267/0.6345, allocations: 64.59 kB / 0.6016 GB, free: 4.469 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.944e-05/0.6345, allocations: 31.98 kB / 0.6016 GB, free: 4.438 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0003131/0.6349, allocations: 228.6 kB / 0.6019 GB, free: 4.219 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001392/0.6363, allocations: 272 kB / 0.6021 GB, free: 3.953 MB / 410.7 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.0002991/0.6366, allocations: 109.1 kB / 0.6022 GB, free: 3.84 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002422/0.639, allocations: 1.261 MB / 0.6035 GB, free: 2.57 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/0.639, allocations: 0 / 0.6035 GB, free: 2.57 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001257/0.6403, allocations: 0.7582 MB / 0.6042 GB, free: 1.805 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006494/0.641, allocations: 65.97 kB / 0.6043 GB, free: 1.738 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003485/0.6445, allocations: 1.491 MB / 0.6057 GB, free: 176 kB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001233/0.6457, allocations: 1.135 MB / 0.6068 GB, free: 15.01 MB / 426.7 MB Notification: Performance of SimCode: time 6.61e-07/0.6457, allocations: 4 kB / 0.6068 GB, free: 15 MB / 426.7 MB Notification: Performance of Templates: time 0.01971/0.6654, allocations: 9.988 MB / 0.6166 GB, free: 5.062 MB / 426.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.makefile (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.sim & ./PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe 2>&1)