Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/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 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_PowerSystems_Examples_PowerWorld_Test_WindFarmHVDCTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest,fileNamePrefix="PowerSystems_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.001064/0.001064, allocations: 110.7 kB / 16.51 MB, free: 6.715 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.001082/0.001082, allocations: 186.5 kB / 17.42 MB, free: 6.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.345/1.345, allocations: 205.1 MB / 223.3 MB, free: 12.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1698/0.1698, allocations: 37.98 MB / 308.6 MB, free: 6.23 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 68.45 kB / 374.7 MB, free: 3.988 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2349/0.2362, allocations: 55.23 MB / 430 MB, free: 19.76 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest): time 0.0044/0.2407, allocations: 4.893 MB / 434.9 MB, free: 14.85 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0027/0.2434, allocations: 2.638 MB / 437.5 MB, free: 12.2 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001917/0.2436, allocations: 23.88 kB / 437.5 MB, free: 12.17 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007895/0.2444, allocations: 324.4 kB / 437.8 MB, free: 11.86 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004866/0.2449, allocations: 314.9 kB / 438.1 MB, free: 11.55 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005463/0.2454, allocations: 327.3 kB / 438.5 MB, free: 11.23 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004286/0.2459, allocations: 0.7832 MB / 439.2 MB, free: 10.44 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002795/0.2462, allocations: 192.7 kB / 439.4 MB, free: 10.26 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003481/0.2465, allocations: 223 kB / 439.6 MB, free: 10.04 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002165/0.2468, allocations: 239.1 kB / 439.9 MB, free: 9.805 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.157e-05/0.2468, allocations: 20 kB / 439.9 MB, free: 9.785 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006348/0.2474, allocations: 0.6469 MB / 440.5 MB, free: 9.137 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.356e-05/0.2475, allocations: 115.6 kB / 440.7 MB, free: 9.023 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001269/0.2477, allocations: 179 kB / 440.8 MB, free: 8.848 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005443/0.2482, allocations: 0.7166 MB / 441.5 MB, free: 8.129 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.2482, allocations: 0 / 441.5 MB, free: 8.129 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2482, allocations: 4 kB / 441.6 MB, free: 8.125 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.2483, allocations: 0 / 441.6 MB, free: 8.125 MB / 318.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.001016/0.2493, allocations: 0.7668 MB / 442.3 MB, free: 7.305 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.276e-05/0.2493, allocations: 12.03 kB / 442.3 MB, free: 7.293 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.214e-05/0.2494, allocations: 62.73 kB / 442.4 MB, free: 7.223 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009653/0.2503, allocations: 116.3 kB / 442.5 MB, free: 7.109 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004209/0.2508, allocations: 407.7 kB / 442.9 MB, free: 6.672 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.939e-05/0.2508, allocations: 16.94 kB / 442.9 MB, free: 6.656 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.536e-05/0.2509, allocations: 35.92 kB / 443 MB, free: 6.621 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006788/0.2515, allocations: 453.2 kB / 443.4 MB, free: 6.145 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.2516, allocations: 0 / 443.4 MB, free: 6.145 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.179e-05/0.2516, allocations: 8 kB / 443.4 MB, free: 6.137 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.477e-05/0.2516, allocations: 24.42 kB / 443.4 MB, free: 6.113 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008103/0.2525, allocations: 489.2 kB / 443.9 MB, free: 5.633 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001448/0.2539, allocations: 1.783 MB / 445.7 MB, free: 3.742 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008506/0.2548, allocations: 385.1 kB / 446.1 MB, free: 3.348 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003029/0.2551, allocations: 145.6 kB / 446.2 MB, free: 3.199 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.489e-05/0.2551, allocations: 7.984 kB / 446.2 MB, free: 3.191 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004377/0.2556, allocations: 277.2 kB / 446.5 MB, free: 2.887 MB / 318.1 MB Notification: Performance of pre-optimization done (n=30): time 1.593e-06/0.2556, allocations: 0 / 446.5 MB, free: 2.887 MB / 318.1 MB Notification: Performance of matching and sorting (n=30): time 0.001136/0.2567, allocations: 0.5103 MB / 447 MB, free: 2.371 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.658e-05/0.2568, allocations: 247.2 kB / 447.2 MB, free: 2.074 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002827/0.2571, allocations: 361.8 kB / 447.6 MB, free: 1.715 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.685e-05/0.2571, allocations: 37.7 kB / 447.6 MB, free: 1.672 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.94e-05/0.2572, allocations: 208.3 kB / 447.8 MB, free: 1.465 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.315e-05/0.2573, allocations: 98.64 kB / 447.9 MB, free: 1.367 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.755e-05/0.2574, allocations: 69.61 kB / 448 MB, free: 1.293 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.283e-05/0.2574, allocations: 350.8 kB / 448.3 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003127/0.2578, allocations: 144.3 kB / 448.5 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003398/0.2581, allocations: 285.4 kB / 448.8 MB, free: 468 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006736/0.2588, allocations: 461.7 kB / 449.2 MB, free: 15.94 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.2588, allocations: 4 kB / 449.2 MB, free: 15.94 MB / 334.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000962/0.2598, allocations: 0.5157 MB / 449.7 MB, free: 15.41 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.672e-05/0.2598, allocations: 33.7 kB / 449.8 MB, free: 15.37 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.2598, allocations: 4 kB / 449.8 MB, free: 15.37 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.2599, allocations: 8 kB / 449.8 MB, free: 15.36 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003218/0.2602, allocations: 95.81 kB / 449.9 MB, free: 15.27 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.497e-06/0.2602, allocations: 4 kB / 449.9 MB, free: 15.26 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002647/0.2605, allocations: 59.84 kB / 449.9 MB, free: 15.2 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.979e-05/0.2605, allocations: 16 kB / 449.9 MB, free: 15.19 MB / 334.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 ($PRE.windFarm.wind.nextTimeEvent,$whenCondition2,windFarm.disturbance.count,$PRE.windFarm.disturbance.count,windFarm.disturbance.T_start,$PRE.windFarm.disturbance.T_start,windFarm.wind.nextTimeEventScaled,$PRE.windFarm.wind.nextTimeEventScaled,windFarm.wind.nextTimeEvent,$whenCondition1,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001804/0.2607, allocations: 197.6 kB / 450.1 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.339e-05/0.2608, allocations: 35.56 kB / 450.2 MB, free: 14.95 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.836e-05/0.2609, allocations: 51.27 kB / 450.2 MB, free: 14.89 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.2609, allocations: 8 kB / 450.2 MB, free: 14.88 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/0.2609, allocations: 0 / 450.2 MB, free: 14.88 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/0.2609, allocations: 7.984 kB / 450.2 MB, free: 14.88 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006843/0.2616, allocations: 0.8583 MB / 451.1 MB, free: 13.95 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.185e-06/0.2616, allocations: 0 / 451.1 MB, free: 13.95 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002436/0.2619, allocations: 59.89 kB / 451.2 MB, free: 13.89 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.2619, allocations: 4 kB / 451.2 MB, free: 13.88 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.325e-05/0.2619, allocations: 8.125 kB / 451.2 MB, free: 13.88 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.123e-06/0.2619, allocations: 15.98 kB / 451.2 MB, free: 13.86 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.2619, allocations: 4 kB / 451.2 MB, free: 13.86 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008422/0.2628, allocations: 462.8 kB / 451.6 MB, free: 13.37 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.46e-05/0.2628, allocations: 112.7 kB / 451.7 MB, free: 13.24 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.026e-05/0.2629, allocations: 16 kB / 451.8 MB, free: 13.22 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002093/0.2631, allocations: 23.97 kB / 451.8 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.533e-05/0.2632, allocations: 35.89 kB / 451.8 MB, free: 13.16 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.716e-05/0.2632, allocations: 16 kB / 451.8 MB, free: 13.15 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002275/0.2635, allocations: 251.2 kB / 452.1 MB, free: 12.91 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2635, allocations: 0 / 452.1 MB, free: 12.91 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003816/0.2639, allocations: 91.84 kB / 452.2 MB, free: 12.82 MB / 334.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002003/0.2659, allocations: 1.347 MB / 453.5 MB, free: 11.48 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009113/0.2668, allocations: 419.2 kB / 453.9 MB, free: 11.06 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.2668, allocations: 0 / 453.9 MB, free: 11.06 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004264/0.2673, allocations: 188.9 kB / 454.1 MB, free: 10.88 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004262/0.2677, allocations: 77.98 kB / 454.2 MB, free: 10.8 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005283/0.273, allocations: 3.856 MB / 458 MB, free: 6.711 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003306/0.2733, allocations: 0.8189 MB / 458.9 MB, free: 5.863 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002386/0.2736, allocations: 83.22 kB / 458.9 MB, free: 5.785 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001853/0.2738, allocations: 127.4 kB / 459.1 MB, free: 5.66 MB / 334.1 MB Notification: Performance of SimCode: time 8.11e-07/0.2738, allocations: 0 / 459.1 MB, free: 5.66 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01968/0.2935, allocations: 8.044 MB / 467.1 MB, free: 13.58 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001623/0.2937, allocations: 248.4 kB / 467.4 MB, free: 13.32 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.888/2.181, allocations: 4 kB / 467.4 MB, free: 13.32 MB / 350.1 MB (rm -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_PowerWorld_Test_WindFarmHVDCTest_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_PowerWorld_Test_WindFarmHVDCTest.fmu > PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe 2>&1)