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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001332/0.001332, allocations: 179.3 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.255/1.255, allocations: 205.4 MB / 222.5 MB, free: 9.129 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008456/0.0008457, allocations: 97.39 kB / 270.9 MB, free: 8.379 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.159/0.159, allocations: 38.06 MB / 357.2 MB, free: 1.891 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003216/0.0003216, allocations: 8 kB / 424.1 MB, free: 37.61 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2492/0.2495, allocations: 56.32 MB / 480.4 MB, free: 9.555 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1228/0.3724, allocations: 87.18 MB / 0.5543 GB, free: 15.25 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.001668/0.3741, allocations: 0.8393 MB / 0.5551 GB, free: 14.41 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006082/0.3802, allocations: 2.431 MB / 0.5575 GB, free: 11.98 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3802, allocations: 0 / 0.5575 GB, free: 11.98 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.879e-06/0.3803, allocations: 4 kB / 0.5575 GB, free: 11.97 MB / 394.7 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.0003886/0.3807, allocations: 379.1 kB / 0.5578 GB, free: 11.55 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.3807, allocations: 8.031 kB / 0.5578 GB, free: 11.55 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.037e-05/0.3808, allocations: 42.48 kB / 0.5579 GB, free: 11.5 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.221e-05/0.3808, allocations: 7.906 kB / 0.5579 GB, free: 11.49 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002354/0.381, allocations: 190.9 kB / 0.5581 GB, free: 11.26 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.047e-06/0.381, allocations: 0 / 0.5581 GB, free: 11.26 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.189e-05/0.3811, allocations: 4 kB / 0.5581 GB, free: 11.26 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001241/0.3812, allocations: 63.41 kB / 0.5581 GB, free: 11.18 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.3812, allocations: 0 / 0.5581 GB, free: 11.18 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-06/0.3812, allocations: 0 / 0.5581 GB, free: 11.18 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.3812, allocations: 0 / 0.5581 GB, free: 11.18 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.293e-05/0.3813, allocations: 23.92 kB / 0.5582 GB, free: 11.16 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003436/0.3816, allocations: 276.9 kB / 0.5584 GB, free: 10.84 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.087e-05/0.3817, allocations: 42.62 kB / 0.5585 GB, free: 10.79 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.103e-05/0.3818, allocations: 4 kB / 0.5585 GB, free: 10.79 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.242e-05/0.3818, allocations: 34.5 kB / 0.5585 GB, free: 10.74 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.173e-06/0.3818, allocations: 0 / 0.5585 GB, free: 10.74 MB / 394.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001526/0.382, allocations: 57.67 kB / 0.5586 GB, free: 10.68 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.909e-05/0.382, allocations: 81.06 kB / 0.5586 GB, free: 10.58 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001421/0.3822, allocations: 129 kB / 0.5588 GB, free: 10.45 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.393e-05/0.3822, allocations: 37.64 kB / 0.5588 GB, free: 10.41 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.473e-05/0.3822, allocations: 92.08 kB / 0.5589 GB, free: 10.31 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.77e-05/0.3823, allocations: 15.81 kB / 0.5589 GB, free: 10.3 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.264e-06/0.3823, allocations: 0 / 0.5589 GB, free: 10.3 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.3824, allocations: 314.8 kB / 0.5592 GB, free: 9.98 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.58e-05/0.3824, allocations: 8 kB / 0.5592 GB, free: 9.973 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.267e-05/0.3825, allocations: 21.64 kB / 0.5592 GB, free: 9.945 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.367e-05/0.3825, allocations: 12.03 kB / 0.5592 GB, free: 9.934 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.3825, allocations: 4 kB / 0.5592 GB, free: 9.93 MB / 394.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.982e-05/0.3826, allocations: 45.69 kB / 0.5593 GB, free: 9.879 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.3826, allocations: 6.969 kB / 0.5593 GB, free: 9.875 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.3826, allocations: 0 / 0.5593 GB, free: 9.875 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.3826, allocations: 4 kB / 0.5593 GB, free: 9.871 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.834e-05/0.3827, allocations: 4 kB / 0.5593 GB, free: 9.867 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.3827, allocations: 3.984 kB / 0.5593 GB, free: 9.863 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.773e-05/0.3827, allocations: 7.859 kB / 0.5593 GB, free: 9.855 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-06/0.3827, allocations: 0 / 0.5593 GB, free: 9.855 MB / 394.7 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 9.178e-05/0.3828, allocations: 125.8 kB / 0.5594 GB, free: 9.723 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.512e-05/0.3829, allocations: 336 / 0.5594 GB, free: 9.723 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001244/0.383, allocations: 73.45 kB / 0.5595 GB, free: 9.637 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.383, allocations: 3.984 kB / 0.5595 GB, free: 9.633 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.383, allocations: 0 / 0.5595 GB, free: 9.633 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.383, allocations: 0 / 0.5595 GB, free: 9.633 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001724/0.3832, allocations: 177.5 kB / 0.5597 GB, free: 9.41 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3832, allocations: 0 / 0.5597 GB, free: 9.41 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.581e-05/0.3832, allocations: 4 kB / 0.5597 GB, free: 9.406 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.3833, allocations: 0 / 0.5597 GB, free: 9.406 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-06/0.3833, allocations: 8 kB / 0.5597 GB, free: 9.398 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.3833, allocations: 3.984 kB / 0.5597 GB, free: 9.395 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3833, allocations: 0 / 0.5597 GB, free: 9.395 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001203/0.3834, allocations: 147.4 kB / 0.5598 GB, free: 9.234 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.682e-05/0.3835, allocations: 85.02 kB / 0.5599 GB, free: 9.133 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.66e-05/0.3835, allocations: 4 kB / 0.5599 GB, free: 9.129 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.783e-05/0.3835, allocations: 0 / 0.5599 GB, free: 9.129 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.312e-05/0.3836, allocations: 3.984 kB / 0.5599 GB, free: 9.125 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.048e-06/0.3836, allocations: 4 kB / 0.5599 GB, free: 9.121 MB / 394.7 MB Notification: Performance of sorting global known variables: time 9.149e-05/0.3837, allocations: 116.6 kB / 0.56 GB, free: 9.008 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3837, allocations: 0 / 0.56 GB, free: 9.008 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000227/0.3839, allocations: 23.92 kB / 0.5601 GB, free: 8.984 MB / 394.7 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.001076/0.385, allocations: 0.9793 MB / 0.561 GB, free: 8.039 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 8.089e-05/0.3851, allocations: 19.98 kB / 0.561 GB, free: 8.02 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3851, allocations: 7.938 kB / 0.561 GB, free: 8.012 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 1.737e-05/0.3851, allocations: 12 kB / 0.561 GB, free: 8 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001776/0.3853, allocations: 7.984 kB / 0.5611 GB, free: 7.992 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000693/0.386, allocations: 488.9 kB / 0.5615 GB, free: 7.461 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002417/0.3862, allocations: 0.6887 MB / 0.5622 GB, free: 6.746 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.237e-05/0.3863, allocations: 12.17 kB / 0.5622 GB, free: 6.734 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.626e-05/0.3864, allocations: 23.42 kB / 0.5622 GB, free: 6.711 MB / 394.7 MB Notification: Performance of SimCode: time 2.565e-06/0.3864, allocations: 0 / 0.5622 GB, free: 6.711 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01412/0.4005, allocations: 2.137 MB / 0.5643 GB, free: 4.594 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000194/0.4007, allocations: 207.9 kB / 0.5645 GB, free: 4.355 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.564/1.965, allocations: 3.938 kB / 0.5645 GB, free: 4.352 MB / 394.7 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) 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