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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.001269/0.001269, allocations: 114.6 kB / 16.63 MB, free: 6.812 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.001363/0.001363, allocations: 185.8 kB / 17.55 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.272/1.272, allocations: 222.9 MB / 241.2 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.17/0.17, allocations: 38.03 MB / 329.4 MB, free: 8.98 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 68.94 kB / 398.4 MB, free: 34.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08303/0.08429, allocations: 58.07 MB / 456.4 MB, free: 8.316 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Tables): time 0.002474/0.08679, allocations: 1.42 MB / 457.9 MB, free: 6.887 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005482/0.08735, allocations: 363.4 kB / 458.2 MB, free: 6.527 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.601e-05/0.0874, allocations: 4 kB / 458.2 MB, free: 6.523 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000173/0.08758, allocations: 19.92 kB / 458.2 MB, free: 6.504 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001322/0.08773, allocations: 31.91 kB / 458.3 MB, free: 6.473 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001878/0.08792, allocations: 72.48 kB / 458.3 MB, free: 6.406 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001081/0.08804, allocations: 59.83 kB / 458.4 MB, free: 6.348 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.327e-05/0.08808, allocations: 4 kB / 458.4 MB, free: 6.344 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001367/0.08822, allocations: 35.47 kB / 458.4 MB, free: 6.312 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.946e-05/0.08829, allocations: 23.91 kB / 458.5 MB, free: 6.289 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.257e-05/0.08831, allocations: 3.938 kB / 458.5 MB, free: 6.285 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.788e-05/0.08841, allocations: 51.97 kB / 458.5 MB, free: 6.234 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.549e-05/0.08846, allocations: 19.92 kB / 458.5 MB, free: 6.215 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.98e-05/0.0885, allocations: 23.8 kB / 458.6 MB, free: 6.191 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001428/0.08864, allocations: 91.77 kB / 458.6 MB, free: 6.102 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.394e-06/0.08865, allocations: 3.938 kB / 458.7 MB, free: 6.098 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.08866, allocations: 0 / 458.7 MB, free: 6.098 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.777e-06/0.08867, allocations: 0 / 458.7 MB, free: 6.098 MB / 334.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.0003391/0.08901, allocations: 375.5 kB / 459 MB, free: 5.684 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.175e-05/0.08905, allocations: 15.89 kB / 459 MB, free: 5.668 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.868e-05/0.08909, allocations: 38.73 kB / 459.1 MB, free: 5.621 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.892e-05/0.08912, allocations: 12.84 kB / 459.1 MB, free: 5.609 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001576/0.08928, allocations: 184.2 kB / 459.3 MB, free: 5.391 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.0893, allocations: 8.359 kB / 459.3 MB, free: 5.383 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.095e-06/0.08932, allocations: 4.359 kB / 459.3 MB, free: 5.379 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001002/0.08942, allocations: 67.28 kB / 459.3 MB, free: 5.301 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.08943, allocations: 0 / 459.3 MB, free: 5.301 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.043e-06/0.08945, allocations: 0 / 459.3 MB, free: 5.301 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.08945, allocations: 4 kB / 459.3 MB, free: 5.297 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.369e-05/0.0895, allocations: 19.98 kB / 459.4 MB, free: 5.277 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002814/0.08979, allocations: 280.9 kB / 459.6 MB, free: 4.953 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.353e-05/0.08987, allocations: 38.5 kB / 459.7 MB, free: 4.906 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.18e-05/0.0899, allocations: 12.92 kB / 459.7 MB, free: 4.891 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.754e-05/0.08993, allocations: 3.938 kB / 459.7 MB, free: 4.887 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.127e-05/0.08996, allocations: 38.56 kB / 459.7 MB, free: 4.84 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.08996, allocations: 0 / 459.7 MB, free: 4.84 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.000132/0.0901, allocations: 57.58 kB / 459.8 MB, free: 4.777 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.123e-05/0.09015, allocations: 81.05 kB / 459.9 MB, free: 4.68 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001243/0.09028, allocations: 144.9 kB / 460 MB, free: 4.531 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.054e-05/0.0903, allocations: 25.7 kB / 460 MB, free: 4.5 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.259e-05/0.09034, allocations: 100 kB / 460.1 MB, free: 4.398 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.389e-05/0.09036, allocations: 7.844 kB / 460.1 MB, free: 4.391 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.091e-05/0.0904, allocations: 17.72 kB / 460.2 MB, free: 4.367 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 8.68e-05/0.09049, allocations: 326.8 kB / 460.5 MB, free: 4.039 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.562e-05/0.09051, allocations: 4 kB / 460.5 MB, free: 4.035 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.261e-05/0.09054, allocations: 17.72 kB / 460.5 MB, free: 4.012 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.256e-05/0.09058, allocations: 20.84 kB / 460.5 MB, free: 3.988 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.09058, allocations: 0 / 460.5 MB, free: 3.988 MB / 334.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.415e-05/0.09066, allocations: 57.53 kB / 460.6 MB, free: 3.926 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.004e-05/0.09068, allocations: 8.031 kB / 460.6 MB, free: 3.918 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.105e-06/0.09069, allocations: 0 / 460.6 MB, free: 3.918 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.735e-06/0.0907, allocations: 0 / 460.6 MB, free: 3.918 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.109e-05/0.09075, allocations: 4 kB / 460.6 MB, free: 3.914 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.156e-06/0.09076, allocations: 3.938 kB / 460.6 MB, free: 3.91 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.366e-05/0.09079, allocations: 4 kB / 460.6 MB, free: 3.906 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.516e-06/0.09079, allocations: 0 / 460.6 MB, free: 3.906 MB / 334.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 6.635e-05/0.09086, allocations: 121.8 kB / 460.7 MB, free: 3.777 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.05e-05/0.0909, allocations: 7.906 kB / 460.7 MB, free: 3.77 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001041/0.09101, allocations: 61.92 kB / 460.8 MB, free: 3.695 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.09102, allocations: 0 / 460.8 MB, free: 3.695 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.09103, allocations: 3.938 kB / 460.8 MB, free: 3.691 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.09103, allocations: 48 / 460.8 MB, free: 3.691 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000151/0.09119, allocations: 185.5 kB / 461 MB, free: 3.461 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.0912, allocations: 0 / 461 MB, free: 3.461 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.511e-05/0.09123, allocations: 4 kB / 461 MB, free: 3.457 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.09124, allocations: 0 / 461 MB, free: 3.457 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.1e-06/0.09124, allocations: 0 / 461 MB, free: 3.457 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.09125, allocations: 0 / 461 MB, free: 3.457 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.09126, allocations: 4 kB / 461 MB, free: 3.453 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001036/0.09137, allocations: 155.3 kB / 461.1 MB, free: 3.285 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.632e-05/0.09141, allocations: 85.09 kB / 461.2 MB, free: 3.184 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.462e-05/0.09143, allocations: 0 / 461.2 MB, free: 3.184 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.133e-05/0.09149, allocations: 0 / 461.2 MB, free: 3.184 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.086e-05/0.0915, allocations: 4 kB / 461.2 MB, free: 3.18 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.947e-06/0.09151, allocations: 4 kB / 461.2 MB, free: 3.176 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.792e-05/0.09159, allocations: 115.2 kB / 461.3 MB, free: 3.062 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.0916, allocations: 7.938 kB / 461.3 MB, free: 3.055 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002383/0.09184, allocations: 15.94 kB / 461.4 MB, free: 3.039 MB / 334.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.001012/0.09286, allocations: 0.957 MB / 462.3 MB, free: 2.207 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 7.369e-05/0.09295, allocations: 19.98 kB / 462.3 MB, free: 2.188 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.09296, allocations: 3.938 kB / 462.3 MB, free: 2.184 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.867e-05/0.09298, allocations: 16 kB / 462.3 MB, free: 2.168 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002801/0.09327, allocations: 14.95 kB / 462.4 MB, free: 2.156 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009906/0.09427, allocations: 1.328 MB / 463.7 MB, free: 0.75 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002001/0.09448, allocations: 0.6885 MB / 464.4 MB, free: 36 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.173e-05/0.09454, allocations: 15.97 kB / 464.4 MB, free: 20 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.137e-05/0.09461, allocations: 31.47 kB / 464.4 MB, free: 15.98 MB / 350.1 MB Notification: Performance of SimCode: time 1.533e-06/0.09461, allocations: 96 / 464.4 MB, free: 15.98 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0241/0.1187, allocations: 2.4 MB / 466.8 MB, free: 13.67 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001801/0.1189, allocations: 239.2 kB / 467.1 MB, free: 13.41 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.757/1.876, allocations: 0 / 467.1 MB, free: 13.41 MB / 350.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)