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.001002/0.001002, allocations: 93.34 kB / 16.65 MB, free: 6.598 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.001175/0.001175, allocations: 179.3 kB / 17.56 MB, free: 6.199 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.381/1.381, allocations: 205.4 MB / 223.7 MB, free: 13.09 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1658/0.1658, allocations: 38.05 MB / 310.1 MB, free: 5.91 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.000493/0.0004931, allocations: 15.59 kB / 377.3 MB, free: 2.617 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2234/0.2239, allocations: 56.32 MB / 433.6 MB, free: 18.65 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Tables): time 0.001472/0.2254, allocations: 1.11 MB / 434.7 MB, free: 17.54 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000393/0.2258, allocations: 275.7 kB / 435 MB, free: 17.27 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.125e-05/0.2259, allocations: 0 / 435 MB, free: 17.27 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001474/0.226, allocations: 11.94 kB / 435 MB, free: 17.26 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.926e-05/0.2262, allocations: 27.91 kB / 435 MB, free: 17.23 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001452/0.2263, allocations: 59.92 kB / 435.1 MB, free: 17.17 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.075e-05/0.2264, allocations: 55.78 kB / 435.1 MB, free: 17.12 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.643e-05/0.2265, allocations: 8 kB / 435.1 MB, free: 17.11 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001277/0.2266, allocations: 23.91 kB / 435.1 MB, free: 17.09 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.179e-05/0.2266, allocations: 27.84 kB / 435.2 MB, free: 17.06 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.305e-05/0.2267, allocations: 0 / 435.2 MB, free: 17.06 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.458e-05/0.2268, allocations: 51.92 kB / 435.2 MB, free: 17.01 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.908e-05/0.2268, allocations: 7.984 kB / 435.2 MB, free: 17 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.146e-05/0.2268, allocations: 61.48 kB / 435.3 MB, free: 16.93 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001227/0.227, allocations: 78.03 kB / 435.4 MB, free: 16.86 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.227, allocations: 4 kB / 435.4 MB, free: 16.86 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.227, allocations: 4 kB / 435.4 MB, free: 16.85 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.727e-06/0.227, allocations: 0 / 435.4 MB, free: 16.85 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.0003168/0.2273, allocations: 363.3 kB / 435.7 MB, free: 16.45 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.2274, allocations: 12.03 kB / 435.7 MB, free: 16.44 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.429e-05/0.2274, allocations: 30.75 kB / 435.8 MB, free: 16.4 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.485e-05/0.2274, allocations: 12.83 kB / 435.8 MB, free: 16.39 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001484/0.2276, allocations: 190.6 kB / 436 MB, free: 16.16 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.2276, allocations: 8.375 kB / 436 MB, free: 16.16 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.076e-05/0.2276, allocations: 384 / 436 MB, free: 16.16 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.212e-05/0.2277, allocations: 71.33 kB / 436.1 MB, free: 16.07 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.352e-06/0.2277, allocations: 0 / 436.1 MB, free: 16.07 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.454e-06/0.2277, allocations: 7.922 kB / 436.1 MB, free: 16.07 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.473e-06/0.2277, allocations: 7.938 kB / 436.1 MB, free: 16.06 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.747e-05/0.2278, allocations: 15.98 kB / 436.1 MB, free: 16.04 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002192/0.228, allocations: 292.7 kB / 436.4 MB, free: 15.71 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.783e-05/0.2281, allocations: 34.56 kB / 436.4 MB, free: 15.66 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.844e-05/0.2281, allocations: 12.92 kB / 436.4 MB, free: 15.65 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.938e-05/0.2281, allocations: 0 / 436.4 MB, free: 15.65 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.403e-05/0.2282, allocations: 34.56 kB / 436.4 MB, free: 15.61 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.523e-06/0.2282, allocations: 0 / 436.4 MB, free: 15.61 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001199/0.2283, allocations: 53.62 kB / 436.5 MB, free: 15.55 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.479e-05/0.2283, allocations: 85.09 kB / 436.6 MB, free: 15.45 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.251e-05/0.2284, allocations: 145.7 kB / 436.7 MB, free: 15.29 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.462e-06/0.2284, allocations: 25.7 kB / 436.8 MB, free: 15.26 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.485e-05/0.2285, allocations: 96.14 kB / 436.8 MB, free: 15.16 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.226e-05/0.2285, allocations: 7.891 kB / 436.9 MB, free: 15.16 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.703e-05/0.2285, allocations: 13.72 kB / 436.9 MB, free: 15.14 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.775e-05/0.2285, allocations: 318.8 kB / 437.2 MB, free: 14.82 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.285e-05/0.2286, allocations: 7.984 kB / 437.2 MB, free: 14.81 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.516e-05/0.2286, allocations: 21.72 kB / 437.2 MB, free: 14.78 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.501e-05/0.2286, allocations: 24.78 kB / 437.2 MB, free: 14.75 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.2286, allocations: 0 / 437.2 MB, free: 14.75 MB / 318.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.887e-05/0.2287, allocations: 49.61 kB / 437.3 MB, free: 14.7 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.045e-06/0.2287, allocations: 4 kB / 437.3 MB, free: 14.7 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.376e-06/0.2287, allocations: 3.984 kB / 437.3 MB, free: 14.69 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.688e-06/0.2287, allocations: 4 kB / 437.3 MB, free: 14.69 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.96e-05/0.2288, allocations: 4 kB / 437.3 MB, free: 14.68 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.2288, allocations: 0 / 437.3 MB, free: 14.68 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.267e-05/0.2288, allocations: 4.031 kB / 437.3 MB, free: 14.68 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.877e-06/0.2288, allocations: 0 / 437.3 MB, free: 14.68 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.508e-05/0.2289, allocations: 125.7 kB / 437.4 MB, free: 14.55 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.664e-05/0.2289, allocations: 7.906 kB / 437.4 MB, free: 14.54 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.265e-05/0.229, allocations: 65.52 kB / 437.5 MB, free: 14.46 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.229, allocations: 0 / 437.5 MB, free: 14.46 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.229, allocations: 0 / 437.5 MB, free: 14.46 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.229, allocations: 0 / 437.5 MB, free: 14.46 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001116/0.2291, allocations: 177.6 kB / 437.7 MB, free: 14.24 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.2291, allocations: 11.92 kB / 437.7 MB, free: 14.23 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.137e-05/0.2292, allocations: 4 kB / 437.7 MB, free: 14.23 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.2292, allocations: 384 / 437.7 MB, free: 14.23 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.12e-06/0.2292, allocations: 4 kB / 437.7 MB, free: 14.22 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.71e-07/0.2292, allocations: 0 / 437.7 MB, free: 14.22 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-07/0.2292, allocations: 0 / 437.7 MB, free: 14.22 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.067e-05/0.2293, allocations: 155.3 kB / 437.8 MB, free: 14.05 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.216e-05/0.2293, allocations: 92.94 kB / 437.9 MB, free: 13.95 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.359e-05/0.2293, allocations: 4 kB / 437.9 MB, free: 13.94 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.922e-05/0.2294, allocations: 4 kB / 437.9 MB, free: 13.94 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.247e-06/0.2294, allocations: 0 / 437.9 MB, free: 13.94 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-06/0.2294, allocations: 0 / 437.9 MB, free: 13.94 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.707e-05/0.2294, allocations: 115.8 kB / 438 MB, free: 13.82 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2294, allocations: 0 / 438 MB, free: 13.82 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002242/0.2297, allocations: 15.94 kB / 438.1 MB, free: 13.81 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 (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.0009213/0.2306, allocations: 0.9626 MB / 439 MB, free: 12.88 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 7.195e-05/0.2307, allocations: 23.91 kB / 439.1 MB, free: 12.86 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2307, allocations: 0 / 439.1 MB, free: 12.86 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.28e-05/0.2307, allocations: 8 kB / 439.1 MB, free: 12.85 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002913/0.231, allocations: 15.98 kB / 439.1 MB, free: 12.84 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000808/0.2318, allocations: 1.332 MB / 440.4 MB, free: 11.42 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001109/0.2319, allocations: 0.6926 MB / 441.1 MB, free: 10.7 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.677e-05/0.232, allocations: 11.98 kB / 441.1 MB, free: 10.69 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.178e-05/0.232, allocations: 27.42 kB / 441.1 MB, free: 10.66 MB / 318.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2321, allocations: 0 / 441.1 MB, free: 10.66 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01538/0.2474, allocations: 2.126 MB / 443.3 MB, free: 8.547 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001589/0.2476, allocations: 239 kB / 443.5 MB, free: 8.277 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.757/2.005, allocations: 0 / 443.5 MB, free: 8.277 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/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)