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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001148/0.001148, allocations: 180.3 kB / 8.352 MB, free: 0.7227 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.739/1.739, allocations: 194.4 MB / 203.1 MB, free: 13.02 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.001808/0.001808, allocations: 116.7 kB / 248.1 MB, free: 20 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1607/0.1607, allocations: 37.93 MB / 330.9 MB, free: 2.641 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.969e-05/1.97e-05, allocations: 7.984 kB / 390.5 MB, free: 6.996 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2823/0.2824, allocations: 53.22 MB / 443.7 MB, free: 17.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.109/0.3915, allocations: 80.89 MB / 0.5123 GB, free: 0.6602 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.001849/0.3934, allocations: 0.562 MB / 0.5128 GB, free: 100 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004955/0.3984, allocations: 1.86 MB / 0.5146 GB, free: 14.24 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.374e-06/0.3984, allocations: 0 / 0.5146 GB, free: 14.24 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.225e-05/0.3984, allocations: 7.938 kB / 0.5147 GB, free: 14.23 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.0003857/0.3988, allocations: 388 kB / 0.515 GB, free: 13.8 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.3989, allocations: 12.03 kB / 0.515 GB, free: 13.79 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.803e-05/0.3989, allocations: 11.86 kB / 0.515 GB, free: 13.78 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002462/0.3992, allocations: 183 kB / 0.5152 GB, free: 13.56 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.547e-06/0.3992, allocations: 0 / 0.5152 GB, free: 13.56 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.746e-06/0.3992, allocations: 4 kB / 0.5152 GB, free: 13.55 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.466e-05/0.3993, allocations: 19.98 kB / 0.5152 GB, free: 13.54 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.374e-05/0.3994, allocations: 59.34 kB / 0.5153 GB, free: 13.46 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.3994, allocations: 0 / 0.5153 GB, free: 13.46 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.3994, allocations: 11.95 kB / 0.5153 GB, free: 13.45 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.3994, allocations: 0 / 0.5153 GB, free: 13.45 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003207/0.3997, allocations: 249.4 kB / 0.5155 GB, free: 13.17 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.939e-05/0.3998, allocations: 34.52 kB / 0.5156 GB, free: 13.13 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.496e-05/0.3999, allocations: 17 kB / 0.5156 GB, free: 13.11 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.044e-05/0.3999, allocations: 8 kB / 0.5156 GB, free: 13.1 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.218e-05/0.3999, allocations: 30.56 kB / 0.5156 GB, free: 13.06 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 9.91e-07/0.3999, allocations: 0 / 0.5156 GB, free: 13.06 MB / 378.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001398/0.4001, allocations: 49.64 kB / 0.5157 GB, free: 13.01 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.985e-05/0.4001, allocations: 77.11 kB / 0.5158 GB, free: 12.91 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00011/0.4002, allocations: 120.9 kB / 0.5159 GB, free: 12.79 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.461e-05/0.4003, allocations: 25.7 kB / 0.5159 GB, free: 12.76 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.653e-05/0.4003, allocations: 96.05 kB / 0.516 GB, free: 12.66 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.227e-05/0.4004, allocations: 15.83 kB / 0.516 GB, free: 12.64 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.256e-06/0.4004, allocations: 0 / 0.516 GB, free: 12.64 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.4005, allocations: 314.8 kB / 0.5163 GB, free: 12.33 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.03e-05/0.4005, allocations: 8 kB / 0.5163 GB, free: 12.32 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.452e-05/0.4006, allocations: 25.64 kB / 0.5163 GB, free: 12.29 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.478e-05/0.4006, allocations: 8 kB / 0.5163 GB, free: 12.28 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.4006, allocations: 0 / 0.5163 GB, free: 12.28 MB / 378.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.527e-05/0.4007, allocations: 61.59 kB / 0.5164 GB, free: 12.21 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.189e-05/0.4007, allocations: 33.73 kB / 0.5164 GB, free: 12.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.4008, allocations: 0 / 0.5164 GB, free: 12.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.4008, allocations: 0 / 0.5164 GB, free: 12.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.945e-05/0.4008, allocations: 15.94 kB / 0.5164 GB, free: 12.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/0.4008, allocations: 0 / 0.5164 GB, free: 12.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.652e-05/0.4009, allocations: 0 / 0.5164 GB, free: 12.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.4009, allocations: 0 / 0.5164 GB, free: 12.16 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 (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 7e-05/0.401, allocations: 105 kB / 0.5165 GB, free: 12.05 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.668e-05/0.4011, allocations: 57.7 kB / 0.5166 GB, free: 11.99 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.399e-05/0.4011, allocations: 11.94 kB / 0.5166 GB, free: 11.98 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001257/0.4012, allocations: 57.98 kB / 0.5167 GB, free: 11.91 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.4012, allocations: 0 / 0.5167 GB, free: 11.91 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.4012, allocations: 3.984 kB / 0.5167 GB, free: 11.9 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.4013, allocations: 0 / 0.5167 GB, free: 11.9 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001517/0.4014, allocations: 150.2 kB / 0.5168 GB, free: 11.72 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.09e-05/0.4014, allocations: 4 kB / 0.5168 GB, free: 11.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.702e-05/0.4015, allocations: 4 kB / 0.5168 GB, free: 11.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.4015, allocations: 3.938 kB / 0.5168 GB, free: 11.71 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.5e-06/0.4015, allocations: 0 / 0.5168 GB, free: 11.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/0.4015, allocations: 0 / 0.5168 GB, free: 11.71 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.4015, allocations: 7.953 kB / 0.5168 GB, free: 11.7 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001097/0.4016, allocations: 143.5 kB / 0.517 GB, free: 11.54 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.761e-05/0.4017, allocations: 89 kB / 0.5171 GB, free: 11.44 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.671e-05/0.4017, allocations: 0 / 0.5171 GB, free: 11.44 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.829e-05/0.4018, allocations: 3.938 kB / 0.5171 GB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.679e-05/0.4018, allocations: 3.953 kB / 0.5171 GB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.4018, allocations: 4 kB / 0.5171 GB, free: 11.43 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.277e-05/0.4019, allocations: 103.3 kB / 0.5172 GB, free: 11.32 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4019, allocations: 0 / 0.5172 GB, free: 11.32 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002375/0.4021, allocations: 27.94 kB / 0.5172 GB, free: 11.3 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.0009095/0.403, allocations: 0.8593 MB / 0.518 GB, free: 10.43 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001154/0.4032, allocations: 79.39 kB / 0.5181 GB, free: 10.34 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.4032, allocations: 0 / 0.5181 GB, free: 10.34 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.485e-05/0.4032, allocations: 7.938 kB / 0.5181 GB, free: 10.33 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001757/0.4034, allocations: 11.98 kB / 0.5181 GB, free: 10.32 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004034/0.4038, allocations: 145.5 kB / 0.5183 GB, free: 10.13 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002796/0.4041, allocations: 0.6962 MB / 0.5189 GB, free: 9.41 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.174e-05/0.4041, allocations: 12.17 kB / 0.519 GB, free: 9.398 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.111e-05/0.4042, allocations: 23.42 kB / 0.519 GB, free: 9.375 MB / 378.7 MB Notification: Performance of SimCode: time 2.6e-07/0.4042, allocations: 0 / 0.519 GB, free: 9.375 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0246/0.4288, allocations: 1.591 MB / 0.5205 GB, free: 7.781 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001978/0.4291, allocations: 161.5 kB / 0.5207 GB, free: 7.586 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.507/1.936, allocations: 0 / 0.5207 GB, free: 7.586 MB / 378.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)