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.001087/0.001087, allocations: 91.02 kB / 16.31 MB, free: 5.66 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.001274/0.001274, allocations: 176.1 kB / 17.2 MB, free: 5.578 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.602/1.602, allocations: 223.2 MB / 241.2 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.407/0.407, allocations: 38.08 MB / 330.4 MB, free: 14.25 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003501/0.0003501, allocations: 8 kB / 400.2 MB, free: 9.203 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3857/0.3861, allocations: 59.16 MB / 459.3 MB, free: 30.45 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Tables): time 0.001962/0.3881, allocations: 1.063 MB / 460.4 MB, free: 29.7 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006408/0.3888, allocations: 327 kB / 460.7 MB, free: 29.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.325e-05/0.3888, allocations: 1.406 kB / 460.7 MB, free: 29.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002132/0.3891, allocations: 20.97 kB / 460.7 MB, free: 29.47 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001405/0.3892, allocations: 32.66 kB / 460.8 MB, free: 29.45 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002295/0.3895, allocations: 68.52 kB / 460.8 MB, free: 29.42 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001406/0.3896, allocations: 50.44 kB / 460.9 MB, free: 29.39 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.78e-05/0.3897, allocations: 2.844 kB / 460.9 MB, free: 29.39 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001496/0.3898, allocations: 27.53 kB / 460.9 MB, free: 29.38 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.883e-05/0.3899, allocations: 17.86 kB / 460.9 MB, free: 29.38 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.486e-05/0.3899, allocations: 4.656 kB / 460.9 MB, free: 29.38 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000103/0.39, allocations: 42.92 kB / 461 MB, free: 29.36 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.667e-05/0.3901, allocations: 17.7 kB / 461 MB, free: 29.35 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.9e-05/0.3901, allocations: 37.55 kB / 461 MB, free: 29.31 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001661/0.3903, allocations: 66.08 kB / 461.1 MB, free: 29.29 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.005e-06/0.3903, allocations: 5.062 kB / 461.1 MB, free: 29.29 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.3903, allocations: 0 / 461.1 MB, free: 29.29 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.3903, allocations: 0 / 461.1 MB, free: 29.29 MB / 350.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.0004261/0.3908, allocations: 366.4 kB / 461.4 MB, free: 28.91 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.996e-05/0.3908, allocations: 9.125 kB / 461.5 MB, free: 28.91 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.76e-05/0.3909, allocations: 32.95 kB / 461.5 MB, free: 28.87 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.293e-05/0.3909, allocations: 11.78 kB / 461.5 MB, free: 28.86 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002112/0.3911, allocations: 191.7 kB / 461.7 MB, free: 28.65 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.3911, allocations: 0.9688 kB / 461.7 MB, free: 28.65 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.81e-05/0.3912, allocations: 10.94 kB / 461.7 MB, free: 28.64 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001321/0.3913, allocations: 71.66 kB / 461.8 MB, free: 28.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.3913, allocations: 1.125 kB / 461.8 MB, free: 28.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.3913, allocations: 0 / 461.8 MB, free: 28.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.3914, allocations: 1.062 kB / 461.8 MB, free: 28.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.664e-05/0.3914, allocations: 17.72 kB / 461.8 MB, free: 28.57 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003784/0.3918, allocations: 292.1 kB / 462.1 MB, free: 28.27 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.77e-05/0.3919, allocations: 35.06 kB / 462.1 MB, free: 28.25 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.779e-05/0.3919, allocations: 14.19 kB / 462.1 MB, free: 28.23 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.748e-05/0.392, allocations: 1.641 kB / 462.1 MB, free: 28.23 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.098e-05/0.392, allocations: 36.22 kB / 462.2 MB, free: 28.19 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.243e-06/0.392, allocations: 0 / 462.2 MB, free: 28.19 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001788/0.3922, allocations: 58.7 kB / 462.2 MB, free: 28.15 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.788e-05/0.3922, allocations: 78.14 kB / 462.3 MB, free: 28.05 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001597/0.3924, allocations: 144.6 kB / 462.4 MB, free: 27.94 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.181e-05/0.3924, allocations: 28.2 kB / 462.5 MB, free: 27.91 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.308e-05/0.3925, allocations: 91.8 kB / 462.5 MB, free: 27.82 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.779e-05/0.3925, allocations: 14.91 kB / 462.6 MB, free: 27.81 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.816e-06/0.3925, allocations: 0 / 462.6 MB, free: 27.81 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.279e-05/0.3926, allocations: 326 kB / 462.9 MB, free: 27.48 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.749e-05/0.3926, allocations: 5.391 kB / 462.9 MB, free: 27.48 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.316e-05/0.3926, allocations: 24.55 kB / 462.9 MB, free: 27.46 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.586e-05/0.3927, allocations: 5.562 kB / 462.9 MB, free: 27.46 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.3927, allocations: 0 / 462.9 MB, free: 27.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.579e-05/0.3928, allocations: 51.23 kB / 463 MB, free: 27.42 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.3928, allocations: 8.281 kB / 463 MB, free: 27.42 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.3928, allocations: 0 / 463 MB, free: 27.42 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.3928, allocations: 1.25 kB / 463 MB, free: 27.42 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.852e-05/0.3929, allocations: 8.812 kB / 463 MB, free: 27.42 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.3929, allocations: 1 kB / 463 MB, free: 27.42 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.57e-05/0.3929, allocations: 4.75 kB / 463 MB, free: 27.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.3929, allocations: 1.734 kB / 463 MB, free: 27.41 MB / 350.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 6.747e-05/0.393, allocations: 120.3 kB / 463.1 MB, free: 27.29 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.766e-05/0.393, allocations: 2.922 kB / 463.1 MB, free: 27.29 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001276/0.3932, allocations: 61.81 kB / 463.2 MB, free: 27.24 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.3932, allocations: 1.062 kB / 463.2 MB, free: 27.24 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.3932, allocations: 5.375 kB / 463.2 MB, free: 27.23 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.3932, allocations: 4.594 kB / 463.2 MB, free: 27.23 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001717/0.3934, allocations: 181.7 kB / 463.4 MB, free: 27.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.3934, allocations: 4.547 kB / 463.4 MB, free: 27.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.013e-05/0.3934, allocations: 5 kB / 463.4 MB, free: 27.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.3934, allocations: 1.094 kB / 463.4 MB, free: 27.02 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.495e-06/0.3935, allocations: 0.6562 kB / 463.4 MB, free: 27.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.3935, allocations: 5.547 kB / 463.4 MB, free: 27.02 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3935, allocations: 0 / 463.4 MB, free: 27.02 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000112/0.3936, allocations: 146.8 kB / 463.5 MB, free: 26.88 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.778e-05/0.3936, allocations: 90.77 kB / 463.6 MB, free: 26.77 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.77e-05/0.3937, allocations: 0 / 463.6 MB, free: 26.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.417e-05/0.3937, allocations: 1.922 kB / 463.6 MB, free: 26.77 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.923e-05/0.3937, allocations: 6.047 kB / 463.6 MB, free: 26.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-06/0.3938, allocations: 6.297 kB / 463.6 MB, free: 26.77 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.721e-05/0.3938, allocations: 110.6 kB / 463.7 MB, free: 26.68 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3938, allocations: 1.469 kB / 463.7 MB, free: 26.68 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002655/0.3941, allocations: 20.81 kB / 463.8 MB, free: 26.67 MB / 350.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.001127/0.3952, allocations: 0.9662 MB / 464.7 MB, free: 25.91 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 9.437e-05/0.3954, allocations: 17.31 kB / 464.7 MB, free: 25.9 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3954, allocations: 1.062 kB / 464.7 MB, free: 25.9 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.044e-05/0.3954, allocations: 11 kB / 464.7 MB, free: 25.9 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003308/0.3957, allocations: 15.42 kB / 464.8 MB, free: 25.89 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007833/0.3965, allocations: 481.6 kB / 465.2 MB, free: 25.51 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001708/0.3967, allocations: 0.696 MB / 465.9 MB, free: 24.81 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.174e-05/0.3968, allocations: 13.38 kB / 465.9 MB, free: 24.81 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.895e-05/0.3969, allocations: 24.38 kB / 466 MB, free: 24.79 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3969, allocations: 0 / 466 MB, free: 24.79 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01652/0.4134, allocations: 2.132 MB / 468.1 MB, free: 24.52 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002193/0.4137, allocations: 228.5 kB / 468.3 MB, free: 24.28 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.029/2.443, allocations: 7.875 kB / 468.3 MB, free: 24.27 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