Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Introductory.Tables.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.Introductory.Tables,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Introductory_Tables",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Introductory.Tables,fileNamePrefix="PowerSystems_latest_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.3+maint.om/package.mo): time 0.001136/0.001136, allocations: 180.6 kB / 8.131 MB, free: 2.191 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.484/1.484, allocations: 205.2 MB / 213.7 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001091/0.001091, allocations: 98.19 kB / 261.8 MB, free: 13.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.238/0.238, allocations: 37.97 MB / 347.7 MB, free: 7.477 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2875/0.5256, allocations: 62.44 MB / 410.1 MB, free: 46.77 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.6494, allocations: 56.31 MB / 466.4 MB, free: 6.383 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3289/0.9784, allocations: 86.39 MB / 0.5398 GB, free: 8.145 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.006333/0.9848, allocations: 2.147 MB / 0.5419 GB, free: 6.016 MB / 378.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.006691/0.9915, allocations: 2.46 MB / 0.5443 GB, free: 3.512 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.101e-05/0.9916, allocations: 8 kB / 0.5443 GB, free: 3.504 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.936e-05/0.9917, allocations: 7.906 kB / 0.5444 GB, free: 3.496 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003391/0.992, allocations: 187 kB / 0.5445 GB, free: 3.273 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.992, allocations: 0 / 0.5445 GB, free: 3.273 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.377e-05/0.9921, allocations: 8 kB / 0.5445 GB, free: 3.266 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.939e-05/0.9922, allocations: 15.98 kB / 0.5446 GB, free: 3.25 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001219/0.9923, allocations: 59.41 kB / 0.5446 GB, free: 3.18 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.196e-06/0.9923, allocations: 0 / 0.5446 GB, free: 3.18 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.9923, allocations: 7.844 kB / 0.5446 GB, free: 3.172 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.481e-06/0.9923, allocations: 4 kB / 0.5446 GB, free: 3.168 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003544/0.9927, allocations: 253.4 kB / 0.5449 GB, free: 2.883 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.167e-05/0.9928, allocations: 30.67 kB / 0.5449 GB, free: 2.844 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.674e-05/0.9928, allocations: 16.91 kB / 0.5449 GB, free: 2.824 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.246e-05/0.9929, allocations: 0 / 0.5449 GB, free: 2.824 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.754e-05/0.9929, allocations: 34.56 kB / 0.5449 GB, free: 2.781 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.9929, allocations: 3.938 kB / 0.5449 GB, free: 2.777 MB / 378.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001716/0.9931, allocations: 53.59 kB / 0.545 GB, free: 2.719 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.473e-05/0.9931, allocations: 77.11 kB / 0.5451 GB, free: 2.625 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001405/0.9933, allocations: 127.7 kB / 0.5452 GB, free: 2.496 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.523e-05/0.9933, allocations: 25.7 kB / 0.5452 GB, free: 2.465 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.086e-05/0.9934, allocations: 92.06 kB / 0.5453 GB, free: 2.371 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.277e-05/0.9934, allocations: 11.81 kB / 0.5453 GB, free: 2.359 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.928e-06/0.9934, allocations: 0 / 0.5453 GB, free: 2.359 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000132/0.9935, allocations: 314.8 kB / 0.5456 GB, free: 2.043 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.169e-05/0.9936, allocations: 11.98 kB / 0.5456 GB, free: 2.031 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.022e-05/0.9936, allocations: 17.72 kB / 0.5456 GB, free: 2.008 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.281e-05/0.9936, allocations: 7.938 kB / 0.5457 GB, free: 2 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.9936, allocations: 0 / 0.5457 GB, free: 2 MB / 378.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.436e-05/0.9937, allocations: 53.53 kB / 0.5457 GB, free: 1.941 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.9937, allocations: 11.94 kB / 0.5457 GB, free: 1.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.9937, allocations: 0 / 0.5457 GB, free: 1.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.815e-05/0.9938, allocations: 192 / 0.5457 GB, free: 1.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.111e-05/0.9939, allocations: 4 kB / 0.5457 GB, free: 1.926 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.9939, allocations: 7.969 kB / 0.5457 GB, free: 1.918 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.146e-05/0.9939, allocations: 4.031 kB / 0.5457 GB, free: 1.914 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.668e-06/0.9939, allocations: 0 / 0.5457 GB, free: 1.914 MB / 378.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 (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 prepare postOptimizeDAE: time 7.419e-05/0.994, allocations: 112.8 kB / 0.5458 GB, free: 1.797 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.315e-05/0.994, allocations: 11.89 kB / 0.5459 GB, free: 1.785 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001281/0.9942, allocations: 57.62 kB / 0.5459 GB, free: 1.723 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.9942, allocations: 0 / 0.5459 GB, free: 1.723 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/0.9942, allocations: 4 kB / 0.5459 GB, free: 1.719 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.9942, allocations: 0 / 0.5459 GB, free: 1.719 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001726/0.9944, allocations: 146.2 kB / 0.546 GB, free: 1.539 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.9944, allocations: 7.906 kB / 0.5461 GB, free: 1.531 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.846e-05/0.9944, allocations: 8 kB / 0.5461 GB, free: 1.523 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.9944, allocations: 0 / 0.5461 GB, free: 1.523 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.9944, allocations: 8 kB / 0.5461 GB, free: 1.516 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.9944, allocations: 0 / 0.5461 GB, free: 1.516 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.9945, allocations: 0 / 0.5461 GB, free: 1.516 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001351/0.9946, allocations: 143.5 kB / 0.5462 GB, free: 1.359 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002947/0.9949, allocations: 0.5232 MB / 0.5467 GB, free: 0.8164 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.616e-05/0.995, allocations: 89 kB / 0.5468 GB, free: 0.7109 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.252e-05/0.995, allocations: 4 kB / 0.5468 GB, free: 0.707 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.068e-05/0.9951, allocations: 0 / 0.5468 GB, free: 0.707 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.464e-05/0.9951, allocations: 3.906 kB / 0.5468 GB, free: 0.7031 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-06/0.9951, allocations: 3.984 kB / 0.5468 GB, free: 0.6992 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.234e-05/0.9952, allocations: 103.3 kB / 0.5469 GB, free: 0.5977 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008357/0.9961, allocations: 39.91 kB / 0.547 GB, free: 0.5586 MB / 378.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.0006876/0.9968, allocations: 303.3 kB / 0.5472 GB, free: 280 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 7.415e-05/0.9969, allocations: 12 kB / 0.5473 GB, free: 268 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.9969, allocations: 3.938 kB / 0.5473 GB, free: 264 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.51e-05/0.9969, allocations: 12 kB / 0.5473 GB, free: 252 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000202/0.9971, allocations: 7.984 kB / 0.5473 GB, free: 244 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002965/0.9974, allocations: 99.81 kB / 0.5474 GB, free: 116 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003321/0.9977, allocations: 0.7032 MB / 0.5481 GB, free: 15.39 MB / 394.7 MB Notification: Performance of SimCode: time 3.61e-07/0.9978, allocations: 0 / 0.5481 GB, free: 15.39 MB / 394.7 MB (rm -f PowerSystems_latest_PowerSystems.Examples.Introductory.Tables.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Introductory.Tables.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Introductory.Tables.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Introductory.Tables.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Introductory.Tables_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Introductory_Tables_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Introductory_Tables.fmu > PowerSystems_latest_PowerSystems.Examples.Introductory.Tables.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.Introductory.Tables_res.mat does not exist to compare? outputFormat=mat