Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.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.Generic.Test.FixedLoadTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Test_FixedLoadTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.FixedLoadTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Test_FixedLoadTest",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.001127/0.001127, allocations: 181.7 kB / 16.39 MB, free: 5.762 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.183/1.183, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.0007718/0.0007718, allocations: 100.3 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1587/0.1587, allocations: 38.06 MB / 357.2 MB, free: 1.883 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002714/0.0002715, allocations: 12 kB / 424.1 MB, free: 37.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2209/0.2212, allocations: 56.32 MB / 480.4 MB, free: 9.551 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1149/0.3361, allocations: 94.83 MB / 0.5618 GB, free: 7.578 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002229/0.3364, allocations: 83.95 kB / 0.5618 GB, free: 7.496 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03303/0.3694, allocations: 14.18 MB / 0.5757 GB, free: 9.141 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3695, allocations: 0 / 0.5757 GB, free: 9.141 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.416e-05/0.3695, allocations: 4 kB / 0.5757 GB, free: 9.137 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0007113/0.3702, allocations: 0.5105 MB / 0.5762 GB, free: 8.578 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.3703, allocations: 8.031 kB / 0.5762 GB, free: 8.57 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.804e-05/0.3704, allocations: 58.55 kB / 0.5763 GB, free: 8.504 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009405/0.3713, allocations: 119.5 kB / 0.5764 GB, free: 8.387 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004044/0.3717, allocations: 278.4 kB / 0.5766 GB, free: 8.074 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/0.3718, allocations: 8 kB / 0.5766 GB, free: 8.066 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.666e-05/0.3718, allocations: 16 kB / 0.5767 GB, free: 8.051 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004526/0.3723, allocations: 319.1 kB / 0.577 GB, free: 7.719 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.3723, allocations: 3.938 kB / 0.577 GB, free: 7.715 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.239e-05/0.3723, allocations: 8 kB / 0.577 GB, free: 7.707 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.889e-05/0.3724, allocations: 27.97 kB / 0.577 GB, free: 7.68 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004105/0.3728, allocations: 295.7 kB / 0.5773 GB, free: 7.391 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001412/0.3742, allocations: 1.26 MB / 0.5785 GB, free: 6.043 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002356/0.3745, allocations: 161 kB / 0.5787 GB, free: 5.867 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.858e-05/0.3745, allocations: 0 / 0.5787 GB, free: 5.867 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.504e-05/0.3746, allocations: 42.62 kB / 0.5787 GB, free: 5.816 MB / 410.7 MB Notification: Performance of pre-optimization done (n=17): time 1.042e-06/0.3746, allocations: 0 / 0.5787 GB, free: 5.816 MB / 410.7 MB Notification: Performance of matching and sorting (n=18): time 0.001386/0.376, allocations: 0.6623 MB / 0.5794 GB, free: 5.129 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.266e-05/0.376, allocations: 85.05 kB / 0.5794 GB, free: 5.027 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001451/0.3762, allocations: 177.4 kB / 0.5796 GB, free: 4.844 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.779e-05/0.3762, allocations: 25.7 kB / 0.5796 GB, free: 4.812 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.453e-05/0.3763, allocations: 155.9 kB / 0.5798 GB, free: 4.656 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.74e-05/0.3763, allocations: 59.11 kB / 0.5798 GB, free: 4.598 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.05e-05/0.3763, allocations: 4 kB / 0.5798 GB, free: 4.594 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.194e-05/0.3764, allocations: 331 kB / 0.5802 GB, free: 4.262 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001104/0.3766, allocations: 79.94 kB / 0.5802 GB, free: 4.184 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001444/0.3767, allocations: 140.5 kB / 0.5804 GB, free: 4.016 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001456/0.3769, allocations: 107.9 kB / 0.5805 GB, free: 3.91 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.3769, allocations: 0 / 0.5805 GB, free: 3.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005713/0.3774, allocations: 345.9 kB / 0.5808 GB, free: 3.562 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.3775, allocations: 8 kB / 0.5808 GB, free: 3.555 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.3775, allocations: 0 / 0.5808 GB, free: 3.555 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003458/0.3778, allocations: 92.77 kB / 0.5809 GB, free: 3.461 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001668/0.378, allocations: 43.92 kB / 0.5809 GB, free: 3.418 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002077/0.3801, allocations: 1.984 MB / 0.5829 GB, free: 1.305 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001353/0.3802, allocations: 15.95 kB / 0.5829 GB, free: 1.289 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.94e-05/0.3803, allocations: 12 kB / 0.5829 GB, free: 1.277 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 20 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001383/0.3804, allocations: 153.8 kB / 0.583 GB, free: 1.117 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.11e-05/0.3805, allocations: 19.94 kB / 0.5831 GB, free: 1.098 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005768/0.381, allocations: 328 kB / 0.5834 GB, free: 0.7656 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.3811, allocations: 7.938 kB / 0.5834 GB, free: 0.7578 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.3811, allocations: 0 / 0.5834 GB, free: 0.7578 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.3811, allocations: 7.984 kB / 0.5834 GB, free: 0.75 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001102/0.3822, allocations: 0.7388 MB / 0.5841 GB, free: 15.95 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.3822, allocations: 4 kB / 0.5841 GB, free: 15.94 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001099/0.3823, allocations: 23.98 kB / 0.5841 GB, free: 15.92 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002528/0.3826, allocations: 72.78 kB / 0.5842 GB, free: 15.84 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.699e-05/0.3826, allocations: 8 kB / 0.5842 GB, free: 15.84 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001774/0.3844, allocations: 1.857 MB / 0.586 GB, free: 13.84 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.3844, allocations: 8.094 kB / 0.586 GB, free: 13.84 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005601/0.385, allocations: 435.6 kB / 0.5865 GB, free: 13.36 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.618e-05/0.385, allocations: 92.91 kB / 0.5865 GB, free: 13.25 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.555e-05/0.3851, allocations: 11.95 kB / 0.5866 GB, free: 13.24 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001222/0.3852, allocations: 8 kB / 0.5866 GB, free: 13.23 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.518e-05/0.3852, allocations: 15.97 kB / 0.5866 GB, free: 13.22 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.494e-05/0.3853, allocations: 8 kB / 0.5866 GB, free: 13.21 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001098/0.3854, allocations: 144.1 kB / 0.5867 GB, free: 13.07 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.222e-06/0.3854, allocations: 4 kB / 0.5867 GB, free: 13.07 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004134/0.3858, allocations: 75.94 kB / 0.5868 GB, free: 12.99 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.000897/0.3867, allocations: 1.183 MB / 0.588 GB, free: 11.76 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006033/0.3873, allocations: 369.8 kB / 0.5883 GB, free: 11.39 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3873, allocations: 3.938 kB / 0.5883 GB, free: 11.39 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003643/0.3877, allocations: 254.4 kB / 0.5886 GB, free: 11.12 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002476/0.388, allocations: 40.09 kB / 0.5886 GB, free: 11.08 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002444/0.3904, allocations: 2.792 MB / 0.5913 GB, free: 8.184 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003245/0.3908, allocations: 0.7716 MB / 0.5921 GB, free: 7.387 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001193/0.3909, allocations: 41.69 kB / 0.5921 GB, free: 7.344 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.084e-05/0.391, allocations: 59.42 kB / 0.5922 GB, free: 7.285 MB / 426.7 MB Notification: Performance of SimCode: time 2.6e-07/0.391, allocations: 0 / 0.5922 GB, free: 7.285 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01626/0.4072, allocations: 4.731 MB / 0.5968 GB, free: 2.605 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002322/0.4075, allocations: 216.6 kB / 0.597 GB, free: 2.359 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.623/2.03, allocations: 0 / 0.597 GB, free: 2.359 MB / 426.7 MB (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Generic_Test_FixedLoadTest_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Generic_Test_FixedLoadTest.fmu > PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest_res.mat does not exist to compare? outputFormat=mat