Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_PowerWorld_Test_WindFarmHVDCTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_PowerWorld_Test_WindFarmHVDCTest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009843/0.0009842, allocations: 88.59 kB / 16.31 MB, free: 6.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 179.6 kB / 17.21 MB, free: 6.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.555/1.555, allocations: 223.3 MB / 241.2 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.4518/0.4518, allocations: 38.07 MB / 330.4 MB, free: 14.18 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003516/0.0003518, allocations: 8 kB / 400.2 MB, free: 9.145 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3155/0.3159, allocations: 59.16 MB / 459.3 MB, free: 30.13 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest): time 0.004785/0.3207, allocations: 4.281 MB / 463.6 MB, free: 27.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003763/0.3245, allocations: 2.503 MB / 466.1 MB, free: 25.31 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005083/0.3251, allocations: 26.16 kB / 466.1 MB, free: 25.3 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005227/0.3256, allocations: 91.94 kB / 466.2 MB, free: 25.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001069/0.3267, allocations: 301 kB / 466.5 MB, free: 25.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001248/0.328, allocations: 284.7 kB / 466.8 MB, free: 24.95 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000957/0.3289, allocations: 0.6485 MB / 467.4 MB, free: 24.69 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006722/0.3296, allocations: 302.8 kB / 467.7 MB, free: 24.5 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005195/0.3301, allocations: 219.9 kB / 468 MB, free: 24.4 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003751/0.3305, allocations: 227.1 kB / 468.2 MB, free: 24.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.52e-05/0.3306, allocations: 17.44 kB / 468.2 MB, free: 24.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007882/0.3314, allocations: 280.8 kB / 468.5 MB, free: 24.22 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001635/0.3316, allocations: 112.6 kB / 468.6 MB, free: 24.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001/0.3317, allocations: 87.8 kB / 468.7 MB, free: 24.11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008391/0.3325, allocations: 0.5004 MB / 469.2 MB, free: 23.98 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.3325, allocations: 0 / 469.2 MB, free: 23.98 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3325, allocations: 5.094 kB / 469.2 MB, free: 23.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.886e-06/0.3326, allocations: 0 / 469.2 MB, free: 23.98 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001334/0.3339, allocations: 0.7121 MB / 469.9 MB, free: 23.39 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.996e-05/0.3339, allocations: 12.88 kB / 469.9 MB, free: 23.39 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.597e-05/0.3341, allocations: 58.81 kB / 470 MB, free: 23.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001093/0.3352, allocations: 110.6 kB / 470.1 MB, free: 23.32 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006003/0.3358, allocations: 397 kB / 470.4 MB, free: 23.02 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.965e-05/0.3358, allocations: 23.42 kB / 470.5 MB, free: 23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.758e-05/0.3359, allocations: 27.58 kB / 470.5 MB, free: 22.99 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009943/0.3369, allocations: 465.6 kB / 471 MB, free: 22.76 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.3369, allocations: 4 kB / 471 MB, free: 22.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.151e-05/0.3369, allocations: 11.83 kB / 471 MB, free: 22.75 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.487e-05/0.337, allocations: 23.28 kB / 471 MB, free: 22.74 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001131/0.3381, allocations: 0.4985 MB / 471.5 MB, free: 22.61 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002065/0.3402, allocations: 1.785 MB / 473.3 MB, free: 21.24 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00104/0.3413, allocations: 408.2 kB / 473.7 MB, free: 21.09 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003824/0.3417, allocations: 153.6 kB / 473.8 MB, free: 21.03 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.928e-05/0.3417, allocations: 8.453 kB / 473.8 MB, free: 21.03 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006126/0.3424, allocations: 293.6 kB / 474.1 MB, free: 20.86 MB / 350.1 MB Notification: Performance of pre-optimization done (n=30): time 2.014e-06/0.3424, allocations: 0 / 474.1 MB, free: 20.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=30): time 0.00131/0.3437, allocations: 0.5487 MB / 474.7 MB, free: 20.67 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.191e-05/0.3438, allocations: 238.9 kB / 474.9 MB, free: 20.39 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000471/0.3443, allocations: 364 kB / 475.3 MB, free: 20.19 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.995e-05/0.3443, allocations: 38.58 kB / 475.3 MB, free: 20.15 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001499/0.3445, allocations: 202.4 kB / 475.5 MB, free: 19.98 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.85e-05/0.3446, allocations: 103.1 kB / 475.6 MB, free: 19.9 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.125e-05/0.3446, allocations: 5.375 kB / 475.6 MB, free: 19.9 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001046/0.3447, allocations: 352.5 kB / 475.9 MB, free: 19.57 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003624/0.3451, allocations: 151.3 kB / 476.1 MB, free: 19.52 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004603/0.3455, allocations: 289.5 kB / 476.4 MB, free: 19.3 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004262/0.346, allocations: 213.7 kB / 476.6 MB, free: 19.2 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.541e-06/0.346, allocations: 1.375 kB / 476.6 MB, free: 19.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001045/0.3471, allocations: 0.5476 MB / 477.1 MB, free: 18.96 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5e-05/0.3471, allocations: 43.75 kB / 477.2 MB, free: 18.92 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.434e-05/0.3471, allocations: 3.875 kB / 477.2 MB, free: 18.92 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.425e-05/0.3472, allocations: 6.219 kB / 477.2 MB, free: 18.92 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003402/0.3475, allocations: 94.38 kB / 477.3 MB, free: 18.9 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.391e-05/0.3475, allocations: 13.31 kB / 477.3 MB, free: 18.89 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003145/0.3479, allocations: 59.03 kB / 477.3 MB, free: 18.86 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.645e-05/0.3479, allocations: 18.03 kB / 477.4 MB, free: 18.86 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition2,$PRE.windFarm.wind.nextTimeEvent,$whenCondition1,windFarm.wind.nextTimeEvent,$PRE.windFarm.wind.nextTimeEventScaled,windFarm.wind.nextTimeEventScaled,$PRE.windFarm.disturbance.T_start,windFarm.disturbance.T_start,$PRE.windFarm.disturbance.count,windFarm.disturbance.count,system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 1 * 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.000225/0.3482, allocations: 199.9 kB / 477.6 MB, free: 18.69 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.378e-05/0.3482, allocations: 37.62 kB / 477.6 MB, free: 18.67 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001221/0.3484, allocations: 52.05 kB / 477.6 MB, free: 18.63 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.207e-06/0.3484, allocations: 8.031 kB / 477.7 MB, free: 18.62 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.528e-05/0.3484, allocations: 2.656 kB / 477.7 MB, free: 18.62 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/0.3484, allocations: 5.609 kB / 477.7 MB, free: 18.62 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007923/0.3492, allocations: 0.8476 MB / 478.5 MB, free: 17.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.3492, allocations: 1.312 kB / 478.5 MB, free: 17.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002727/0.3495, allocations: 71.02 kB / 478.6 MB, free: 17.8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.3495, allocations: 2.281 kB / 478.6 MB, free: 17.8 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.644e-05/0.3496, allocations: 9.719 kB / 478.6 MB, free: 17.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.921e-06/0.3496, allocations: 6.609 kB / 478.6 MB, free: 17.8 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.3496, allocations: 2.719 kB / 478.6 MB, free: 17.8 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009442/0.3505, allocations: 480 kB / 479.1 MB, free: 17.51 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.388e-05/0.3506, allocations: 124.5 kB / 479.2 MB, free: 17.38 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.067e-05/0.3507, allocations: 14.19 kB / 479.2 MB, free: 17.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002022/0.3509, allocations: 38.5 kB / 479.2 MB, free: 17.36 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.035e-05/0.351, allocations: 34.61 kB / 479.3 MB, free: 17.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.107e-05/0.3511, allocations: 18.42 kB / 479.3 MB, free: 17.33 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002563/0.3513, allocations: 250.3 kB / 479.5 MB, free: 17.17 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3513, allocations: 0 / 479.5 MB, free: 17.17 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005101/0.3518, allocations: 90.11 kB / 479.6 MB, free: 17.15 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 (system.initime,$whenCondition2,$whenCondition1,windFarm.wind.nextTimeEvent,windFarm.wind.nextTimeEventScaled,windFarm.disturbance.T_start,windFarm.disturbance.count) * Number of discrete states: 3 (windFarm.wind.nextTimeEventScaled,windFarm.disturbance.count,windFarm.wind.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.00197/0.3538, allocations: 1.368 MB / 481 MB, free: 16.21 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009169/0.3548, allocations: 440.3 kB / 481.4 MB, free: 15.98 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.3548, allocations: 0 / 481.4 MB, free: 15.98 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004546/0.3552, allocations: 200 kB / 481.6 MB, free: 15.89 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004937/0.3557, allocations: 69.95 kB / 481.7 MB, free: 15.85 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003992/0.3597, allocations: 2.375 MB / 484.1 MB, free: 14.27 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002677/0.36, allocations: 0.811 MB / 484.9 MB, free: 13.51 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002719/0.3603, allocations: 91.03 kB / 485 MB, free: 13.47 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000179/0.3605, allocations: 119.6 kB / 485.1 MB, free: 13.38 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3605, allocations: 1.125 kB / 485.1 MB, free: 13.38 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02033/0.3808, allocations: 7.77 MB / 492.9 MB, free: 5.984 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001846/0.3811, allocations: 242.1 kB / 493.1 MB, free: 5.742 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.03/2.411, allocations: 0 / 493.1 MB, free: 5.742 MB / 350.1 MB (rm -f PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_PowerWorld_Test_WindFarmHVDCTest_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_PowerWorld_Test_WindFarmHVDCTest.fmu > PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest_res.mat does not exist to compare? outputFormat=mat