Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.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_d,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_d",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop_d,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_d",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.001108/0.001108, allocations: 182.9 kB / 8.137 MB, free: 2.223 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.9752/0.9752, allocations: 194.2 MB / 202.8 MB, free: 8.664 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.001653/0.001653, allocations: 118.4 kB / 247.7 MB, free: 6.367 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1548/0.1548, allocations: 37.92 MB / 330.5 MB, free: 6.914 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1705/0.3253, allocations: 59.34 MB / 389.9 MB, free: 78.03 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07223/0.3975, allocations: 53.24 MB / 443.1 MB, free: 24.89 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2244/0.6219, allocations: 93.81 MB / 0.5243 GB, free: 10.01 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001991/0.6222, allocations: 83.52 kB / 0.5244 GB, free: 10 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/Generic.mo:465:11-465:52:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.potentialRoot(terminal.theta);. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/Generic.mo:468:7-475:13:writable] Warning: Returning false from overconstrained operator applied to array components having size zero: Connections.isRoot({}). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/Generic.mo:436:7-436:61:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.1026/0.7248, allocations: 51.97 MB / 0.5752 GB, free: 0.7227 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/0.7248, allocations: 8 kB / 0.5752 GB, free: 0.7148 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001719/0.7266, allocations: 127.3 kB / 0.5753 GB, free: 0.5898 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004881/0.7271, allocations: 333.4 kB / 0.5756 GB, free: 232 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.075e-05/0.7271, allocations: 46.64 kB / 0.5757 GB, free: 180 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.53e-05/0.7272, allocations: 24 kB / 0.5757 GB, free: 156 kB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005056/0.7277, allocations: 309.9 kB / 0.576 GB, free: 15.85 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006699/0.7284, allocations: 0.5262 MB / 0.5765 GB, free: 15.26 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/0.7284, allocations: 7.938 kB / 0.5765 GB, free: 15.25 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.103e-05/0.7284, allocations: 0 / 0.5765 GB, free: 15.25 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.106e-05/0.7285, allocations: 40.62 kB / 0.5765 GB, free: 15.21 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002176/0.7307, allocations: 2.545 MB / 0.579 GB, free: 12.56 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000531/0.7313, allocations: 407.7 kB / 0.5794 GB, free: 12.13 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002389/0.7315, allocations: 194.6 kB / 0.5796 GB, free: 11.93 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.917e-05/0.7315, allocations: 4 kB / 0.5796 GB, free: 11.93 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.015e-05/0.7316, allocations: 42.55 kB / 0.5797 GB, free: 11.88 MB / 394.7 MB Notification: Performance of pre-optimization done (n=33): time 2.404e-06/0.7316, allocations: 7.938 kB / 0.5797 GB, free: 11.87 MB / 394.7 MB Notification: Performance of matching and sorting (n=33): time 0.0007066/0.7323, allocations: 394.2 kB / 0.58 GB, free: 11.48 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.347e-05/0.7324, allocations: 110.8 kB / 0.5801 GB, free: 11.35 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002294/0.7326, allocations: 251.5 kB / 0.5804 GB, free: 11.1 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.007e-05/0.7326, allocations: 29.77 kB / 0.5804 GB, free: 11.06 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/0.7328, allocations: 227.6 kB / 0.5806 GB, free: 10.83 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.61e-05/0.7328, allocations: 110.3 kB / 0.5807 GB, free: 10.72 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.699e-05/0.7329, allocations: 0 / 0.5807 GB, free: 10.72 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.733, allocations: 346.8 kB / 0.5811 GB, free: 10.38 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001683/0.7332, allocations: 120.8 kB / 0.5812 GB, free: 10.26 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002375/0.7334, allocations: 263.2 kB / 0.5814 GB, free: 9.926 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002196/0.7336, allocations: 169.2 kB / 0.5816 GB, free: 9.762 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.7336, allocations: 4 kB / 0.5816 GB, free: 9.758 MB / 394.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.000731/0.7344, allocations: 0.4997 MB / 0.5821 GB, free: 9.25 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.7344, allocations: 7.906 kB / 0.5821 GB, free: 9.242 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.7344, allocations: 8.594 kB / 0.5821 GB, free: 9.234 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003114/0.7347, allocations: 116.8 kB / 0.5822 GB, free: 9.117 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002397/0.735, allocations: 75.84 kB / 0.5823 GB, free: 9.043 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002223/0.7372, allocations: 2.131 MB / 0.5844 GB, free: 6.805 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002277/0.7375, allocations: 43.47 kB / 0.5844 GB, free: 6.762 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.839e-05/0.7375, allocations: 20 kB / 0.5844 GB, free: 6.742 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (41): * Single equations (assignments): 40 * 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 {(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.53e-05/0.7376, allocations: 108.8 kB / 0.5845 GB, free: 6.629 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.268e-05/0.7377, allocations: 39.69 kB / 0.5846 GB, free: 6.59 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.603e-05/0.7378, allocations: 43.14 kB / 0.5846 GB, free: 6.547 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.7378, allocations: 7.984 kB / 0.5846 GB, free: 6.539 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.7378, allocations: 4 kB / 0.5846 GB, free: 6.535 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.7378, allocations: 3.984 kB / 0.5846 GB, free: 6.531 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001118/0.7389, allocations: 0.8633 MB / 0.5855 GB, free: 5.621 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.7389, allocations: 7.922 kB / 0.5855 GB, free: 5.613 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001391/0.7391, allocations: 31.98 kB / 0.5855 GB, free: 5.582 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002308/0.7393, allocations: 109 kB / 0.5856 GB, free: 5.473 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.098e-05/0.7394, allocations: 4 kB / 0.5856 GB, free: 5.469 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001961/0.7413, allocations: 2.111 MB / 0.5877 GB, free: 3.25 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.7413, allocations: 0 / 0.5877 GB, free: 3.25 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006546/0.742, allocations: 0.6519 MB / 0.5883 GB, free: 2.547 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007632/0.7428, allocations: 1.032 MB / 0.5893 GB, free: 1.461 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.742e-05/0.7429, allocations: 112.7 kB / 0.5894 GB, free: 1.332 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.515e-05/0.7429, allocations: 4 kB / 0.5894 GB, free: 1.328 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001783/0.7431, allocations: 0 / 0.5894 GB, free: 1.328 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.027e-05/0.7431, allocations: 23.88 kB / 0.5895 GB, free: 1.305 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.68e-05/0.7432, allocations: 8 kB / 0.5895 GB, free: 1.297 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001515/0.7433, allocations: 183.1 kB / 0.5896 GB, free: 1.117 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001161/0.7445, allocations: 135.8 kB / 0.5898 GB, free: 0.9844 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (20): * Single equations (assignments): 18 * 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 {(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001048/0.7446, allocations: 107.1 kB / 0.5899 GB, free: 0.8672 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006599/0.7453, allocations: 470.7 kB / 0.5903 GB, free: 408 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.7453, allocations: 0 / 0.5903 GB, free: 408 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003782/0.7457, allocations: 301.7 kB / 0.5906 GB, free: 96 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003339/0.746, allocations: 48.69 kB / 0.5906 GB, free: 52 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009932/0.747, allocations: 0.6151 MB / 0.5912 GB, free: 15.4 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004333/0.7475, allocations: 0.9043 MB / 0.5921 GB, free: 14.48 MB / 410.7 MB Notification: Performance of SimCode: time 2.4e-07/0.7475, allocations: 0 / 0.5921 GB, free: 14.48 MB / 410.7 MB (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_d_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_d.fmu > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe 2>&1)