Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.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.AdmittanceTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Test_AdmittanceTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.AdmittanceTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Test_AdmittanceTest",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.0009196/0.0009196, allocations: 181.1 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.18/1.18, 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.0007723/0.0007723, allocations: 91.86 kB / 270.9 MB, free: 8.375 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1577/0.1577, allocations: 38.07 MB / 357.2 MB, free: 1.879 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002603/0.0002603, allocations: 15.98 kB / 424.1 MB, free: 37.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2269/0.2272, allocations: 56.32 MB / 480.4 MB, free: 9.547 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1136/0.3408, allocations: 94.01 MB / 0.561 GB, free: 8.398 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002707/0.3412, allocations: 87.95 kB / 0.561 GB, free: 8.312 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03017/0.3714, allocations: 13.22 MB / 0.5739 GB, free: 10.92 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3714, allocations: 0 / 0.5739 GB, free: 10.92 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.26e-05/0.3714, allocations: 4 kB / 0.574 GB, free: 10.92 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.0006103/0.372, allocations: 0.5066 MB / 0.5744 GB, free: 10.36 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.3721, allocations: 8.031 kB / 0.5745 GB, free: 10.36 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.143e-05/0.3721, allocations: 58.53 kB / 0.5745 GB, free: 10.29 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007537/0.3729, allocations: 99.56 kB / 0.5746 GB, free: 10.19 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003363/0.3733, allocations: 263.1 kB / 0.5749 GB, free: 9.891 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.666e-05/0.3733, allocations: 16 kB / 0.5749 GB, free: 9.875 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.549e-05/0.3733, allocations: 16 kB / 0.5749 GB, free: 9.859 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004168/0.3737, allocations: 311.7 kB / 0.5752 GB, free: 9.531 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.3738, allocations: 0 / 0.5752 GB, free: 9.531 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.573e-05/0.3738, allocations: 12 kB / 0.5752 GB, free: 9.52 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.523e-05/0.3739, allocations: 23.97 kB / 0.5752 GB, free: 9.496 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003776/0.3743, allocations: 279.7 kB / 0.5755 GB, free: 9.223 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001538/0.3758, allocations: 1.285 MB / 0.5767 GB, free: 7.836 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003336/0.3762, allocations: 234.2 kB / 0.577 GB, free: 7.57 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.857e-05/0.3762, allocations: 4.062 kB / 0.577 GB, free: 7.566 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.735e-05/0.3762, allocations: 38.5 kB / 0.577 GB, free: 7.52 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.313e-06/0.3762, allocations: 0 / 0.577 GB, free: 7.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005172/0.3767, allocations: 260.9 kB / 0.5773 GB, free: 7.258 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.714e-05/0.3768, allocations: 85.23 kB / 0.5773 GB, free: 7.156 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001486/0.377, allocations: 181.5 kB / 0.5775 GB, free: 6.969 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.247e-05/0.377, allocations: 25.7 kB / 0.5775 GB, free: 6.938 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.339e-05/0.3771, allocations: 171.7 kB / 0.5777 GB, free: 6.766 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.388e-05/0.3771, allocations: 47.36 kB / 0.5777 GB, free: 6.719 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.452e-06/0.3771, allocations: 3.938 kB / 0.5777 GB, free: 6.715 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.3773, allocations: 326.8 kB / 0.5781 GB, free: 6.387 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.606e-05/0.3773, allocations: 43.97 kB / 0.5781 GB, free: 6.344 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001237/0.3775, allocations: 140.8 kB / 0.5782 GB, free: 6.16 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.939e-05/0.3776, allocations: 72.02 kB / 0.5783 GB, free: 6.09 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.3776, allocations: 3.953 kB / 0.5783 GB, free: 6.086 MB / 410.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002895/0.3779, allocations: 221.1 kB / 0.5785 GB, free: 5.863 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.3779, allocations: 7.938 kB / 0.5785 GB, free: 5.855 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.3779, allocations: 4 kB / 0.5785 GB, free: 5.852 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.981e-05/0.3779, allocations: 8 kB / 0.5785 GB, free: 5.844 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001512/0.3781, allocations: 44.3 kB / 0.5786 GB, free: 5.801 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.3781, allocations: 12 kB / 0.5786 GB, free: 5.789 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.9e-05/0.3782, allocations: 11.98 kB / 0.5786 GB, free: 5.777 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.126e-05/0.3782, allocations: 8 kB / 0.5786 GB, free: 5.77 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (25): * Single equations (assignments): 25 * 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 0.000119/0.3784, allocations: 157.7 kB / 0.5788 GB, free: 5.605 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.866e-05/0.3784, allocations: 19.77 kB / 0.5788 GB, free: 5.586 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002428/0.3787, allocations: 146.9 kB / 0.5789 GB, free: 5.441 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.616e-06/0.3787, allocations: 4 kB / 0.5789 GB, free: 5.438 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.3787, allocations: 4 kB / 0.5789 GB, free: 5.434 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.3787, allocations: 3.938 kB / 0.5789 GB, free: 5.43 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007714/0.3795, allocations: 0.6611 MB / 0.5796 GB, free: 4.672 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/0.3795, allocations: 4 kB / 0.5796 GB, free: 4.668 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.818e-05/0.3796, allocations: 27.92 kB / 0.5796 GB, free: 4.641 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.069e-06/0.3796, allocations: 4 kB / 0.5796 GB, free: 4.637 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.563e-05/0.3796, allocations: 8 kB / 0.5796 GB, free: 4.629 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.818e-05/0.3796, allocations: 16.38 kB / 0.5796 GB, free: 4.613 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.558e-06/0.3797, allocations: 11.98 kB / 0.5796 GB, free: 4.602 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000391/0.38, allocations: 494.2 kB / 0.5801 GB, free: 3.977 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.866e-05/0.3801, allocations: 96.91 kB / 0.5802 GB, free: 3.863 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.879e-05/0.3802, allocations: 11.94 kB / 0.5802 GB, free: 3.852 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001158/0.3803, allocations: 4 kB / 0.5802 GB, free: 3.848 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.825e-05/0.3803, allocations: 19.94 kB / 0.5802 GB, free: 3.828 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.199e-05/0.3803, allocations: 12 kB / 0.5803 GB, free: 3.816 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001121/0.3805, allocations: 148.1 kB / 0.5804 GB, free: 3.672 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3805, allocations: 0 / 0.5804 GB, free: 3.672 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003349/0.3808, allocations: 52 kB / 0.5804 GB, free: 3.621 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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 (15): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009022/0.3817, allocations: 1.991 MB / 0.5824 GB, free: 1.508 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002058/0.3819, allocations: 139.6 kB / 0.5825 GB, free: 1.371 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3819, allocations: 0 / 0.5825 GB, free: 1.371 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.263e-05/0.382, allocations: 61.22 kB / 0.5826 GB, free: 1.312 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000286/0.3823, allocations: 47.22 kB / 0.5826 GB, free: 1.27 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002233/0.3846, allocations: 3.358 MB / 0.5859 GB, free: 13.74 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003023/0.3849, allocations: 0.7637 MB / 0.5866 GB, free: 12.95 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001295/0.385, allocations: 45.53 kB / 0.5867 GB, free: 12.9 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.933e-05/0.3851, allocations: 55.42 kB / 0.5867 GB, free: 12.85 MB / 426.7 MB Notification: Performance of SimCode: time 9.92e-07/0.3851, allocations: 4 kB / 0.5867 GB, free: 12.85 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01326/0.3984, allocations: 3.117 MB / 0.5898 GB, free: 9.777 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002007/0.3986, allocations: 177.4 kB / 0.59 GB, free: 9.543 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.471/1.869, allocations: 0 / 0.59 GB, free: 9.543 MB / 426.7 MB (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Generic_Test_AdmittanceTest_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Generic_Test_AdmittanceTest.fmu > PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest_res.mat does not exist to compare? outputFormat=mat