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.0009505/0.0009505, allocations: 87.34 kB / 16.31 MB, free: 5.676 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.001345/0.001345, allocations: 182.2 kB / 17.21 MB, free: 5.598 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.672/1.672, allocations: 205.4 MB / 223.4 MB, free: 13.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1818/0.1818, allocations: 38.04 MB / 309.7 MB, free: 6.047 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.0005292/0.0005295, allocations: 15.12 kB / 376.6 MB, free: 3.012 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2945/0.295, allocations: 56.33 MB / 432.9 MB, free: 18.91 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Tables): time 0.001412/0.2965, allocations: 1.075 MB / 434 MB, free: 17.84 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003439/0.2968, allocations: 256 kB / 434.3 MB, free: 17.59 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.625e-05/0.2969, allocations: 0 / 434.3 MB, free: 17.59 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001626/0.2971, allocations: 19.92 kB / 434.3 MB, free: 17.57 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001035/0.2972, allocations: 35.84 kB / 434.3 MB, free: 17.53 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001535/0.2973, allocations: 51.88 kB / 434.4 MB, free: 17.48 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 8.857e-05/0.2974, allocations: 51.83 kB / 434.4 MB, free: 17.43 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.809e-05/0.2975, allocations: 4 kB / 434.4 MB, free: 17.43 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001181/0.2976, allocations: 23.91 kB / 434.4 MB, free: 17.4 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.076e-05/0.2977, allocations: 23.86 kB / 434.5 MB, free: 17.38 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.139e-05/0.2977, allocations: 0 / 434.5 MB, free: 17.38 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.295e-05/0.2978, allocations: 47.97 kB / 434.5 MB, free: 17.33 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.952e-05/0.2978, allocations: 15.92 kB / 434.5 MB, free: 17.32 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 1.749e-05/0.2978, allocations: 33.7 kB / 434.6 MB, free: 17.28 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001044/0.2979, allocations: 70.14 kB / 434.6 MB, free: 17.21 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.298, allocations: 0 / 434.6 MB, free: 17.21 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.298, allocations: 0 / 434.6 MB, free: 17.21 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.737e-06/0.298, allocations: 0 / 434.6 MB, free: 17.21 MB / 318.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.0002909/0.2983, allocations: 371 kB / 435 MB, free: 16.8 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.137e-05/0.2983, allocations: 8.031 kB / 435 MB, free: 16.79 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.63e-05/0.2983, allocations: 38.56 kB / 435 MB, free: 16.75 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.466e-05/0.2984, allocations: 15.86 kB / 435.1 MB, free: 16.73 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001381/0.2985, allocations: 183 kB / 435.2 MB, free: 16.51 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.041e-05/0.2985, allocations: 0 / 435.2 MB, free: 16.51 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.728e-06/0.2986, allocations: 4 kB / 435.2 MB, free: 16.51 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.518e-05/0.2987, allocations: 63.39 kB / 435.3 MB, free: 16.43 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.2987, allocations: 0 / 435.3 MB, free: 16.43 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.2987, allocations: 7.922 kB / 435.3 MB, free: 16.43 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.2987, allocations: 0 / 435.3 MB, free: 16.43 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.54e-05/0.2988, allocations: 19.98 kB / 435.3 MB, free: 16.41 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000242/0.299, allocations: 280.9 kB / 435.6 MB, free: 16.08 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.752e-05/0.2991, allocations: 38.5 kB / 435.6 MB, free: 16.04 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.733e-05/0.2991, allocations: 12.92 kB / 435.7 MB, free: 16.02 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.071e-05/0.2991, allocations: 4 kB / 435.7 MB, free: 16.02 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.528e-05/0.2992, allocations: 34.56 kB / 435.7 MB, free: 15.97 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.2992, allocations: 0 / 435.7 MB, free: 15.97 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001366/0.2993, allocations: 61.55 kB / 435.8 MB, free: 15.91 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.519e-05/0.2993, allocations: 77.11 kB / 435.8 MB, free: 15.81 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001058/0.2994, allocations: 145.8 kB / 436 MB, free: 15.66 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.843e-06/0.2995, allocations: 25.7 kB / 436 MB, free: 15.63 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.768e-05/0.2995, allocations: 92.14 kB / 436.1 MB, free: 15.54 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.318e-05/0.2995, allocations: 11.81 kB / 436.1 MB, free: 15.52 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.344e-06/0.2995, allocations: 7.938 kB / 436.1 MB, free: 15.52 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.757e-05/0.2996, allocations: 318.8 kB / 436.4 MB, free: 15.2 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.272e-05/0.2996, allocations: 4 kB / 436.4 MB, free: 15.19 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.676e-05/0.2996, allocations: 21.7 kB / 436.4 MB, free: 15.16 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.034e-05/0.2996, allocations: 4 kB / 436.4 MB, free: 15.16 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.2996, allocations: 7.875 kB / 436.5 MB, free: 15.15 MB / 318.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.937e-05/0.2997, allocations: 49.69 kB / 436.5 MB, free: 15.1 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/0.2997, allocations: 4 kB / 436.5 MB, free: 15.09 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.818e-06/0.2997, allocations: 4.031 kB / 436.5 MB, free: 15.09 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.2997, allocations: 7.953 kB / 436.5 MB, free: 15.08 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.493e-05/0.2998, allocations: 4 kB / 436.5 MB, free: 15.08 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.2998, allocations: 0 / 436.5 MB, free: 15.08 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.325e-05/0.2998, allocations: 7.844 kB / 436.5 MB, free: 15.07 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.887e-06/0.2998, allocations: 0 / 436.5 MB, free: 15.07 MB / 318.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.073e-05/0.2999, allocations: 125.7 kB / 436.6 MB, free: 14.94 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.507e-05/0.2999, allocations: 4 kB / 436.7 MB, free: 14.93 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.164e-05/0.3, allocations: 61.58 kB / 436.7 MB, free: 14.86 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.3, allocations: 4 kB / 436.7 MB, free: 14.86 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.3, allocations: 3.953 kB / 436.7 MB, free: 14.86 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.3001, allocations: 4 kB / 436.7 MB, free: 14.85 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001196/0.3002, allocations: 177.5 kB / 436.9 MB, free: 14.63 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.3002, allocations: 0 / 436.9 MB, free: 14.63 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.297e-05/0.3002, allocations: 4 kB / 436.9 MB, free: 14.62 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.3002, allocations: 0 / 436.9 MB, free: 14.62 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.101e-06/0.3002, allocations: 4.375 kB / 436.9 MB, free: 14.62 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.043e-06/0.3002, allocations: 0 / 436.9 MB, free: 14.62 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.3002, allocations: 3.938 kB / 436.9 MB, free: 14.62 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.416e-05/0.3003, allocations: 159.5 kB / 437.1 MB, free: 14.45 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.369e-05/0.3004, allocations: 81.02 kB / 437.1 MB, free: 14.35 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.434e-05/0.3004, allocations: 0 / 437.1 MB, free: 14.35 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.427e-05/0.3004, allocations: 8 kB / 437.2 MB, free: 14.34 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.415e-05/0.3005, allocations: 3.984 kB / 437.2 MB, free: 14.34 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-06/0.3005, allocations: 0 / 437.2 MB, free: 14.34 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.81e-05/0.3005, allocations: 111.2 kB / 437.3 MB, free: 14.23 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3005, allocations: 0 / 437.3 MB, free: 14.23 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00024/0.3008, allocations: 27.98 kB / 437.3 MB, free: 14.2 MB / 318.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 (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.0008749/0.3017, allocations: 0.9643 MB / 438.3 MB, free: 13.27 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 7.618e-05/0.3017, allocations: 23.97 kB / 438.3 MB, free: 13.25 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3018, allocations: 0 / 438.3 MB, free: 13.25 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.375e-05/0.3018, allocations: 8 kB / 438.3 MB, free: 13.24 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002803/0.3021, allocations: 15.98 kB / 438.3 MB, free: 13.23 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005841/0.3027, allocations: 488.9 kB / 438.8 MB, free: 12.7 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001033/0.3028, allocations: 0.6887 MB / 439.5 MB, free: 11.98 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.989e-05/0.3028, allocations: 16.17 kB / 439.5 MB, free: 11.97 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.491e-05/0.3029, allocations: 27.52 kB / 439.5 MB, free: 11.94 MB / 318.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3029, allocations: 3.938 kB / 439.5 MB, free: 11.94 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01392/0.3168, allocations: 2.119 MB / 441.6 MB, free: 9.824 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001429/0.317, allocations: 219 kB / 441.8 MB, free: 9.574 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.753/2.07, allocations: 0 / 441.8 MB, free: 9.574 MB / 318.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/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) Environment - environmentSimulation: