Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_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-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/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_latest_PowerSystems_Examples_Introductory_Tables",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Introductory.Tables,fileNamePrefix="PowerSystems_latest_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.0009833/0.0009834, allocations: 94.72 kB / 16.3 MB, free: 6.074 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.001024/0.001024, allocations: 184.5 kB / 17.2 MB, free: 5.973 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.266/1.266, allocations: 223.2 MB / 241.1 MB, free: 312 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1794/0.1794, allocations: 38.09 MB / 330.3 MB, free: 8.98 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003105/0.0003107, allocations: 8 kB / 400 MB, free: 34.47 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1086, allocations: 59.17 MB / 459.2 MB, free: 7.375 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Tables): time 0.00182/0.1105, allocations: 1.065 MB / 460.3 MB, free: 6.309 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005624/0.111, allocations: 323.7 kB / 460.6 MB, free: 5.988 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.132e-05/0.1111, allocations: 0 / 460.6 MB, free: 5.988 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000218/0.1113, allocations: 23.84 kB / 460.6 MB, free: 5.965 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001284/0.1115, allocations: 27.91 kB / 460.6 MB, free: 5.938 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002136/0.1117, allocations: 67.23 kB / 460.7 MB, free: 5.875 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001176/0.1118, allocations: 43.88 kB / 460.8 MB, free: 5.832 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.99e-05/0.1119, allocations: 4 kB / 460.8 MB, free: 5.828 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001436/0.112, allocations: 27.86 kB / 460.8 MB, free: 5.801 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.005e-05/0.1121, allocations: 15.92 kB / 460.8 MB, free: 5.785 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.329e-05/0.1121, allocations: 4 kB / 460.8 MB, free: 5.781 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.932e-05/0.1122, allocations: 31.92 kB / 460.8 MB, free: 5.75 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.784e-05/0.1122, allocations: 11.98 kB / 460.9 MB, free: 5.738 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.768e-05/0.1123, allocations: 37.64 kB / 460.9 MB, free: 5.695 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001317/0.1124, allocations: 63.89 kB / 460.9 MB, free: 5.633 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.1124, allocations: 0 / 460.9 MB, free: 5.633 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1124, allocations: 0 / 460.9 MB, free: 5.633 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.095e-06/0.1124, allocations: 4 kB / 461 MB, free: 5.629 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.0004098/0.1128, allocations: 371.4 kB / 461.3 MB, free: 5.219 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.1129, allocations: 8.031 kB / 461.3 MB, free: 5.211 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.425e-05/0.1129, allocations: 38.5 kB / 461.4 MB, free: 5.164 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.683e-05/0.113, allocations: 7.906 kB / 461.4 MB, free: 5.156 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002224/0.1132, allocations: 190.9 kB / 461.6 MB, free: 4.93 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.1132, allocations: 0 / 461.6 MB, free: 4.93 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.542e-05/0.1132, allocations: 7.953 kB / 461.6 MB, free: 4.922 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000112/0.1134, allocations: 59.41 kB / 461.6 MB, free: 4.852 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.131e-06/0.1134, allocations: 4 kB / 461.6 MB, free: 4.848 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.814e-06/0.1134, allocations: 0 / 461.6 MB, free: 4.848 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.1134, allocations: 3.984 kB / 461.6 MB, free: 4.844 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.897e-05/0.1135, allocations: 23.92 kB / 461.7 MB, free: 4.82 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003568/0.1138, allocations: 284.9 kB / 461.9 MB, free: 4.492 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.192e-05/0.1139, allocations: 34.58 kB / 462 MB, free: 4.449 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.136e-05/0.1139, allocations: 0 / 462 MB, free: 4.449 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.958e-05/0.114, allocations: 46.64 kB / 462 MB, free: 4.395 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 7.22e-07/0.114, allocations: 0 / 462 MB, free: 4.395 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001517/0.1141, allocations: 53.59 kB / 462.1 MB, free: 4.336 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.167e-05/0.1142, allocations: 77.11 kB / 462.1 MB, free: 4.242 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001421/0.1143, allocations: 144.9 kB / 462.3 MB, free: 4.094 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.27e-05/0.1144, allocations: 29.7 kB / 462.3 MB, free: 4.059 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.899e-05/0.1144, allocations: 99.97 kB / 462.4 MB, free: 3.957 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.565e-05/0.1144, allocations: 11.84 kB / 462.4 MB, free: 3.945 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.705e-06/0.1145, allocations: 0 / 462.4 MB, free: 3.945 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.1146, allocations: 318.8 kB / 462.7 MB, free: 3.625 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.83e-05/0.1146, allocations: 11.98 kB / 462.7 MB, free: 3.613 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.22e-05/0.1146, allocations: 17.66 kB / 462.8 MB, free: 3.59 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.211e-05/0.1147, allocations: 12.03 kB / 462.8 MB, free: 3.578 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.1147, allocations: 0 / 462.8 MB, free: 3.578 MB / 334.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.202e-05/0.1147, allocations: 53.59 kB / 462.8 MB, free: 3.52 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.1148, allocations: 4 kB / 462.8 MB, free: 3.516 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.1148, allocations: 0 / 462.8 MB, free: 3.516 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.1148, allocations: 3.984 kB / 462.8 MB, free: 3.512 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.284e-05/0.1148, allocations: 4 kB / 462.8 MB, free: 3.508 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.1149, allocations: 7.922 kB / 462.8 MB, free: 3.5 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.431e-05/0.1149, allocations: 4 kB / 462.8 MB, free: 3.496 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-06/0.1149, allocations: 0 / 462.8 MB, free: 3.496 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.422e-05/0.115, allocations: 121.8 kB / 463 MB, free: 3.367 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.746e-05/0.115, allocations: 7.906 kB / 463 MB, free: 3.359 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001228/0.1152, allocations: 61.52 kB / 463 MB, free: 3.285 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.1152, allocations: 4 kB / 463 MB, free: 3.281 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.1152, allocations: 0 / 463 MB, free: 3.281 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.1152, allocations: 0 / 463 MB, free: 3.281 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001879/0.1154, allocations: 173.6 kB / 463.2 MB, free: 3.062 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1154, allocations: 0 / 463.2 MB, free: 3.062 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.547e-05/0.1154, allocations: 7.984 kB / 463.2 MB, free: 3.055 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.1154, allocations: 0 / 463.2 MB, free: 3.055 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.652e-06/0.1154, allocations: 4 kB / 463.2 MB, free: 3.051 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1154, allocations: 0 / 463.2 MB, free: 3.051 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1154, allocations: 0 / 463.2 MB, free: 3.051 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000111/0.1156, allocations: 147.8 kB / 463.4 MB, free: 2.891 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.774e-05/0.1156, allocations: 93.09 kB / 463.5 MB, free: 2.781 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.635e-05/0.1156, allocations: 3.984 kB / 463.5 MB, free: 2.777 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.894e-05/0.1157, allocations: 0 / 463.5 MB, free: 2.777 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.532e-05/0.1157, allocations: 4 kB / 463.5 MB, free: 2.773 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-06/0.1157, allocations: 4 kB / 463.5 MB, free: 2.77 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.311e-05/0.1158, allocations: 115.2 kB / 463.6 MB, free: 2.656 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1158, allocations: 0 / 463.6 MB, free: 2.656 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002381/0.1161, allocations: 16 kB / 463.6 MB, free: 2.641 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001166/0.1172, allocations: 0.9734 MB / 464.6 MB, free: 1.793 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 8.356e-05/0.1173, allocations: 23.98 kB / 464.6 MB, free: 1.77 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1173, allocations: 0 / 464.6 MB, free: 1.77 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.539e-05/0.1174, allocations: 8.094 kB / 464.6 MB, free: 1.762 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000234/0.1176, allocations: 12.08 kB / 464.6 MB, free: 1.75 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007352/0.1184, allocations: 487.2 kB / 465.1 MB, free: 1.227 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002743/0.1186, allocations: 0.6887 MB / 465.8 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.943e-05/0.1187, allocations: 16.16 kB / 465.8 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.043e-05/0.1188, allocations: 23.42 kB / 465.8 MB, free: 484 kB / 334.1 MB Notification: Performance of SimCode: time 3.7e-07/0.1188, allocations: 0 / 465.8 MB, free: 484 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03535/0.1541, allocations: 2.12 MB / 467.9 MB, free: 14.48 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002692/0.1545, allocations: 225.1 kB / 468.2 MB, free: 14.23 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.665/1.819, allocations: 3.375 kB / 468.2 MB, free: 14.23 MB / 350.1 MB (rm -f PowerSystems_latest_PowerSystems.Examples.Introductory.Tables.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Introductory.Tables.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Introductory.Tables.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Introductory.Tables.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Introductory.Tables_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Introductory_Tables_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Introductory_Tables.fmu > PowerSystems_latest_PowerSystems.Examples.Introductory.Tables.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.Introductory.Tables_res.mat does not exist to compare? outputFormat=mat