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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001257/0.001257, allocations: 104.7 kB / 17.06 MB, free: 6.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 196 kB / 18 MB, free: 5.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.299/1.299, allocations: 205.1 MB / 223.9 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1707/0.1707, allocations: 37.99 MB / 309.2 MB, free: 5.973 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00151/0.00151, allocations: 71.89 kB / 431.3 MB, free: 16.3 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09727/0.0988, allocations: 55.25 MB / 486.6 MB, free: 8.992 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Tables): time 0.002903/0.1017, allocations: 1.392 MB / 488 MB, free: 7.594 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005021/0.1023, allocations: 275.6 kB / 488.2 MB, free: 7.32 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.269e-05/0.1023, allocations: 0 / 488.2 MB, free: 7.32 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001972/0.1025, allocations: 31.78 kB / 488.3 MB, free: 7.289 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0001955/0.1028, allocations: 31.84 kB / 488.3 MB, free: 7.258 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002351/0.103, allocations: 64.36 kB / 488.4 MB, free: 7.195 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001499/0.1032, allocations: 59.88 kB / 488.4 MB, free: 7.137 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.406e-05/0.1032, allocations: 4.562 kB / 488.4 MB, free: 7.133 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001586/0.1034, allocations: 27.86 kB / 488.5 MB, free: 7.105 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.797e-05/0.1035, allocations: 27.84 kB / 488.5 MB, free: 7.078 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.587e-05/0.1035, allocations: 0 / 488.5 MB, free: 7.078 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001188/0.1036, allocations: 43.98 kB / 488.5 MB, free: 7.035 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.874e-05/0.1037, allocations: 19.92 kB / 488.6 MB, free: 7.016 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.91e-05/0.1037, allocations: 27.8 kB / 488.6 MB, free: 6.988 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002275/0.104, allocations: 83.78 kB / 488.7 MB, free: 6.906 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.104, allocations: 0 / 488.7 MB, free: 6.906 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.424e-06/0.104, allocations: 4 kB / 488.7 MB, free: 6.902 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.212e-06/0.104, allocations: 0 / 488.7 MB, free: 6.902 MB / 366.1 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.0004722/0.1045, allocations: 382.3 kB / 489 MB, free: 6.484 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.1045, allocations: 15.89 kB / 489.1 MB, free: 6.469 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.514e-05/0.1046, allocations: 34.75 kB / 489.1 MB, free: 6.426 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.496e-05/0.1046, allocations: 8.844 kB / 489.1 MB, free: 6.418 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001921/0.1048, allocations: 188.2 kB / 489.3 MB, free: 6.195 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.1048, allocations: 12.31 kB / 489.3 MB, free: 6.184 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.275e-06/0.1048, allocations: 384 / 489.3 MB, free: 6.184 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001079/0.1049, allocations: 71.33 kB / 489.4 MB, free: 6.102 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.662e-06/0.105, allocations: 0 / 489.4 MB, free: 6.102 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-06/0.105, allocations: 0 / 489.4 MB, free: 6.102 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.105, allocations: 0 / 489.4 MB, free: 6.102 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.858e-05/0.105, allocations: 23.98 kB / 489.4 MB, free: 6.078 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003135/0.1054, allocations: 276.8 kB / 489.7 MB, free: 5.758 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.807e-05/0.1054, allocations: 46.56 kB / 489.7 MB, free: 5.703 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.082e-05/0.1055, allocations: 12.91 kB / 489.7 MB, free: 5.688 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.897e-05/0.1055, allocations: 0 / 489.7 MB, free: 5.688 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.098e-05/0.1055, allocations: 30.56 kB / 489.7 MB, free: 5.648 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 7.41e-07/0.1055, allocations: 0 / 489.7 MB, free: 5.648 MB / 366.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001529/0.1057, allocations: 61.62 kB / 489.8 MB, free: 5.582 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.067e-05/0.1057, allocations: 81.05 kB / 489.9 MB, free: 5.484 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001249/0.1059, allocations: 149.7 kB / 490 MB, free: 5.328 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.7e-05/0.1059, allocations: 25.7 kB / 490.1 MB, free: 5.297 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.776e-05/0.106, allocations: 100 kB / 490.2 MB, free: 5.195 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.428e-05/0.106, allocations: 3.906 kB / 490.2 MB, free: 5.191 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.952e-05/0.106, allocations: 17.72 kB / 490.2 MB, free: 5.168 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.906e-05/0.1061, allocations: 326.8 kB / 490.5 MB, free: 4.84 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.364e-05/0.1061, allocations: 0 / 490.5 MB, free: 4.84 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.328e-05/0.1062, allocations: 25.7 kB / 490.5 MB, free: 4.809 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.169e-05/0.1062, allocations: 16.86 kB / 490.5 MB, free: 4.789 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.1062, allocations: 0 / 490.5 MB, free: 4.789 MB / 366.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.831e-05/0.1063, allocations: 61.53 kB / 490.6 MB, free: 4.723 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.066e-05/0.1063, allocations: 4 kB / 490.6 MB, free: 4.719 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.1063, allocations: 0 / 490.6 MB, free: 4.719 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.1063, allocations: 0 / 490.6 MB, free: 4.719 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.034e-05/0.1064, allocations: 4 kB / 490.6 MB, free: 4.715 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.777e-06/0.1064, allocations: 3.938 kB / 490.6 MB, free: 4.711 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.219e-05/0.1064, allocations: 4 kB / 490.6 MB, free: 4.707 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.117e-06/0.1064, allocations: 32 / 490.6 MB, free: 4.707 MB / 366.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.035e-05/0.1065, allocations: 121.8 kB / 490.7 MB, free: 4.578 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.251e-05/0.1066, allocations: 11.91 kB / 490.7 MB, free: 4.566 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.048e-05/0.1066, allocations: 3.906 kB / 490.7 MB, free: 4.559 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.1066, allocations: 4 kB / 490.7 MB, free: 4.555 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.1066, allocations: 0 / 490.7 MB, free: 4.555 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.1066, allocations: 3.984 kB / 490.8 MB, free: 4.551 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001684/0.1068, allocations: 173.6 kB / 490.9 MB, free: 4.332 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.1068, allocations: 0 / 490.9 MB, free: 4.332 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.646e-05/0.1068, allocations: 8.266 kB / 490.9 MB, free: 4.324 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.1068, allocations: 4 kB / 490.9 MB, free: 4.32 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.694e-06/0.1069, allocations: 4 kB / 490.9 MB, free: 4.316 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.1069, allocations: 0 / 490.9 MB, free: 4.316 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.1069, allocations: 0 / 490.9 MB, free: 4.316 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001284/0.107, allocations: 155.4 kB / 491.1 MB, free: 4.148 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.64e-05/0.1071, allocations: 85.09 kB / 491.2 MB, free: 4.047 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.498e-05/0.1071, allocations: 0 / 491.2 MB, free: 4.047 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.866e-05/0.1071, allocations: 0 / 491.2 MB, free: 4.047 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.928e-06/0.1071, allocations: 4 kB / 491.2 MB, free: 4.043 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.651e-06/0.1072, allocations: 4 kB / 491.2 MB, free: 4.039 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.914e-05/0.1072, allocations: 115.2 kB / 491.3 MB, free: 3.926 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1072, allocations: 4 kB / 491.3 MB, free: 3.922 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002327/0.1075, allocations: 15.94 kB / 491.3 MB, free: 3.906 MB / 366.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001065/0.1086, allocations: 0.9646 MB / 492.3 MB, free: 2.914 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 9.06e-05/0.1087, allocations: 27.97 kB / 492.3 MB, free: 2.887 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1087, allocations: 0 / 492.3 MB, free: 2.887 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.771e-05/0.1087, allocations: 11.94 kB / 492.3 MB, free: 2.875 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003169/0.109, allocations: 23.91 kB / 492.3 MB, free: 2.852 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001124/0.1101, allocations: 1.315 MB / 493.7 MB, free: 1.457 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002496/0.1104, allocations: 0.6885 MB / 494.3 MB, free: 0.7422 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.841e-05/0.1105, allocations: 16.17 kB / 494.4 MB, free: 0.7266 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.591e-05/0.1105, allocations: 19.44 kB / 494.4 MB, free: 0.707 MB / 366.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1105, allocations: 4 kB / 494.4 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01669/0.1272, allocations: 2.532 MB / 496.9 MB, free: 14.09 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.318/7.445, allocations: 4 kB / 496.9 MB, free: 14.08 MB / 382.1 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/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)