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.001529/0.00153, allocations: 175.4 kB / 13.63 MB, free: 1.684 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.764/1.764, allocations: 205.2 MB / 219.4 MB, free: 14.2 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.0008951/0.000895, allocations: 86.7 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1836/0.1836, allocations: 37.97 MB / 353.5 MB, free: 1.75 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.523e-05/3.535e-05, allocations: 0 / 417.8 MB, free: 29.04 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1261, allocations: 56.32 MB / 474.1 MB, free: 4.715 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4812/0.6074, allocations: 94.72 MB / 0.5555 GB, free: 8.344 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002473/0.6077, allocations: 86.25 kB / 0.5556 GB, free: 8.301 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03114/0.6389, allocations: 14.12 MB / 0.5694 GB, free: 12.69 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.6389, allocations: 3.938 kB / 0.5694 GB, free: 12.68 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.771e-05/0.639, allocations: 4 kB / 0.5694 GB, free: 12.68 MB / 378.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.0007306/0.6397, allocations: 498.5 kB / 0.5699 GB, free: 12.16 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.374e-05/0.6398, allocations: 12.03 kB / 0.5699 GB, free: 12.15 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.946e-05/0.6399, allocations: 53.17 kB / 0.5699 GB, free: 12.1 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009419/0.6408, allocations: 115.5 kB / 0.5701 GB, free: 11.99 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004229/0.6412, allocations: 270.3 kB / 0.5703 GB, free: 11.7 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.878e-05/0.6413, allocations: 10.56 kB / 0.5703 GB, free: 11.7 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.815e-05/0.6413, allocations: 17.5 kB / 0.5703 GB, free: 11.68 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005023/0.6418, allocations: 314.4 kB / 0.5706 GB, free: 11.43 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.696e-05/0.6419, allocations: 12 kB / 0.5707 GB, free: 11.42 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.323e-05/0.6419, allocations: 3.562 kB / 0.5707 GB, free: 11.42 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.291e-05/0.642, allocations: 27.16 kB / 0.5707 GB, free: 11.4 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004558/0.6425, allocations: 299.4 kB / 0.571 GB, free: 11.19 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001598/0.6441, allocations: 1.25 MB / 0.5722 GB, free: 10.03 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002548/0.6443, allocations: 162.9 kB / 0.5723 GB, free: 9.891 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001551/0.6445, allocations: 104.2 kB / 0.5724 GB, free: 9.816 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.842e-05/0.6445, allocations: 3.984 kB / 0.5724 GB, free: 9.812 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.284e-05/0.6446, allocations: 37.94 kB / 0.5725 GB, free: 9.77 MB / 378.7 MB Notification: Performance of pre-optimization done (n=17): time 1.693e-06/0.6446, allocations: 4 kB / 0.5725 GB, free: 9.766 MB / 378.7 MB Notification: Performance of matching and sorting (n=18): time 0.0009424/0.6455, allocations: 431.3 kB / 0.5729 GB, free: 9.426 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.922e-05/0.6456, allocations: 81.11 kB / 0.573 GB, free: 9.328 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000162/0.6458, allocations: 168.9 kB / 0.5731 GB, free: 9.172 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.52e-05/0.6458, allocations: 28.7 kB / 0.5732 GB, free: 9.141 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/0.6459, allocations: 155.3 kB / 0.5733 GB, free: 9.004 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.464e-05/0.646, allocations: 60.86 kB / 0.5734 GB, free: 8.953 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.081e-05/0.646, allocations: 7.219 kB / 0.5734 GB, free: 8.949 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.6462, allocations: 325.8 kB / 0.5737 GB, free: 8.629 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001189/0.6463, allocations: 78.22 kB / 0.5738 GB, free: 8.578 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001583/0.6464, allocations: 153.5 kB / 0.5739 GB, free: 8.43 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001598/0.6466, allocations: 95.14 kB / 0.574 GB, free: 8.367 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.052e-06/0.6466, allocations: 4 kB / 0.574 GB, free: 8.363 MB / 378.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005907/0.6472, allocations: 353.9 kB / 0.5743 GB, free: 8.082 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.6472, allocations: 8 kB / 0.5743 GB, free: 8.074 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.6473, allocations: 0 / 0.5743 GB, free: 8.074 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003708/0.6476, allocations: 93.34 kB / 0.5744 GB, free: 7.996 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001792/0.6478, allocations: 43.08 kB / 0.5745 GB, free: 7.957 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002306/0.6501, allocations: 1.954 MB / 0.5764 GB, free: 6.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001417/0.6503, allocations: 19.27 kB / 0.5764 GB, free: 6.074 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.782e-05/0.6503, allocations: 7.5 kB / 0.5764 GB, free: 6.07 MB / 378.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 () * 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 9.734e-05/0.6504, allocations: 119.9 kB / 0.5765 GB, free: 5.953 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.583e-05/0.6505, allocations: 23.77 kB / 0.5765 GB, free: 5.93 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005862/0.6511, allocations: 312.3 kB / 0.5768 GB, free: 5.691 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.6511, allocations: 0 / 0.5768 GB, free: 5.691 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.6511, allocations: 4 kB / 0.5769 GB, free: 5.688 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.6511, allocations: 0 / 0.5769 GB, free: 5.688 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00118/0.6523, allocations: 0.7327 MB / 0.5776 GB, free: 5.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.6523, allocations: 4 kB / 0.5776 GB, free: 5.016 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001132/0.6524, allocations: 27.92 kB / 0.5776 GB, free: 4.988 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002548/0.6527, allocations: 79.16 kB / 0.5777 GB, free: 4.922 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.716e-05/0.6527, allocations: 3.438 kB / 0.5777 GB, free: 4.922 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001896/0.6546, allocations: 1.83 MB / 0.5795 GB, free: 3.152 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.6546, allocations: 0 / 0.5795 GB, free: 3.152 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006009/0.6552, allocations: 434.8 kB / 0.5799 GB, free: 2.75 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.089e-05/0.6553, allocations: 96.91 kB / 0.58 GB, free: 2.637 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.438e-05/0.6554, allocations: 7.516 kB / 0.58 GB, free: 2.633 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001185/0.6555, allocations: 4 kB / 0.58 GB, free: 2.629 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.124e-05/0.6555, allocations: 18.84 kB / 0.58 GB, free: 2.613 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.48e-05/0.6556, allocations: 15.62 kB / 0.58 GB, free: 2.602 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001257/0.6557, allocations: 141.9 kB / 0.5801 GB, free: 2.477 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6557, allocations: 0 / 0.5801 GB, free: 2.477 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000417/0.6561, allocations: 71.25 kB / 0.5802 GB, free: 2.414 MB / 378.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 () * 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.00103/0.6572, allocations: 1.191 MB / 0.5814 GB, free: 1.246 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006413/0.6578, allocations: 364.4 kB / 0.5817 GB, free: 0.9414 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.6578, allocations: 0 / 0.5817 GB, free: 0.9414 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003796/0.6582, allocations: 252.9 kB / 0.582 GB, free: 0.7188 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002675/0.6585, allocations: 34.98 kB / 0.582 GB, free: 0.6914 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008258/0.6593, allocations: 418.1 kB / 0.5824 GB, free: 296 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004211/0.6598, allocations: 0.7734 MB / 0.5832 GB, free: 15.5 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001225/0.6599, allocations: 41.45 kB / 0.5832 GB, free: 15.46 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.802e-05/0.66, allocations: 55.17 kB / 0.5832 GB, free: 15.44 MB / 394.7 MB Notification: Performance of SimCode: time 2.4e-07/0.66, allocations: 0 / 0.5832 GB, free: 15.44 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01687/0.6769, allocations: 4.725 MB / 0.5879 GB, free: 10.76 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001633/0.6771, allocations: 190.6 kB / 0.588 GB, free: 10.53 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.908/2.585, allocations: 0 / 0.588 GB, free: 10.53 MB / 394.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