Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.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: translateModel(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|powerPlant.P_generator|powerPlant.frequency.y|powerPlant.fuel.y|powerPlant.throttling.y",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3") translateModel(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|powerPlant.P_generator|powerPlant.frequency.y|powerPlant.fuel.y|powerPlant.throttling.y",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009444/0.0009444, allocations: 180.5 kB / 16.38 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.314/1.314, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.0007462/0.0007462, allocations: 89.83 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.1637/0.1637, allocations: 38.06 MB / 357.2 MB, free: 1.887 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003732/0.0003732, allocations: 8 kB / 424 MB, free: 37.7 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2775/0.2779, allocations: 56.33 MB / 480.3 MB, free: 9.535 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.145/0.423, allocations: 105.5 MB / 0.5721 GB, free: 12.93 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002725/0.4233, allocations: 91.94 kB / 0.5721 GB, free: 12.84 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07263/0.4959, allocations: 28.37 MB / 0.5999 GB, free: 228 kB / 426.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.496, allocations: 4 kB / 0.5999 GB, free: 224 kB / 426.7 MB Notification: Performance of Transformations before backend: time 7.89e-05/0.4961, allocations: 20 kB / 0.5999 GB, free: 204 kB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.002255/0.4983, allocations: 1.119 MB / 0.601 GB, free: 15.03 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.4984, allocations: 8.031 kB / 0.601 GB, free: 15.02 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001362/0.4997, allocations: 210.6 kB / 0.6012 GB, free: 14.82 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001324/0.5011, allocations: 0.6478 MB / 0.6018 GB, free: 14.13 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.773e-05/0.5012, allocations: 57.23 kB / 0.6019 GB, free: 14.07 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001188/0.5013, allocations: 67.91 kB / 0.6019 GB, free: 14 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001507/0.5028, allocations: 0.8818 MB / 0.6028 GB, free: 13.08 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.264e-05/0.5028, allocations: 0 / 0.6028 GB, free: 13.08 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.356e-05/0.5029, allocations: 31.95 kB / 0.6028 GB, free: 13.05 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.688e-05/0.503, allocations: 41.28 kB / 0.6029 GB, free: 13.01 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001414/0.5044, allocations: 0.7897 MB / 0.6036 GB, free: 12.22 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004811/0.5093, allocations: 3.28 MB / 0.6068 GB, free: 8.812 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001712/0.511, allocations: 0.9881 MB / 0.6078 GB, free: 7.742 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.016e-05/0.5111, allocations: 8.625 kB / 0.6078 GB, free: 7.734 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.443e-05/0.5111, allocations: 35.12 kB / 0.6078 GB, free: 7.691 MB / 442.7 MB Notification: Performance of pre-optimization done (n=59): time 3.697e-06/0.5111, allocations: 0 / 0.6078 GB, free: 7.691 MB / 442.7 MB Notification: Performance of matching and sorting (n=63): time 0.005241/0.5164, allocations: 2.612 MB / 0.6104 GB, free: 4.977 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.918e-05/0.5165, allocations: 115.4 kB / 0.6105 GB, free: 4.84 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007901/0.5173, allocations: 0.515 MB / 0.611 GB, free: 4.316 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.106e-05/0.5173, allocations: 37.7 kB / 0.611 GB, free: 4.273 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002857/0.5176, allocations: 364.2 kB / 0.6114 GB, free: 3.914 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001837/0.5178, allocations: 216.8 kB / 0.6116 GB, free: 3.699 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.353e-05/0.5179, allocations: 16 kB / 0.6116 GB, free: 3.684 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001644/0.518, allocations: 382.8 kB / 0.612 GB, free: 3.301 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000546/0.5186, allocations: 273.8 kB / 0.6122 GB, free: 3.035 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006466/0.5192, allocations: 430.3 kB / 0.6126 GB, free: 2.559 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006146/0.5199, allocations: 326.1 kB / 0.613 GB, free: 2.238 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.5199, allocations: 0 / 0.613 GB, free: 2.238 MB / 442.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001575/0.5215, allocations: 0.8543 MB / 0.6138 GB, free: 1.375 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004575/0.5219, allocations: 1.493 MB / 0.6152 GB, free: 15.77 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.358e-06/0.522, allocations: 4 kB / 0.6153 GB, free: 15.77 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002684/0.5222, allocations: 60.81 kB / 0.6153 GB, free: 15.7 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007484/0.523, allocations: 187.7 kB / 0.6155 GB, free: 15.52 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001656/0.5247, allocations: 1.639 MB / 0.6171 GB, free: 13.74 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005396/0.5252, allocations: 64.02 kB / 0.6172 GB, free: 13.68 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.783e-05/0.5253, allocations: 24 kB / 0.6172 GB, free: 13.65 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/0.5253, allocations: 4 kB / 0.6172 GB, free: 13.65 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001398/0.5267, allocations: 0.736 MB / 0.6179 GB, free: 12.91 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.5267, allocations: 4 kB / 0.6179 GB, free: 12.91 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002089/0.5269, allocations: 65.2 kB / 0.618 GB, free: 12.84 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007074/0.5276, allocations: 179.8 kB / 0.6181 GB, free: 12.66 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001538/0.5292, allocations: 1.631 MB / 0.6197 GB, free: 10.9 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005372/0.5297, allocations: 60.02 kB / 0.6198 GB, free: 10.84 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.663e-05/0.5298, allocations: 24 kB / 0.6198 GB, free: 10.82 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 3 (system.initime,powerPlant.throttleCosts.local_reset,powerPlant.hotwellLevel.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 79 * 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 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0005083/0.5303, allocations: 324.8 kB / 0.6201 GB, free: 10.49 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001314/0.5304, allocations: 83.05 kB / 0.6202 GB, free: 10.41 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001671/0.5321, allocations: 0.788 MB / 0.621 GB, free: 9.605 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.746e-06/0.5321, allocations: 8 kB / 0.621 GB, free: 9.598 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.5322, allocations: 4 kB / 0.621 GB, free: 9.594 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.768e-06/0.5322, allocations: 7.938 kB / 0.621 GB, free: 9.586 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004038/0.5362, allocations: 2.187 MB / 0.6231 GB, free: 7.262 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.446e-06/0.5362, allocations: 4 kB / 0.6231 GB, free: 7.258 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005897/0.5368, allocations: 135.8 kB / 0.6233 GB, free: 7.125 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002036/0.5371, allocations: 61.22 kB / 0.6233 GB, free: 7.062 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.007e-05/0.5371, allocations: 27.92 kB / 0.6233 GB, free: 7.035 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001274/0.5384, allocations: 1.612 MB / 0.6249 GB, free: 5.289 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/0.5384, allocations: 4 kB / 0.6249 GB, free: 5.285 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002309/0.5407, allocations: 1.642 MB / 0.6265 GB, free: 3.387 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003355/0.5411, allocations: 204.2 kB / 0.6267 GB, free: 3.168 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.266e-05/0.5412, allocations: 16 kB / 0.6267 GB, free: 3.152 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005032/0.5417, allocations: 63.95 kB / 0.6268 GB, free: 3.09 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001408/0.5418, allocations: 67.77 kB / 0.6269 GB, free: 3.023 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.517e-05/0.5419, allocations: 31.98 kB / 0.6269 GB, free: 2.992 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0006542/0.5425, allocations: 419 kB / 0.6273 GB, free: 2.59 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5426, allocations: 0 / 0.6273 GB, free: 2.59 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00109/0.5437, allocations: 263.9 kB / 0.6275 GB, free: 2.332 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 7 (powerPlant.evaporator.y,powerPlant.superheater1.y,powerPlant.superheater2.y,powerPlant.transferFunction.x_scaled[1],powerPlant.hotwellLevel.y,powerPlant.throttleDynamics.y,powerPlant.throttleCosts.y) * 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 (63): * Single equations (assignments): 61 * 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 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.000193/0.5439, allocations: 135.8 kB / 0.6277 GB, free: 2.191 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002446/0.5463, allocations: 1.282 MB / 0.6289 GB, free: 0.8828 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.5463, allocations: 4.125 kB / 0.6289 GB, free: 0.8789 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009258/0.5473, allocations: 0.5114 MB / 0.6294 GB, free: 364 kB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007923/0.5481, allocations: 157 kB / 0.6296 GB, free: 204 kB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003205/0.5513, allocations: 1.997 MB / 0.6315 GB, free: 14.09 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007096/0.552, allocations: 1.006 MB / 0.6325 GB, free: 13.05 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0006392/0.5527, allocations: 144.9 kB / 0.6326 GB, free: 12.91 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001907/0.5529, allocations: 51.42 kB / 0.6327 GB, free: 12.86 MB / 474.7 MB Notification: Performance of SimCode: time 6.71e-07/0.5529, allocations: 0 / 0.6327 GB, free: 12.86 MB / 474.7 MB Notification: Performance of Templates: time 0.01503/0.5679, allocations: 7.691 MB / 0.6402 GB, free: 5.18 MB / 474.7 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.sim & ./PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.mat","../files/PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches