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.001189/0.001189, allocations: 108.2 kB / 16.92 MB, free: 5.754 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.001147/0.001147, allocations: 191.3 kB / 17.85 MB, free: 5.176 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.331/1.331, allocations: 222.9 MB / 241.5 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1754/0.1754, allocations: 38.02 MB / 329.7 MB, free: 8.801 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 60.98 kB / 398.9 MB, free: 33.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09786/0.09915, allocations: 58.06 MB / 457 MB, free: 7.977 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Tables): time 0.003347/0.1025, allocations: 1.375 MB / 458.3 MB, free: 6.598 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006808/0.1032, allocations: 375.3 kB / 458.7 MB, free: 6.227 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.854e-05/0.1033, allocations: 0 / 458.7 MB, free: 6.227 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001771/0.1035, allocations: 19.86 kB / 458.7 MB, free: 6.207 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001633/0.1037, allocations: 39.83 kB / 458.7 MB, free: 6.168 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002852/0.104, allocations: 83.22 kB / 458.8 MB, free: 6.09 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001075/0.1041, allocations: 59.83 kB / 458.9 MB, free: 6.031 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.178e-05/0.1041, allocations: 0 / 458.9 MB, free: 6.031 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000144/0.1043, allocations: 31.91 kB / 458.9 MB, free: 6 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.842e-05/0.1043, allocations: 23.86 kB / 458.9 MB, free: 5.977 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.143e-05/0.1044, allocations: 4 kB / 458.9 MB, free: 5.973 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001299/0.1045, allocations: 55.91 kB / 459 MB, free: 5.918 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.233e-05/0.1046, allocations: 15.98 kB / 459 MB, free: 5.902 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.263e-05/0.1046, allocations: 19.86 kB / 459 MB, free: 5.883 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001954/0.1048, allocations: 95.7 kB / 459.1 MB, free: 5.789 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.1048, allocations: 0 / 459.1 MB, free: 5.789 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.153e-06/0.1048, allocations: 0 / 459.1 MB, free: 5.789 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.486e-06/0.1049, allocations: 0 / 459.1 MB, free: 5.789 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.0004708/0.1053, allocations: 375.5 kB / 459.5 MB, free: 5.375 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.1054, allocations: 15.89 kB / 459.5 MB, free: 5.359 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.783e-05/0.1054, allocations: 42.67 kB / 459.6 MB, free: 5.309 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.363e-05/0.1055, allocations: 4.844 kB / 459.6 MB, free: 5.305 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00029/0.1058, allocations: 192.2 kB / 459.7 MB, free: 5.078 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/0.1058, allocations: 4.375 kB / 459.8 MB, free: 5.074 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.241e-05/0.1058, allocations: 4.375 kB / 459.8 MB, free: 5.07 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001331/0.1059, allocations: 67.33 kB / 459.8 MB, free: 4.992 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.106, allocations: 0 / 459.8 MB, free: 4.992 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.357e-06/0.106, allocations: 0 / 459.8 MB, free: 4.992 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.106, allocations: 4 kB / 459.8 MB, free: 4.988 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.384e-05/0.1061, allocations: 23.92 kB / 459.8 MB, free: 4.965 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004015/0.1065, allocations: 272.9 kB / 460.1 MB, free: 4.648 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001027/0.1066, allocations: 42.61 kB / 460.2 MB, free: 4.598 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.731e-05/0.1066, allocations: 16.8 kB / 460.2 MB, free: 4.578 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.536e-05/0.1067, allocations: 4 kB / 460.2 MB, free: 4.574 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.674e-05/0.1067, allocations: 38.44 kB / 460.2 MB, free: 4.527 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 1.253e-06/0.1067, allocations: 0 / 460.2 MB, free: 4.527 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001834/0.1069, allocations: 57.58 kB / 460.3 MB, free: 4.465 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.358e-05/0.107, allocations: 81.11 kB / 460.4 MB, free: 4.367 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001504/0.1071, allocations: 141.8 kB / 460.5 MB, free: 4.219 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.417e-05/0.1071, allocations: 25.7 kB / 460.5 MB, free: 4.188 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.329e-05/0.1072, allocations: 96.05 kB / 460.6 MB, free: 4.09 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.359e-05/0.1072, allocations: 19.81 kB / 460.6 MB, free: 4.07 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.317e-05/0.1073, allocations: 13.72 kB / 460.6 MB, free: 4.051 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001142/0.1074, allocations: 318.8 kB / 461 MB, free: 3.73 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.969e-05/0.1074, allocations: 7.984 kB / 461 MB, free: 3.723 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.79e-05/0.1074, allocations: 21.66 kB / 461 MB, free: 3.695 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.594e-05/0.1075, allocations: 24.84 kB / 461 MB, free: 3.668 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1075, allocations: 0 / 461 MB, free: 3.668 MB / 334.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.473e-05/0.1076, allocations: 53.62 kB / 461.1 MB, free: 3.609 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.1076, allocations: 10.03 kB / 461.1 MB, free: 3.602 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.299e-06/0.1076, allocations: 0 / 461.1 MB, free: 3.602 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.1076, allocations: 0 / 461.1 MB, free: 3.602 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.525e-05/0.1077, allocations: 4 kB / 461.1 MB, free: 3.598 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.1077, allocations: 0 / 461.1 MB, free: 3.598 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.725e-05/0.1077, allocations: 0 / 461.1 MB, free: 3.598 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.789e-06/0.1078, allocations: 4 kB / 461.1 MB, free: 3.594 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 8.18e-05/0.1078, allocations: 125.7 kB / 461.2 MB, free: 3.461 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.5e-05/0.1079, allocations: 11.91 kB / 461.2 MB, free: 3.449 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001197/0.108, allocations: 57.58 kB / 461.3 MB, free: 3.379 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.108, allocations: 0 / 461.3 MB, free: 3.379 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.108, allocations: 0 / 461.3 MB, free: 3.379 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.108, allocations: 4 kB / 461.3 MB, free: 3.375 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001884/0.1082, allocations: 173.6 kB / 461.4 MB, free: 3.156 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.1082, allocations: 0 / 461.4 MB, free: 3.156 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.35e-05/0.1083, allocations: 8 kB / 461.4 MB, free: 3.148 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.1083, allocations: 0 / 461.4 MB, free: 3.148 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.864e-06/0.1083, allocations: 4 kB / 461.5 MB, free: 3.145 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1083, allocations: 4 kB / 461.5 MB, free: 3.141 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.1083, allocations: 0 / 461.5 MB, free: 3.141 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001433/0.1085, allocations: 155.7 kB / 461.6 MB, free: 2.973 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.218e-05/0.1085, allocations: 85.03 kB / 461.7 MB, free: 2.871 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.957e-05/0.1085, allocations: 4 kB / 461.7 MB, free: 2.867 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.571e-05/0.1086, allocations: 48 / 461.7 MB, free: 2.867 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.837e-05/0.1086, allocations: 3.984 kB / 461.7 MB, free: 2.863 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/0.1086, allocations: 3.938 kB / 461.7 MB, free: 2.859 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.989e-05/0.1087, allocations: 115.2 kB / 461.8 MB, free: 2.746 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1088, allocations: 0 / 461.8 MB, free: 2.746 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002528/0.109, allocations: 23.94 kB / 461.8 MB, free: 2.723 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.001159/0.1102, allocations: 0.9617 MB / 462.8 MB, free: 1.883 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001072/0.1103, allocations: 19.98 kB / 462.8 MB, free: 1.863 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.1103, allocations: 4 kB / 462.8 MB, free: 1.859 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.559e-05/0.1103, allocations: 4 kB / 462.8 MB, free: 1.855 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003738/0.1107, allocations: 20.11 kB / 462.8 MB, free: 1.836 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001234/0.112, allocations: 1.322 MB / 464.2 MB, free: 448 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002765/0.1122, allocations: 0.6941 MB / 464.9 MB, free: 15.72 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.129e-05/0.1123, allocations: 20.17 kB / 464.9 MB, free: 15.7 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.645e-05/0.1124, allocations: 19.42 kB / 464.9 MB, free: 15.68 MB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1124, allocations: 0 / 464.9 MB, free: 15.68 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02339/0.1358, allocations: 2.476 MB / 467.4 MB, free: 13.26 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.369/7.505, allocations: 14.8 kB / 467.4 MB, free: 13.25 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 & 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)