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.001333/0.001333, allocations: 110 kB / 17.06 MB, free: 5.82 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.001257/0.001257, allocations: 195.9 kB / 18 MB, free: 4.965 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.453/1.453, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1879/0.1879, allocations: 38.04 MB / 329.9 MB, free: 8.703 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001883/0.001883, allocations: 67.89 kB / 457.6 MB, free: 7.367 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3216/0.3235, allocations: 58.06 MB / 0.5036 GB, free: 7.523 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Tables): time 0.003106/0.3266, allocations: 1.385 MB / 0.5049 GB, free: 6.625 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006637/0.3273, allocations: 364.9 kB / 0.5053 GB, free: 6.387 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.237e-05/0.3274, allocations: 3.938 kB / 0.5053 GB, free: 6.383 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002351/0.3276, allocations: 20.5 kB / 0.5053 GB, free: 6.371 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001874/0.3278, allocations: 34.81 kB / 0.5054 GB, free: 6.352 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002445/0.3281, allocations: 85.98 kB / 0.5054 GB, free: 6.305 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001531/0.3282, allocations: 53.08 kB / 0.5055 GB, free: 6.285 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.145e-05/0.3283, allocations: 4.578 kB / 0.5055 GB, free: 6.285 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001617/0.3285, allocations: 39.25 kB / 0.5055 GB, free: 6.262 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.104e-05/0.3285, allocations: 17.7 kB / 0.5055 GB, free: 6.254 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.013e-05/0.3286, allocations: 2.531 kB / 0.5055 GB, free: 6.254 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001276/0.3287, allocations: 46.19 kB / 0.5056 GB, free: 6.242 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.233e-05/0.3288, allocations: 21.94 kB / 0.5056 GB, free: 6.23 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.441e-05/0.3288, allocations: 18.48 kB / 0.5056 GB, free: 6.219 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001898/0.329, allocations: 98.98 kB / 0.5057 GB, free: 6.176 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.329, allocations: 0 / 0.5057 GB, free: 6.176 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.329, allocations: 0 / 0.5057 GB, free: 6.176 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.051e-05/0.329, allocations: 1.156 kB / 0.5057 GB, free: 6.176 MB / 382.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.0003463/0.3294, allocations: 384.5 kB / 0.5061 GB, free: 5.781 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.3294, allocations: 13.23 kB / 0.5061 GB, free: 5.777 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.548e-05/0.3295, allocations: 32.72 kB / 0.5061 GB, free: 5.738 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.043e-05/0.3295, allocations: 12.39 kB / 0.5061 GB, free: 5.73 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001526/0.3297, allocations: 189.3 kB / 0.5063 GB, free: 5.523 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.3297, allocations: 5.594 kB / 0.5063 GB, free: 5.52 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.324e-05/0.3297, allocations: 2.562 kB / 0.5063 GB, free: 5.52 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001149/0.3298, allocations: 72.11 kB / 0.5064 GB, free: 5.453 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.3298, allocations: 1.156 kB / 0.5064 GB, free: 5.453 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.3298, allocations: 0 / 0.5064 GB, free: 5.453 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.418e-06/0.3299, allocations: 1 kB / 0.5064 GB, free: 5.453 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.184e-05/0.3299, allocations: 17.81 kB / 0.5064 GB, free: 5.449 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002921/0.3302, allocations: 284.2 kB / 0.5067 GB, free: 5.16 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.105e-05/0.3303, allocations: 38.31 kB / 0.5067 GB, free: 5.129 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.224e-05/0.3303, allocations: 14.27 kB / 0.5067 GB, free: 5.117 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.366e-05/0.3304, allocations: 1.547 kB / 0.5067 GB, free: 5.117 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.809e-05/0.3304, allocations: 32.19 kB / 0.5068 GB, free: 5.078 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.3304, allocations: 0 / 0.5068 GB, free: 5.078 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001566/0.3306, allocations: 57.86 kB / 0.5068 GB, free: 5.039 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.896e-05/0.3306, allocations: 86.94 kB / 0.5069 GB, free: 4.938 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001201/0.3307, allocations: 146.6 kB / 0.5071 GB, free: 4.82 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.176e-06/0.3307, allocations: 25.7 kB / 0.5071 GB, free: 4.789 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.505e-05/0.3308, allocations: 97.72 kB / 0.5072 GB, free: 4.695 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.809e-05/0.3308, allocations: 10.27 kB / 0.5072 GB, free: 4.688 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.953e-05/0.3308, allocations: 14.86 kB / 0.5072 GB, free: 4.672 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.107e-05/0.3309, allocations: 322.4 kB / 0.5075 GB, free: 4.352 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.753e-05/0.3309, allocations: 11.92 kB / 0.5075 GB, free: 4.344 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.196e-05/0.331, allocations: 21.53 kB / 0.5075 GB, free: 4.324 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.42e-05/0.331, allocations: 19.55 kB / 0.5076 GB, free: 4.312 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.331, allocations: 0 / 0.5076 GB, free: 4.312 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.082e-05/0.3311, allocations: 51.98 kB / 0.5076 GB, free: 4.273 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.3311, allocations: 5.875 kB / 0.5076 GB, free: 4.273 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.3311, allocations: 0 / 0.5076 GB, free: 4.273 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.3311, allocations: 0.5156 kB / 0.5076 GB, free: 4.273 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.538e-05/0.3312, allocations: 5.391 kB / 0.5076 GB, free: 4.273 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.73e-06/0.3312, allocations: 4.594 kB / 0.5076 GB, free: 4.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.044e-05/0.3312, allocations: 5.141 kB / 0.5076 GB, free: 4.266 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.72e-06/0.3312, allocations: 1.094 kB / 0.5076 GB, free: 4.266 MB / 382.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 5.782e-05/0.3313, allocations: 120.3 kB / 0.5077 GB, free: 4.145 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.902e-05/0.3313, allocations: 3.766 kB / 0.5077 GB, free: 4.145 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001163/0.3314, allocations: 62.86 kB / 0.5078 GB, free: 4.094 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.3315, allocations: 0 / 0.5078 GB, free: 4.094 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.3315, allocations: 1.406 kB / 0.5078 GB, free: 4.094 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.3315, allocations: 0 / 0.5078 GB, free: 4.094 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001408/0.3316, allocations: 186.2 kB / 0.508 GB, free: 3.887 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.3316, allocations: 0.7031 kB / 0.508 GB, free: 3.887 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.549e-05/0.3317, allocations: 5.266 kB / 0.508 GB, free: 3.887 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.3317, allocations: 0 / 0.508 GB, free: 3.887 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.3317, allocations: 1.25 kB / 0.508 GB, free: 3.887 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.3317, allocations: 0.7969 kB / 0.508 GB, free: 3.887 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3317, allocations: 1.219 kB / 0.508 GB, free: 3.887 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.411e-05/0.3318, allocations: 147.6 kB / 0.5081 GB, free: 3.746 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.321e-05/0.3318, allocations: 90.95 kB / 0.5082 GB, free: 3.641 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.566e-05/0.3318, allocations: 1.125 kB / 0.5082 GB, free: 3.641 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.602e-05/0.3319, allocations: 1.094 kB / 0.5082 GB, free: 3.641 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.301e-05/0.3319, allocations: 2.688 kB / 0.5082 GB, free: 3.641 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.967e-06/0.3319, allocations: 1.625 kB / 0.5082 GB, free: 3.641 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.489e-05/0.332, allocations: 122.9 kB / 0.5083 GB, free: 3.547 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.332, allocations: 1.406 kB / 0.5083 GB, free: 3.547 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002446/0.3323, allocations: 16.89 kB / 0.5084 GB, free: 3.543 MB / 382.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.001459/0.3337, allocations: 0.9702 MB / 0.5093 GB, free: 2.773 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.885e-05/0.3338, allocations: 17.61 kB / 0.5093 GB, free: 2.77 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3338, allocations: 4.969 kB / 0.5093 GB, free: 2.766 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.714e-05/0.3339, allocations: 7.75 kB / 0.5093 GB, free: 2.766 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003678/0.3342, allocations: 18.16 kB / 0.5094 GB, free: 2.758 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009557/0.3352, allocations: 1.328 MB / 0.5107 GB, free: 1.527 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001152/0.3353, allocations: 0.6963 MB / 0.5113 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.564e-05/0.3354, allocations: 15.7 kB / 0.5113 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.187e-05/0.3355, allocations: 23.7 kB / 0.5114 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3355, allocations: 0 / 0.5114 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02546/0.3609, allocations: 2.522 MB / 0.5138 GB, free: 84 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.223/8.584, allocations: 12.77 kB / 0.5138 GB, free: 72 kB / 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 & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.Introductory.Tables_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 PowerSystems_PowerSystems_Examples_Introductory_Tables.fmu > PowerSystems_PowerSystems.Examples.Introductory.Tables.pipe 2>&1)