Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.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.AC1ph_DC.Elementary.LoadAC,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_LoadAC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_LoadAC",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.001418/0.001418, allocations: 175 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.565/1.565, allocations: 205.2 MB / 219.4 MB, free: 14.26 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.00107/0.00107, allocations: 82.66 kB / 267.5 MB, free: 14.09 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1657/0.1657, allocations: 37.97 MB / 353.5 MB, free: 1.746 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.151e-05/3.154e-05, allocations: 7.984 kB / 417.8 MB, free: 29.02 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1102, allocations: 56.32 MB / 474.1 MB, free: 4.699 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3966/0.5069, allocations: 96.29 MB / 0.5571 GB, free: 6.242 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002084/0.5072, allocations: 91.31 kB / 0.5572 GB, free: 6.199 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01965/0.5268, allocations: 7.68 MB / 0.5647 GB, free: 15.59 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.5269, allocations: 0 / 0.5647 GB, free: 15.59 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.28e-05/0.5269, allocations: 11.94 kB / 0.5647 GB, free: 15.58 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.000941/0.5279, allocations: 0.5973 MB / 0.5652 GB, free: 14.96 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/0.5279, allocations: 8.031 kB / 0.5653 GB, free: 14.95 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.879e-05/0.528, allocations: 60.7 kB / 0.5653 GB, free: 14.9 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.804e-05/0.5281, allocations: 39.48 kB / 0.5653 GB, free: 14.86 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001718/0.5298, allocations: 0.7263 MB / 0.5661 GB, free: 14.2 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.164e-05/0.5299, allocations: 19.81 kB / 0.5661 GB, free: 14.19 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.02e-05/0.5299, allocations: 26.06 kB / 0.5661 GB, free: 14.17 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005226/0.5304, allocations: 351.2 kB / 0.5664 GB, free: 13.88 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.5305, allocations: 0 / 0.5664 GB, free: 13.88 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.888e-05/0.5305, allocations: 15.12 kB / 0.5665 GB, free: 13.88 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.206e-05/0.5305, allocations: 8 kB / 0.5665 GB, free: 13.87 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004001/0.5309, allocations: 259.3 kB / 0.5667 GB, free: 13.68 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001651/0.5326, allocations: 1.441 MB / 0.5681 GB, free: 12.31 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002362/0.5328, allocations: 155.5 kB / 0.5683 GB, free: 12.18 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001211/0.533, allocations: 75.25 kB / 0.5683 GB, free: 12.12 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.734e-05/0.533, allocations: 11.97 kB / 0.5683 GB, free: 12.11 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.475e-05/0.533, allocations: 42.45 kB / 0.5684 GB, free: 12.06 MB / 378.7 MB Notification: Performance of pre-optimization done (n=15): time 1.313e-06/0.5331, allocations: 0 / 0.5684 GB, free: 12.06 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.00104/0.5341, allocations: 0.6073 MB / 0.569 GB, free: 11.47 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.153e-05/0.5342, allocations: 84.17 kB / 0.5691 GB, free: 11.38 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002688/0.5345, allocations: 261.3 kB / 0.5693 GB, free: 11.16 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.038e-05/0.5345, allocations: 33.73 kB / 0.5693 GB, free: 11.12 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001236/0.5346, allocations: 210.6 kB / 0.5695 GB, free: 10.95 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.279e-05/0.5347, allocations: 56.31 kB / 0.5696 GB, free: 10.9 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.999e-06/0.5347, allocations: 6.688 kB / 0.5696 GB, free: 10.9 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.5348, allocations: 336.2 kB / 0.5699 GB, free: 10.57 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001013/0.5349, allocations: 64.59 kB / 0.57 GB, free: 10.53 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001682/0.5351, allocations: 172 kB / 0.5701 GB, free: 10.34 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001437/0.5352, allocations: 89.64 kB / 0.5702 GB, free: 10.27 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.5353, allocations: 0 / 0.5702 GB, free: 10.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004033/0.5357, allocations: 286.2 kB / 0.5705 GB, free: 10.04 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.5357, allocations: 4 kB / 0.5705 GB, free: 10.03 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.5357, allocations: 7.953 kB / 0.5705 GB, free: 10.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.5357, allocations: 8 kB / 0.5705 GB, free: 10.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002477/0.536, allocations: 59.78 kB / 0.5706 GB, free: 9.961 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.066e-05/0.536, allocations: 4.438 kB / 0.5706 GB, free: 9.957 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001649/0.5362, allocations: 19.73 kB / 0.5706 GB, free: 9.941 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.798e-05/0.5362, allocations: 8 kB / 0.5706 GB, free: 9.934 MB / 378.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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.563e-05/0.5363, allocations: 124 kB / 0.5707 GB, free: 9.812 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.935e-05/0.5364, allocations: 27.62 kB / 0.5708 GB, free: 9.785 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003788/0.5367, allocations: 235.9 kB / 0.571 GB, free: 9.605 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.5368, allocations: 7.938 kB / 0.571 GB, free: 9.598 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.5368, allocations: 0 / 0.571 GB, free: 9.598 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.755e-06/0.5368, allocations: 11.94 kB / 0.571 GB, free: 9.586 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007333/0.5375, allocations: 0.617 MB / 0.5716 GB, free: 9.012 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.5375, allocations: 3.938 kB / 0.5716 GB, free: 9.008 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001906/0.5377, allocations: 35.48 kB / 0.5716 GB, free: 8.977 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.661e-06/0.5378, allocations: 4 kB / 0.5716 GB, free: 8.973 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.555e-05/0.5378, allocations: 3.953 kB / 0.5716 GB, free: 8.969 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.5378, allocations: 4 kB / 0.5717 GB, free: 8.965 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.5378, allocations: 0 / 0.5717 GB, free: 8.965 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004788/0.5383, allocations: 448.5 kB / 0.5721 GB, free: 8.57 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.596e-05/0.5384, allocations: 103.1 kB / 0.5722 GB, free: 8.453 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.757e-05/0.5384, allocations: 6.859 kB / 0.5722 GB, free: 8.449 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001517/0.5386, allocations: 11.81 kB / 0.5722 GB, free: 8.441 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.874e-05/0.5386, allocations: 12.05 kB / 0.5722 GB, free: 8.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-05/0.5386, allocations: 4 kB / 0.5722 GB, free: 8.426 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001685/0.5388, allocations: 209.8 kB / 0.5724 GB, free: 8.258 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5388, allocations: 0 / 0.5724 GB, free: 8.258 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003157/0.5391, allocations: 66.88 kB / 0.5725 GB, free: 8.199 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (zLoadAC.psi) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 19 * 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.0008091/0.5399, allocations: 1.129 MB / 0.5736 GB, free: 7.113 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002937/0.5402, allocations: 181.3 kB / 0.5738 GB, free: 6.977 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.5403, allocations: 192 / 0.5738 GB, free: 6.977 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001233/0.5404, allocations: 94.72 kB / 0.5738 GB, free: 6.906 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003835/0.5408, allocations: 62.25 kB / 0.5739 GB, free: 6.859 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001089/0.5419, allocations: 0.5442 MB / 0.5744 GB, free: 6.324 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004158/0.5423, allocations: 0.8189 MB / 0.5752 GB, free: 5.484 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001847/0.5425, allocations: 54.94 kB / 0.5753 GB, free: 5.43 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001568/0.5427, allocations: 109.2 kB / 0.5754 GB, free: 5.395 MB / 378.7 MB Notification: Performance of SimCode: time 2.7e-07/0.5427, allocations: 3.938 kB / 0.5754 GB, free: 5.391 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1341/0.6768, allocations: 5.589 MB / 0.5808 GB, free: 15.84 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002557/0.6771, allocations: 153.1 kB / 0.581 GB, free: 15.62 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.236/2.914, allocations: 0 / 0.581 GB, free: 15.62 MB / 394.7 MB (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_LoadAC_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_LoadAC.fmu > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC_res.mat does not exist to compare? outputFormat=mat