Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest.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.FixedCurrentTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Test_FixedCurrentTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.FixedCurrentTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Test_FixedCurrentTest",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.001105/0.001106, allocations: 175.2 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.655/1.655, 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.000812/0.0008121, allocations: 82.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.1713/0.1713, allocations: 37.98 MB / 353.5 MB, free: 1.742 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.1e-05/3.104e-05, allocations: 4 kB / 417.8 MB, free: 29.04 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.1375, allocations: 56.32 MB / 474.1 MB, free: 4.711 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4859/0.6234, allocations: 94.6 MB / 0.5554 GB, free: 8.48 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002618/0.6238, allocations: 85.81 kB / 0.5555 GB, free: 8.438 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03123/0.655, allocations: 14.23 MB / 0.5694 GB, free: 12.69 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.6551, allocations: 0 / 0.5694 GB, free: 12.69 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.025e-05/0.6551, allocations: 8 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.0007473/0.6558, allocations: 493.4 kB / 0.5699 GB, free: 12.17 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.432e-05/0.6559, allocations: 12.03 kB / 0.5699 GB, free: 12.16 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.274e-05/0.656, allocations: 54.11 kB / 0.5699 GB, free: 12.11 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009049/0.6569, allocations: 99.56 kB / 0.57 GB, free: 12.01 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004392/0.6574, allocations: 265.8 kB / 0.5703 GB, free: 11.73 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.6574, allocations: 11.88 kB / 0.5703 GB, free: 11.72 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.122e-05/0.6574, allocations: 15.81 kB / 0.5703 GB, free: 11.71 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004684/0.6579, allocations: 310.3 kB / 0.5706 GB, free: 11.46 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/0.6579, allocations: 4 kB / 0.5706 GB, free: 11.46 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.309e-05/0.658, allocations: 7.688 kB / 0.5706 GB, free: 11.46 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.575e-05/0.6581, allocations: 27.97 kB / 0.5706 GB, free: 11.43 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004018/0.6585, allocations: 276 kB / 0.5709 GB, free: 11.24 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001776/0.6602, allocations: 1.276 MB / 0.5722 GB, free: 10.05 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004358/0.6607, allocations: 234.8 kB / 0.5724 GB, free: 9.863 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001396/0.6609, allocations: 101.2 kB / 0.5725 GB, free: 9.789 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.474e-05/0.6609, allocations: 0 / 0.5725 GB, free: 9.789 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.03e-05/0.6609, allocations: 41.75 kB / 0.5725 GB, free: 9.742 MB / 378.7 MB Notification: Performance of pre-optimization done (n=16): time 1.403e-06/0.6609, allocations: 0 / 0.5725 GB, free: 9.742 MB / 378.7 MB Notification: Performance of matching and sorting (n=17): time 0.000727/0.6617, allocations: 358.2 kB / 0.5729 GB, free: 9.465 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.952e-05/0.6617, allocations: 81.11 kB / 0.5729 GB, free: 9.367 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001776/0.6619, allocations: 182.3 kB / 0.5731 GB, free: 9.203 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.971e-05/0.6619, allocations: 29.64 kB / 0.5731 GB, free: 9.168 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.968e-05/0.662, allocations: 154.3 kB / 0.5733 GB, free: 9.031 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.196e-05/0.6621, allocations: 73.36 kB / 0.5734 GB, free: 8.969 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.082e-05/0.6621, allocations: 3.938 kB / 0.5734 GB, free: 8.969 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001243/0.6622, allocations: 322.8 kB / 0.5737 GB, free: 8.648 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001167/0.6624, allocations: 82.31 kB / 0.5737 GB, free: 8.594 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001696/0.6625, allocations: 154.2 kB / 0.5739 GB, free: 8.449 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001533/0.6627, allocations: 106.9 kB / 0.574 GB, free: 8.379 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.6627, allocations: 0 / 0.574 GB, free: 8.379 MB / 378.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003861/0.6631, allocations: 290.8 kB / 0.5743 GB, free: 8.152 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.404e-05/0.6631, allocations: 11.98 kB / 0.5743 GB, free: 8.141 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.6632, allocations: 0 / 0.5743 GB, free: 8.141 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.107e-05/0.6632, allocations: 4 kB / 0.5743 GB, free: 8.137 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002478/0.6634, allocations: 55.16 kB / 0.5743 GB, free: 8.086 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.216e-05/0.6635, allocations: 4 kB / 0.5743 GB, free: 8.082 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001448/0.6636, allocations: 19.64 kB / 0.5744 GB, free: 8.066 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.229e-05/0.6636, allocations: 15.98 kB / 0.5744 GB, free: 8.051 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 (27): * Single equations (assignments): 27 * 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 8.652e-05/0.6637, allocations: 119.4 kB / 0.5745 GB, free: 7.934 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.203e-05/0.6638, allocations: 19.77 kB / 0.5745 GB, free: 7.914 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003698/0.6642, allocations: 225.2 kB / 0.5747 GB, free: 7.75 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.6642, allocations: 4 kB / 0.5747 GB, free: 7.746 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.6642, allocations: 0 / 0.5747 GB, free: 7.746 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.6642, allocations: 0 / 0.5747 GB, free: 7.746 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001304/0.6655, allocations: 0.9522 MB / 0.5757 GB, free: 6.859 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/0.6655, allocations: 7.938 kB / 0.5757 GB, free: 6.852 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001392/0.6657, allocations: 43.47 kB / 0.5757 GB, free: 6.812 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.956e-06/0.6657, allocations: 4 kB / 0.5757 GB, free: 6.809 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.775e-05/0.6657, allocations: 8.5 kB / 0.5757 GB, free: 6.801 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.727e-06/0.6657, allocations: 15.89 kB / 0.5757 GB, free: 6.785 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.6657, allocations: 4 kB / 0.5757 GB, free: 6.781 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005397/0.6663, allocations: 0.5872 MB / 0.5763 GB, free: 6.105 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.609e-05/0.6664, allocations: 92.92 kB / 0.5764 GB, free: 5.996 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.701e-05/0.6664, allocations: 19.42 kB / 0.5764 GB, free: 5.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001534/0.6666, allocations: 11.19 kB / 0.5764 GB, free: 5.973 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.609e-05/0.6666, allocations: 27.42 kB / 0.5765 GB, free: 5.949 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.548e-05/0.6666, allocations: 8 kB / 0.5765 GB, free: 5.941 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001235/0.6668, allocations: 147.5 kB / 0.5766 GB, free: 5.816 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.6668, allocations: 0 / 0.5766 GB, free: 5.816 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003737/0.6672, allocations: 66.38 kB / 0.5767 GB, free: 5.758 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (18): * Single equations (assignments): 17 * 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.001229/0.6684, allocations: 2.241 MB / 0.5789 GB, free: 3.453 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003301/0.6687, allocations: 215.6 kB / 0.5791 GB, free: 3.301 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.6688, allocations: 7.938 kB / 0.5791 GB, free: 3.293 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001342/0.6689, allocations: 97.2 kB / 0.5792 GB, free: 3.219 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003584/0.6693, allocations: 34.16 kB / 0.5792 GB, free: 3.191 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001006/0.6703, allocations: 0.4932 MB / 0.5797 GB, free: 2.676 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003898/0.6707, allocations: 0.7686 MB / 0.5804 GB, free: 1.891 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001496/0.6708, allocations: 61.42 kB / 0.5805 GB, free: 1.832 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.97e-05/0.6709, allocations: 60.23 kB / 0.5805 GB, free: 1.812 MB / 378.7 MB Notification: Performance of SimCode: time 5.61e-07/0.6709, allocations: 0 / 0.5805 GB, free: 1.812 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01604/0.687, allocations: 3.714 MB / 0.5842 GB, free: 14.14 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002023/0.6873, allocations: 167.2 kB / 0.5843 GB, free: 13.91 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.756/2.443, allocations: 0 / 0.5843 GB, free: 13.91 MB / 394.7 MB (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Generic_Test_FixedCurrentTest_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Generic_Test_FixedCurrentTest.fmu > PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest_res.mat does not exist to compare? outputFormat=mat