Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.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,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop",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.0009448/0.0009448, allocations: 182.2 kB / 8.135 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.9688/0.9688, allocations: 194.2 MB / 202.8 MB, free: 8.805 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.001666/0.001666, allocations: 125.8 kB / 247.8 MB, free: 6.246 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1525/0.1525, allocations: 37.9 MB / 330.5 MB, free: 6.93 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1726/0.3251, allocations: 59.35 MB / 389.9 MB, free: 78.04 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0681/0.3933, allocations: 53.22 MB / 443.1 MB, free: 24.89 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2251/0.6184, allocations: 90.07 MB / 0.5207 GB, free: 10.41 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001936/0.6186, allocations: 83.58 kB / 0.5208 GB, free: 10.39 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.1214/0.7401, allocations: 54.95 MB / 0.5744 GB, free: 1.098 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.7401, allocations: 11.94 kB / 0.5744 GB, free: 1.086 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003606/0.7437, allocations: 394.5 kB / 0.5748 GB, free: 0.6992 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008617/0.7446, allocations: 479.4 kB / 0.5753 GB, free: 200 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.101e-05/0.7447, allocations: 24 kB / 0.5753 GB, free: 176 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001564/0.7448, allocations: 40 kB / 0.5753 GB, free: 136 kB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001531/0.7464, allocations: 0.9448 MB / 0.5763 GB, free: 15.19 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001634/0.748, allocations: 1.066 MB / 0.5773 GB, free: 14.09 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.915e-05/0.748, allocations: 3.906 kB / 0.5773 GB, free: 14.09 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.45e-05/0.7481, allocations: 4 kB / 0.5773 GB, free: 14.09 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002533/0.7484, allocations: 93.91 kB / 0.5774 GB, free: 13.99 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005309/0.7537, allocations: 3.444 MB / 0.5808 GB, free: 10.5 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001387/0.7551, allocations: 0.9614 MB / 0.5817 GB, free: 9.52 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007533/0.7559, allocations: 0.6323 MB / 0.5823 GB, free: 8.883 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.118e-05/0.7559, allocations: 15.83 kB / 0.5823 GB, free: 8.871 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.696e-05/0.756, allocations: 47.33 kB / 0.5824 GB, free: 8.816 MB / 394.7 MB Notification: Performance of pre-optimization done (n=91): time 2.836e-06/0.756, allocations: 0 / 0.5824 GB, free: 8.816 MB / 394.7 MB Notification: Performance of matching and sorting (n=92): time 0.003269/0.7593, allocations: 1.937 MB / 0.5843 GB, free: 6.875 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.098e-05/0.7593, allocations: 85.89 kB / 0.5843 GB, free: 6.77 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000299/0.7596, allocations: 297.9 kB / 0.5846 GB, free: 6.477 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.986e-05/0.7597, allocations: 25.7 kB / 0.5847 GB, free: 6.445 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001246/0.7598, allocations: 276.2 kB / 0.5849 GB, free: 6.168 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002335/0.7601, allocations: 303.5 kB / 0.5852 GB, free: 5.867 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.257e-05/0.7601, allocations: 0 / 0.5852 GB, free: 5.867 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.7602, allocations: 366.7 kB / 0.5856 GB, free: 5.5 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005615/0.7608, allocations: 433.8 kB / 0.586 GB, free: 5.074 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006386/0.7614, allocations: 0.5323 MB / 0.5865 GB, free: 4.512 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006659/0.7621, allocations: 0.5081 MB / 0.587 GB, free: 4.008 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.7621, allocations: 0 / 0.587 GB, free: 4.008 MB / 394.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002176/0.7643, allocations: 1.365 MB / 0.5883 GB, free: 2.637 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.7643, allocations: 8 kB / 0.5883 GB, free: 2.629 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/0.7643, allocations: 4 kB / 0.5883 GB, free: 2.625 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000954/0.7653, allocations: 316.1 kB / 0.5886 GB, free: 2.316 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007653/0.7661, allocations: 171.8 kB / 0.5888 GB, free: 2.148 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004407/0.7705, allocations: 3.453 MB / 0.5922 GB, free: 14.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00053/0.771, allocations: 31.95 kB / 0.5922 GB, free: 14.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-05/0.7711, allocations: 28 kB / 0.5922 GB, free: 14.52 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.0001671/0.7713, allocations: 128.8 kB / 0.5923 GB, free: 14.38 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001142/0.7714, allocations: 55.34 kB / 0.5924 GB, free: 14.33 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002458/0.7739, allocations: 1.474 MB / 0.5938 GB, free: 12.85 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.01e-05/0.7739, allocations: 15.94 kB / 0.5939 GB, free: 12.83 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.7739, allocations: 4 kB / 0.5939 GB, free: 12.83 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.192e-05/0.774, allocations: 3.984 kB / 0.5939 GB, free: 12.82 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004565/0.7785, allocations: 2.863 MB / 0.5967 GB, free: 9.883 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.072e-06/0.7785, allocations: 4 kB / 0.5967 GB, free: 9.879 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006883/0.7792, allocations: 164.2 kB / 0.5968 GB, free: 9.719 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008056/0.7801, allocations: 291.1 kB / 0.5971 GB, free: 9.434 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.414e-05/0.7801, allocations: 12 kB / 0.5971 GB, free: 9.422 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004029/0.7842, allocations: 3.268 MB / 0.6003 GB, free: 6.047 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.7842, allocations: 4 kB / 0.6003 GB, free: 6.043 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002159/0.7863, allocations: 1.671 MB / 0.6019 GB, free: 4.211 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002266/0.7886, allocations: 2.078 MB / 0.604 GB, free: 1.984 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001674/0.7888, allocations: 148.3 kB / 0.6041 GB, free: 1.82 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001081/0.7889, allocations: 11.98 kB / 0.6041 GB, free: 1.809 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000454/0.7894, allocations: 19.97 kB / 0.6041 GB, free: 1.789 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001082/0.7895, allocations: 64.55 kB / 0.6042 GB, free: 1.727 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.365e-05/0.7896, allocations: 32 kB / 0.6042 GB, free: 1.695 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0002213/0.7898, allocations: 228.6 kB / 0.6044 GB, free: 1.469 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001494/0.7913, allocations: 264 kB / 0.6047 GB, free: 1.211 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.0001704/0.7915, allocations: 123 kB / 0.6048 GB, free: 1.082 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001827/0.7933, allocations: 1.253 MB / 0.606 GB, free: 15.82 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.7933, allocations: 0 / 0.606 GB, free: 15.82 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001082/0.7944, allocations: 0.7543 MB / 0.6068 GB, free: 15.06 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004741/0.7949, allocations: 69.95 kB / 0.6068 GB, free: 14.99 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002724/0.7976, allocations: 1.496 MB / 0.6083 GB, free: 13.42 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008706/0.7985, allocations: 1.131 MB / 0.6094 GB, free: 12.26 MB / 426.7 MB Notification: Performance of SimCode: time 4.81e-07/0.7985, allocations: 0 / 0.6094 GB, free: 12.26 MB / 426.7 MB (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop.fmu > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe 2>&1)