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.001371/0.001371, allocations: 112.7 kB / 17.06 MB, free: 5.969 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.001513/0.001513, allocations: 200 kB / 18.01 MB, free: 5.051 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.33/1.33, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1785/0.1785, allocations: 38.03 MB / 329.9 MB, free: 8.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 59.91 kB / 457.6 MB, free: 7.359 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2635/0.2648, allocations: 58.05 MB / 0.5036 GB, free: 7.559 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Tables): time 0.002565/0.2674, allocations: 1.397 MB / 0.5049 GB, free: 6.645 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005444/0.268, allocations: 359.5 kB / 0.5053 GB, free: 6.414 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.84e-05/0.268, allocations: 5.25 kB / 0.5053 GB, free: 6.41 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001874/0.2682, allocations: 28 kB / 0.5053 GB, free: 6.391 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001542/0.2684, allocations: 34.91 kB / 0.5054 GB, free: 6.371 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002076/0.2686, allocations: 81.75 kB / 0.5054 GB, free: 6.328 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001201/0.2687, allocations: 56.03 kB / 0.5055 GB, free: 6.305 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.608e-05/0.2688, allocations: 4.016 kB / 0.5055 GB, free: 6.305 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001364/0.2689, allocations: 31.84 kB / 0.5055 GB, free: 6.289 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.54e-05/0.269, allocations: 17.38 kB / 0.5055 GB, free: 6.281 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.491e-05/0.269, allocations: 6.25 kB / 0.5055 GB, free: 6.277 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.586e-05/0.2691, allocations: 54.14 kB / 0.5056 GB, free: 6.258 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.558e-05/0.2692, allocations: 18.11 kB / 0.5056 GB, free: 6.25 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.293e-05/0.2692, allocations: 22.67 kB / 0.5056 GB, free: 6.234 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001764/0.2694, allocations: 89.69 kB / 0.5057 GB, free: 6.199 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.2694, allocations: 1.156 kB / 0.5057 GB, free: 6.199 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2694, allocations: 0 / 0.5057 GB, free: 6.199 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.2694, allocations: 0.7031 kB / 0.5057 GB, free: 6.199 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.0003274/0.2697, allocations: 380.6 kB / 0.5061 GB, free: 5.809 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/0.2698, allocations: 13.67 kB / 0.5061 GB, free: 5.805 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.293e-05/0.2698, allocations: 40.92 kB / 0.5061 GB, free: 5.758 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.063e-05/0.2698, allocations: 8.391 kB / 0.5061 GB, free: 5.754 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001642/0.27, allocations: 192.2 kB / 0.5063 GB, free: 5.543 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.02e-05/0.27, allocations: 2.188 kB / 0.5063 GB, free: 5.543 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.107e-06/0.2701, allocations: 2.812 kB / 0.5063 GB, free: 5.543 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.973e-05/0.2702, allocations: 64.64 kB / 0.5064 GB, free: 5.484 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.2702, allocations: 0 / 0.5064 GB, free: 5.484 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.2702, allocations: 1.469 kB / 0.5064 GB, free: 5.484 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.2702, allocations: 4 kB / 0.5064 GB, free: 5.48 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.347e-05/0.2703, allocations: 18.2 kB / 0.5064 GB, free: 5.477 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002614/0.2705, allocations: 283.9 kB / 0.5067 GB, free: 5.188 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.691e-05/0.2706, allocations: 41.23 kB / 0.5067 GB, free: 5.156 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.146e-05/0.2706, allocations: 10.25 kB / 0.5067 GB, free: 5.148 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.995e-05/0.2707, allocations: 1.922 kB / 0.5067 GB, free: 5.148 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.646e-05/0.2707, allocations: 35.66 kB / 0.5068 GB, free: 5.105 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.363e-06/0.2707, allocations: 3.938 kB / 0.5068 GB, free: 5.102 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001561/0.2709, allocations: 60.44 kB / 0.5068 GB, free: 5.059 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.246e-05/0.2709, allocations: 77.81 kB / 0.5069 GB, free: 4.965 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001229/0.271, allocations: 138.9 kB / 0.507 GB, free: 4.855 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.316e-06/0.271, allocations: 25.7 kB / 0.5071 GB, free: 4.824 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.71e-05/0.2711, allocations: 98.12 kB / 0.5072 GB, free: 4.73 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.775e-05/0.2711, allocations: 13.8 kB / 0.5072 GB, free: 4.719 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.984e-05/0.2711, allocations: 21.89 kB / 0.5072 GB, free: 4.695 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.177e-05/0.2712, allocations: 322.9 kB / 0.5075 GB, free: 4.375 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.874e-05/0.2712, allocations: 8.688 kB / 0.5075 GB, free: 4.371 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.254e-05/0.2712, allocations: 16.58 kB / 0.5075 GB, free: 4.355 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.35e-05/0.2713, allocations: 28.25 kB / 0.5076 GB, free: 4.336 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.2713, allocations: 0 / 0.5076 GB, free: 4.336 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.163e-05/0.2714, allocations: 47.78 kB / 0.5076 GB, free: 4.301 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.2714, allocations: 4.5 kB / 0.5076 GB, free: 4.301 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.2714, allocations: 5.734 kB / 0.5076 GB, free: 4.297 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.2714, allocations: 0 / 0.5076 GB, free: 4.297 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.02e-05/0.2715, allocations: 9.422 kB / 0.5076 GB, free: 4.293 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.2715, allocations: 0.6562 kB / 0.5076 GB, free: 4.293 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.168e-05/0.2715, allocations: 5.703 kB / 0.5076 GB, free: 4.289 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/0.2715, allocations: 1.062 kB / 0.5076 GB, free: 4.289 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.374e-05/0.2716, allocations: 116.2 kB / 0.5077 GB, free: 4.172 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.362e-05/0.2716, allocations: 7.875 kB / 0.5077 GB, free: 4.168 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000111/0.2717, allocations: 65.92 kB / 0.5078 GB, free: 4.117 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.2717, allocations: 0 / 0.5078 GB, free: 4.117 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.2717, allocations: 5.859 kB / 0.5078 GB, free: 4.113 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.2717, allocations: 0 / 0.5078 GB, free: 4.113 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001295/0.2719, allocations: 178.2 kB / 0.508 GB, free: 3.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.2719, allocations: 0.6094 kB / 0.508 GB, free: 3.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.668e-05/0.2719, allocations: 5.625 kB / 0.508 GB, free: 3.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.2719, allocations: 0 / 0.508 GB, free: 3.91 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-06/0.2719, allocations: 1.516 kB / 0.508 GB, free: 3.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.2719, allocations: 0 / 0.508 GB, free: 3.91 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.2719, allocations: 1.094 kB / 0.508 GB, free: 3.91 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.901e-05/0.272, allocations: 155.2 kB / 0.5081 GB, free: 3.762 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.197e-05/0.2721, allocations: 83.72 kB / 0.5082 GB, free: 3.664 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.68e-05/0.2721, allocations: 1.562 kB / 0.5082 GB, free: 3.664 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.129e-05/0.2721, allocations: 1.031 kB / 0.5082 GB, free: 3.664 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.222e-05/0.2722, allocations: 2.422 kB / 0.5082 GB, free: 3.664 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.93e-06/0.2722, allocations: 6.094 kB / 0.5082 GB, free: 3.66 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.97e-05/0.2722, allocations: 115.6 kB / 0.5083 GB, free: 3.574 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.2723, allocations: 4 kB / 0.5083 GB, free: 3.57 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002541/0.2725, allocations: 21.38 kB / 0.5084 GB, free: 3.562 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.0009311/0.2735, allocations: 0.9649 MB / 0.5093 GB, free: 2.797 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 8.992e-05/0.2736, allocations: 14.38 kB / 0.5093 GB, free: 2.797 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2736, allocations: 0 / 0.5093 GB, free: 2.797 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.833e-05/0.2736, allocations: 16.17 kB / 0.5093 GB, free: 2.789 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003278/0.2739, allocations: 17.67 kB / 0.5094 GB, free: 2.781 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008637/0.2748, allocations: 1.337 MB / 0.5107 GB, free: 1.543 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.541e-05/0.2749, allocations: 0.6916 MB / 0.5113 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.003e-05/0.275, allocations: 16.42 kB / 0.5113 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.814e-05/0.275, allocations: 22.8 kB / 0.5114 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of SimCode: time 2.91e-07/0.275, allocations: 1 kB / 0.5114 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01712/0.2922, allocations: 2.522 MB / 0.5138 GB, free: 108 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.526/7.818, allocations: 9.234 kB / 0.5138 GB, free: 100 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)