Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.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.NetworkOpened,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkOpened",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkOpened,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkOpened",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.001376/0.001376, allocations: 180.6 kB / 8.134 MB, free: 2.211 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.9914/0.9914, allocations: 194.2 MB / 202.8 MB, free: 8.73 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.00159/0.00159, allocations: 122.7 kB / 247.7 MB, free: 6.379 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1544/0.1544, allocations: 37.92 MB / 330.5 MB, free: 6.926 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1772/0.3316, allocations: 59.34 MB / 389.9 MB, free: 78.02 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07317/0.4048, allocations: 53.23 MB / 443.1 MB, free: 24.89 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2367/0.6416, allocations: 89.9 MB / 0.5205 GB, free: 10.44 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000204/0.6418, allocations: 80.95 kB / 0.5206 GB, free: 10.43 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.1284/0.7702, allocations: 57.86 MB / 0.5771 GB, free: 14.38 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.075e-05/0.7702, allocations: 15.94 kB / 0.5771 GB, free: 14.37 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003852/0.7741, allocations: 430.3 kB / 0.5775 GB, free: 13.95 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008678/0.775, allocations: 495.5 kB / 0.578 GB, free: 13.43 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.172e-05/0.775, allocations: 24 kB / 0.578 GB, free: 13.41 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001546/0.7752, allocations: 52 kB / 0.5781 GB, free: 13.36 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001473/0.7767, allocations: 0.9877 MB / 0.579 GB, free: 12.36 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001714/0.7784, allocations: 1.109 MB / 0.5801 GB, free: 11.23 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.627e-05/0.7784, allocations: 4 kB / 0.5801 GB, free: 11.22 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.29e-05/0.7785, allocations: 0 / 0.5801 GB, free: 11.22 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002604/0.7788, allocations: 105.9 kB / 0.5802 GB, free: 11.12 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005412/0.7842, allocations: 3.616 MB / 0.5838 GB, free: 7.441 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00153/0.7858, allocations: 0.9997 MB / 0.5847 GB, free: 6.414 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007163/0.7865, allocations: 0.6098 MB / 0.5853 GB, free: 5.801 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.172e-05/0.7866, allocations: 19.5 kB / 0.5854 GB, free: 5.789 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.631e-05/0.7866, allocations: 43.34 kB / 0.5854 GB, free: 5.738 MB / 394.7 MB Notification: Performance of pre-optimization done (n=92): time 2.344e-06/0.7866, allocations: 0 / 0.5854 GB, free: 5.738 MB / 394.7 MB Notification: Performance of matching and sorting (n=93): time 0.00328/0.7899, allocations: 1.955 MB / 0.5873 GB, free: 3.773 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.426e-05/0.7899, allocations: 89.89 kB / 0.5874 GB, free: 3.664 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003497/0.7903, allocations: 298 kB / 0.5877 GB, free: 3.371 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.062e-05/0.7904, allocations: 25.7 kB / 0.5877 GB, free: 3.34 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001516/0.7905, allocations: 288 kB / 0.588 GB, free: 3.051 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002692/0.7908, allocations: 311.3 kB / 0.5883 GB, free: 2.742 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.23e-05/0.7909, allocations: 4.031 kB / 0.5883 GB, free: 2.738 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.791, allocations: 366.8 kB / 0.5886 GB, free: 2.371 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006809/0.7917, allocations: 433.8 kB / 0.589 GB, free: 1.945 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007631/0.7925, allocations: 0.5334 MB / 0.5896 GB, free: 1.379 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000841/0.7933, allocations: 0.5182 MB / 0.5901 GB, free: 0.8633 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.7933, allocations: 0 / 0.5901 GB, free: 0.8633 MB / 394.7 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002193/0.7955, allocations: 1.378 MB / 0.5914 GB, free: 15.48 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.7956, allocations: 4 kB / 0.5914 GB, free: 15.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.7956, allocations: 7.938 kB / 0.5914 GB, free: 15.47 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009014/0.7965, allocations: 320 kB / 0.5917 GB, free: 15.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007525/0.7972, allocations: 171.8 kB / 0.5919 GB, free: 14.99 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004277/0.8015, allocations: 3.453 MB / 0.5953 GB, free: 11.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006019/0.8022, allocations: 27.97 kB / 0.5953 GB, free: 11.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.214e-05/0.8022, allocations: 27.98 kB / 0.5953 GB, free: 11.37 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (82): * Single equations (assignments): 81 * 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.0001726/0.8024, allocations: 128.8 kB / 0.5954 GB, free: 11.24 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001129/0.8025, allocations: 59.33 kB / 0.5955 GB, free: 11.18 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002441/0.805, allocations: 1.47 MB / 0.5969 GB, free: 9.703 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.36e-05/0.805, allocations: 12 kB / 0.5969 GB, free: 9.691 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.805, allocations: 4 kB / 0.5969 GB, free: 9.688 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.04e-05/0.8051, allocations: 3.984 kB / 0.5969 GB, free: 9.684 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004549/0.8096, allocations: 2.858 MB / 0.5997 GB, free: 6.742 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.8096, allocations: 4 kB / 0.5997 GB, free: 6.738 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006568/0.8103, allocations: 159.7 kB / 0.5999 GB, free: 6.582 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007984/0.8111, allocations: 286.7 kB / 0.6002 GB, free: 6.301 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.539e-05/0.8112, allocations: 8 kB / 0.6002 GB, free: 6.293 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004051/0.8152, allocations: 3.26 MB / 0.6034 GB, free: 2.93 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.953e-06/0.8153, allocations: 11.84 kB / 0.6034 GB, free: 2.918 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00223/0.8175, allocations: 1.667 MB / 0.605 GB, free: 1.105 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002299/0.8198, allocations: 2.07 MB / 0.607 GB, free: 14.88 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001894/0.82, allocations: 144.3 kB / 0.6072 GB, free: 14.71 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001103/0.8201, allocations: 7.906 kB / 0.6072 GB, free: 14.71 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004706/0.8206, allocations: 19.97 kB / 0.6072 GB, free: 14.69 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001087/0.8207, allocations: 64.62 kB / 0.6072 GB, free: 14.62 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.142e-05/0.8208, allocations: 36 kB / 0.6073 GB, free: 14.59 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0003249/0.8211, allocations: 232.6 kB / 0.6075 GB, free: 14.36 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002077/0.8232, allocations: 272.8 kB / 0.6078 GB, free: 14.09 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 (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.0002169/0.8234, allocations: 123 kB / 0.6079 GB, free: 13.96 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002179/0.8256, allocations: 1.25 MB / 0.6091 GB, free: 12.71 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.8256, allocations: 0 / 0.6091 GB, free: 12.71 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001259/0.8269, allocations: 0.7504 MB / 0.6098 GB, free: 11.95 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000533/0.8275, allocations: 73.95 kB / 0.6099 GB, free: 11.88 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0031/0.8306, allocations: 1.503 MB / 0.6114 GB, free: 10.3 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009926/0.8316, allocations: 1.143 MB / 0.6125 GB, free: 9.125 MB / 426.7 MB Notification: Performance of SimCode: time 3.11e-07/0.8316, allocations: 0 / 0.6125 GB, free: 9.125 MB / 426.7 MB (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Generic_Network_NetworkOpened_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Generic_Network_NetworkOpened.fmu > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe 2>&1)