Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.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: "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_dq0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_dq0",fmuType="me",version="2.0",platforms={"static"}) [: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.001039/0.001039, allocations: 187.2 kB / 8.137 MB, free: 2.191 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 0.9832/0.9832, allocations: 194.2 MB / 202.8 MB, free: 8.754 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.001848/0.001848, allocations: 128.7 kB / 247.8 MB, free: 6.348 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1666/0.1666, allocations: 37.9 MB / 330.5 MB, free: 6.988 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1976/0.3643, allocations: 59.35 MB / 389.9 MB, free: 78.03 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07192/0.4362, allocations: 53.23 MB / 443.1 MB, free: 24.89 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2303/0.6665, allocations: 93.7 MB / 0.5242 GB, free: 9.715 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001948/0.6668, allocations: 87.28 kB / 0.5243 GB, free: 9.699 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.1319/0.7987, allocations: 59.61 MB / 0.5825 GB, free: 9.57 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.13e-05/0.7987, allocations: 8 kB / 0.5825 GB, free: 9.562 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004095/0.8028, allocations: 0.5058 MB / 0.583 GB, free: 9.055 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009124/0.8037, allocations: 0.5448 MB / 0.5836 GB, free: 8.48 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.221e-05/0.8038, allocations: 32 kB / 0.5836 GB, free: 8.449 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001749/0.804, allocations: 59.84 kB / 0.5836 GB, free: 8.391 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001734/0.8057, allocations: 1.214 MB / 0.5848 GB, free: 7.172 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001948/0.8077, allocations: 1.36 MB / 0.5862 GB, free: 5.773 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.202e-05/0.8077, allocations: 11.92 kB / 0.5862 GB, free: 5.762 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.394e-05/0.8078, allocations: 3.984 kB / 0.5862 GB, free: 5.758 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003004/0.8081, allocations: 134 kB / 0.5863 GB, free: 5.625 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007004/0.8151, allocations: 4.791 MB / 0.591 GB, free: 0.6953 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001509/0.8166, allocations: 1.072 MB / 0.592 GB, free: 15.61 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008998/0.8176, allocations: 0.7312 MB / 0.5927 GB, free: 14.88 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.757e-05/0.8176, allocations: 24.42 kB / 0.5928 GB, free: 14.86 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.928e-05/0.8177, allocations: 43.56 kB / 0.5928 GB, free: 14.8 MB / 410.7 MB Notification: Performance of pre-optimization done (n=107): time 2.835e-06/0.8177, allocations: 0 / 0.5928 GB, free: 14.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=108): time 0.003781/0.8215, allocations: 2.312 MB / 0.5951 GB, free: 12.48 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.707e-05/0.8215, allocations: 90.11 kB / 0.5951 GB, free: 12.38 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000408/0.8219, allocations: 381 kB / 0.5955 GB, free: 12 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.748e-05/0.822, allocations: 29.73 kB / 0.5955 GB, free: 11.96 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001822/0.8222, allocations: 379.4 kB / 0.5959 GB, free: 11.58 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002768/0.8225, allocations: 358.6 kB / 0.5962 GB, free: 11.23 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.243e-05/0.8225, allocations: 0 / 0.5962 GB, free: 11.23 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.8227, allocations: 382.8 kB / 0.5966 GB, free: 10.84 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006781/0.8234, allocations: 0.5102 MB / 0.5971 GB, free: 10.34 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008089/0.8242, allocations: 0.7124 MB / 0.5978 GB, free: 9.543 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008264/0.825, allocations: 0.6392 MB / 0.5984 GB, free: 8.906 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.825, allocations: 4 kB / 0.5984 GB, free: 8.902 MB / 410.7 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.00269/0.8277, allocations: 1.692 MB / 0.6001 GB, free: 7.203 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.8278, allocations: 8 kB / 0.6001 GB, free: 7.195 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.8278, allocations: 4 kB / 0.6001 GB, free: 7.191 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00106/0.8288, allocations: 396.4 kB / 0.6005 GB, free: 6.801 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009088/0.8298, allocations: 215.7 kB / 0.6007 GB, free: 6.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005749/0.8355, allocations: 5.086 MB / 0.6056 GB, free: 1.273 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006728/0.8362, allocations: 31.95 kB / 0.6057 GB, free: 1.242 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.348e-05/0.8363, allocations: 43.98 kB / 0.6057 GB, free: 1.199 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 (105): * Single equations (assignments): 103 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 26,(1,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001859/0.8365, allocations: 124.7 kB / 0.6058 GB, free: 1.07 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001358/0.8366, allocations: 79 kB / 0.6059 GB, free: 0.9922 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002869/0.8395, allocations: 1.719 MB / 0.6076 GB, free: 15.27 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.114e-05/0.8395, allocations: 12 kB / 0.6076 GB, free: 15.26 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/0.8396, allocations: 8 kB / 0.6076 GB, free: 15.25 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.395e-05/0.8396, allocations: 11.97 kB / 0.6076 GB, free: 15.24 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005269/0.8449, allocations: 3.284 MB / 0.6108 GB, free: 11.86 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.253e-06/0.8449, allocations: 7.984 kB / 0.6108 GB, free: 11.85 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007559/0.8456, allocations: 171.8 kB / 0.611 GB, free: 11.68 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009385/0.8466, allocations: 345.6 kB / 0.6113 GB, free: 11.34 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.545e-05/0.8467, allocations: 11.91 kB / 0.6113 GB, free: 11.33 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005617/0.8523, allocations: 4.895 MB / 0.6161 GB, free: 6.199 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.602e-06/0.8523, allocations: 4 kB / 0.6161 GB, free: 6.195 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002737/0.8551, allocations: 1.909 MB / 0.618 GB, free: 4.125 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00267/0.8578, allocations: 2.308 MB / 0.6202 GB, free: 1.652 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001929/0.858, allocations: 156.2 kB / 0.6204 GB, free: 1.48 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001362/0.8581, allocations: 11.89 kB / 0.6204 GB, free: 1.469 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000527/0.8586, allocations: 23.98 kB / 0.6204 GB, free: 1.445 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001231/0.8588, allocations: 68.84 kB / 0.6205 GB, free: 1.379 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.498e-05/0.8589, allocations: 31.98 kB / 0.6205 GB, free: 1.348 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0003001/0.8592, allocations: 295.2 kB / 0.6208 GB, free: 1.059 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001604/0.8608, allocations: 343.9 kB / 0.6211 GB, free: 0.7227 MB / 426.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 (91): * Single equations (assignments): 88 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 7,(2,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001749/0.861, allocations: 123 kB / 0.6213 GB, free: 0.5938 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002161/0.8631, allocations: 1.586 MB / 0.6228 GB, free: 14.99 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.8632, allocations: 0 / 0.6228 GB, free: 14.99 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001342/0.8645, allocations: 0.9643 MB / 0.6237 GB, free: 14.01 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004957/0.865, allocations: 95.66 kB / 0.6238 GB, free: 13.91 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00323/0.8683, allocations: 1.801 MB / 0.6256 GB, free: 12.04 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001034/0.8693, allocations: 1.246 MB / 0.6268 GB, free: 10.77 MB / 442.7 MB Notification: Performance of SimCode: time 3.01e-07/0.8693, allocations: 0 / 0.6268 GB, free: 10.77 MB / 442.7 MB (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_dq0_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_dq0.fmu > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe 2>&1)