Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.Tables.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.Introductory.Tables,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_Tables",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Introductory.Tables,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_Tables",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.001062/0.001062, allocations: 184 kB / 8.138 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 0.9639/0.9639, 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.001566/0.001566, allocations: 124.3 kB / 247.7 MB, free: 6.281 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1493/0.1493, allocations: 37.91 MB / 330.5 MB, free: 6.918 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1795/0.3288, allocations: 59.33 MB / 389.9 MB, free: 78.03 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07364/0.4025, allocations: 53.22 MB / 443.1 MB, free: 24.89 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2162/0.6187, allocations: 80.88 MB / 0.5117 GB, free: 10.91 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.005038/0.6238, allocations: 2.133 MB / 0.5138 GB, free: 10.84 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.004059/0.6279, allocations: 1.944 MB / 0.5157 GB, free: 10.33 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.843e-05/0.6279, allocations: 15.5 kB / 0.5157 GB, free: 10.33 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.373e-05/0.628, allocations: 5.734 kB / 0.5157 GB, free: 10.32 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001578/0.6281, allocations: 186.5 kB / 0.5159 GB, free: 10.12 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.947e-06/0.6282, allocations: 7.719 kB / 0.5159 GB, free: 10.12 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.143e-05/0.6282, allocations: 1.5 kB / 0.5159 GB, free: 10.12 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.255e-05/0.6282, allocations: 15.84 kB / 0.5159 GB, free: 10.12 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.975e-05/0.6283, allocations: 62.61 kB / 0.516 GB, free: 10.07 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.821e-06/0.6283, allocations: 0 / 0.516 GB, free: 10.07 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.6283, allocations: 0 / 0.516 GB, free: 10.07 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.6283, allocations: 4 kB / 0.516 GB, free: 10.07 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002293/0.6286, allocations: 255 kB / 0.5162 GB, free: 9.832 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.635e-05/0.6287, allocations: 36.17 kB / 0.5162 GB, free: 9.809 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.032e-05/0.6287, allocations: 12.36 kB / 0.5163 GB, free: 9.801 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.035e-05/0.6287, allocations: 3.938 kB / 0.5163 GB, free: 9.797 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.397e-05/0.6287, allocations: 36.02 kB / 0.5163 GB, free: 9.754 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.6287, allocations: 0 / 0.5163 GB, free: 9.754 MB / 346.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001276/0.6289, allocations: 51.09 kB / 0.5163 GB, free: 9.719 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.16e-05/0.6289, allocations: 77.11 kB / 0.5164 GB, free: 9.625 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.344e-05/0.629, allocations: 119.3 kB / 0.5165 GB, free: 9.535 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.576e-06/0.629, allocations: 25.7 kB / 0.5166 GB, free: 9.504 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.247e-05/0.629, allocations: 92.36 kB / 0.5166 GB, free: 9.418 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.241e-05/0.629, allocations: 12.59 kB / 0.5167 GB, free: 9.406 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.156e-06/0.629, allocations: 3.906 kB / 0.5167 GB, free: 9.406 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.524e-05/0.6291, allocations: 316.3 kB / 0.517 GB, free: 9.094 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.521e-05/0.6291, allocations: 3.812 kB / 0.517 GB, free: 9.094 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.962e-05/0.6291, allocations: 22.53 kB / 0.517 GB, free: 9.078 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.553e-05/0.6292, allocations: 16.16 kB / 0.517 GB, free: 9.074 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.6292, allocations: 3.938 kB / 0.517 GB, free: 9.07 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.732e-05/0.6293, allocations: 60.81 kB / 0.5171 GB, free: 9.031 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.026e-06/0.6293, allocations: 9.312 kB / 0.5171 GB, free: 9.027 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-06/0.6293, allocations: 0 / 0.5171 GB, free: 9.027 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.388e-06/0.6293, allocations: 0 / 0.5171 GB, free: 9.027 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.366e-05/0.6293, allocations: 3.844 kB / 0.5171 GB, free: 9.027 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.457e-06/0.6294, allocations: 1.453 kB / 0.5171 GB, free: 9.027 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.082e-05/0.6294, allocations: 7.719 kB / 0.5171 GB, free: 9.023 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/0.6294, allocations: 3.812 kB / 0.5171 GB, free: 9.023 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 3.407e-05/0.6294, allocations: 101 kB / 0.5172 GB, free: 8.918 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.791e-05/0.6295, allocations: 7.75 kB / 0.5172 GB, free: 8.914 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001045/0.6296, allocations: 66.11 kB / 0.5173 GB, free: 8.867 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.6296, allocations: 3.875 kB / 0.5173 GB, free: 8.867 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.6296, allocations: 3.938 kB / 0.5173 GB, free: 8.863 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.6296, allocations: 1.266 kB / 0.5173 GB, free: 8.863 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001011/0.6297, allocations: 149 kB / 0.5174 GB, free: 8.703 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.6297, allocations: 4 kB / 0.5174 GB, free: 8.699 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.399e-05/0.6297, allocations: 4.359 kB / 0.5174 GB, free: 8.699 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.6297, allocations: 3.812 kB / 0.5174 GB, free: 8.699 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.561e-06/0.6297, allocations: 0.7031 kB / 0.5174 GB, free: 8.699 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.6298, allocations: 0 / 0.5174 GB, free: 8.699 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.6298, allocations: 0 / 0.5174 GB, free: 8.699 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.297e-05/0.6298, allocations: 149.8 kB / 0.5176 GB, free: 8.562 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001044/0.63, allocations: 0.5186 MB / 0.5181 GB, free: 8.055 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.245e-05/0.63, allocations: 85.72 kB / 0.5182 GB, free: 7.957 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.606e-05/0.63, allocations: 4.625 kB / 0.5182 GB, free: 7.957 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.844e-05/0.6301, allocations: 4 kB / 0.5182 GB, free: 7.953 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.052e-05/0.6301, allocations: 1.172 kB / 0.5182 GB, free: 7.953 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.394e-06/0.6301, allocations: 0 / 0.5182 GB, free: 7.953 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.137e-05/0.6301, allocations: 104.6 kB / 0.5183 GB, free: 7.875 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007743/0.6309, allocations: 36.67 kB / 0.5183 GB, free: 7.859 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004276/0.6313, allocations: 253.2 kB / 0.5185 GB, free: 7.703 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 7.937e-05/0.6314, allocations: 54.61 kB / 0.5186 GB, free: 7.668 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.6314, allocations: 0 / 0.5186 GB, free: 7.668 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.218e-05/0.6315, allocations: 4.547 kB / 0.5186 GB, free: 7.668 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001552/0.6316, allocations: 11.89 kB / 0.5186 GB, free: 7.668 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002046/0.6318, allocations: 90.64 kB / 0.5187 GB, free: 7.59 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001435/0.632, allocations: 0.7045 MB / 0.5194 GB, free: 6.891 MB / 346.7 MB Notification: Performance of SimCode: time 2.31e-07/0.632, allocations: 0 / 0.5194 GB, free: 6.891 MB / 346.7 MB (rm -f PowerSystems_PowerSystems.Examples.Introductory.Tables.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.Tables.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.Tables.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.Tables.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Introductory_Tables_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Introductory_Tables.fmu > PowerSystems_PowerSystems.Examples.Introductory.Tables.pipe 2>&1)