Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmLoadTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.PowerWorld.Test.WindFarmLoadTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_PowerWorld_Test_WindFarmLoadTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.PowerWorld.Test.WindFarmLoadTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_PowerWorld_Test_WindFarmLoadTest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001714/0.001713, allocations: 178.6 kB / 8.348 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.965/1.965, allocations: 194.4 MB / 203.1 MB, free: 13.02 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001728/0.001728, allocations: 118.6 kB / 248.1 MB, free: 28 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1673/0.1673, allocations: 37.92 MB / 330.9 MB, free: 2.648 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.02e-05/2.021e-05, allocations: 8 kB / 390.5 MB, free: 6.988 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2952/0.2952, allocations: 53.22 MB / 443.7 MB, free: 17.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1296/0.4249, allocations: 92.69 MB / 0.5238 GB, free: 4.852 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.001959/0.4269, allocations: 0.5738 MB / 0.5244 GB, free: 4.277 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$windFarm$wind.getDerTableValue. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$windFarm$wind.getTableValue. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$windFarm$wind.getTableTimeTmin. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$windFarm$wind.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.3256/0.7525, allocations: 20.89 MB / 0.5448 GB, free: 84 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.963e-06/0.7525, allocations: 0 / 0.5448 GB, free: 84 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.053e-05/0.7526, allocations: 4 kB / 0.5448 GB, free: 84 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001326/0.7539, allocations: 0.799 MB / 0.5456 GB, free: 83.14 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/0.754, allocations: 8.031 kB / 0.5456 GB, free: 83.13 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001084/0.7551, allocations: 155.3 kB / 0.5457 GB, free: 82.98 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005593/0.7556, allocations: 402.7 kB / 0.5461 GB, free: 82.54 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.37e-05/0.7557, allocations: 12 kB / 0.5461 GB, free: 82.53 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.933e-05/0.7558, allocations: 23.98 kB / 0.5461 GB, free: 82.51 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006468/0.7564, allocations: 0.4895 MB / 0.5466 GB, free: 82.02 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006563/0.7571, allocations: 481.1 kB / 0.5471 GB, free: 81.52 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.091e-05/0.7571, allocations: 4 kB / 0.5471 GB, free: 81.52 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.913e-05/0.7572, allocations: 4 kB / 0.5471 GB, free: 81.51 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001131/0.7573, allocations: 36.69 kB / 0.5471 GB, free: 81.48 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003349/0.7607, allocations: 1.936 MB / 0.549 GB, free: 79.47 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001461/0.7622, allocations: 0.9614 MB / 0.5499 GB, free: 78.38 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003311/0.7625, allocations: 166.2 kB / 0.5501 GB, free: 78.21 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.542e-05/0.7626, allocations: 8.281 kB / 0.5501 GB, free: 78.21 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005117/0.7631, allocations: 257.1 kB / 0.5504 GB, free: 77.94 MB / 378.7 MB Notification: Performance of pre-optimization done (n=36): time 3.116e-06/0.7631, allocations: 3.938 kB / 0.5504 GB, free: 77.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=37): time 0.001208/0.7643, allocations: 0.6916 MB / 0.551 GB, free: 77.23 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.674e-05/0.7644, allocations: 106.8 kB / 0.5511 GB, free: 77.1 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002838/0.7647, allocations: 334.2 kB / 0.5515 GB, free: 76.77 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.465e-05/0.7647, allocations: 33.7 kB / 0.5515 GB, free: 76.73 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.983e-05/0.7648, allocations: 224.2 kB / 0.5517 GB, free: 76.51 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.107e-05/0.7649, allocations: 118.3 kB / 0.5518 GB, free: 76.39 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.371e-05/0.7649, allocations: 8.031 kB / 0.5518 GB, free: 76.38 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.4e-05/0.765, allocations: 346.8 kB / 0.5522 GB, free: 76.04 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002045/0.7652, allocations: 161.1 kB / 0.5523 GB, free: 75.88 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002449/0.7655, allocations: 296.8 kB / 0.5526 GB, free: 75.53 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002483/0.7657, allocations: 203.4 kB / 0.5528 GB, free: 75.33 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.7657, allocations: 4 kB / 0.5528 GB, free: 75.32 MB / 378.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0007274/0.7665, allocations: 0.5558 MB / 0.5533 GB, free: 74.76 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.23e-05/0.7665, allocations: 67.39 kB / 0.5534 GB, free: 74.68 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.7665, allocations: 4 kB / 0.5534 GB, free: 74.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001422/0.7667, allocations: 33.33 kB / 0.5534 GB, free: 74.64 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003732/0.7671, allocations: 111.8 kB / 0.5535 GB, free: 74.53 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000716/0.7678, allocations: 1.264 MB / 0.5548 GB, free: 73.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002914/0.7681, allocations: 27.97 kB / 0.5548 GB, free: 73.13 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.81e-05/0.7682, allocations: 27.98 kB / 0.5548 GB, free: 73.1 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 2 * 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 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001145/0.7683, allocations: 132.8 kB / 0.555 GB, free: 72.96 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005324/0.7688, allocations: 421.7 kB / 0.5554 GB, free: 72.54 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.959e-05/0.7689, allocations: 39.53 kB / 0.5554 GB, free: 72.5 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000678/0.7696, allocations: 0.4902 MB / 0.5559 GB, free: 72 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.7696, allocations: 7.938 kB / 0.5559 GB, free: 71.99 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.7696, allocations: 0 / 0.5559 GB, free: 71.99 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.7696, allocations: 8.016 kB / 0.5559 GB, free: 71.98 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001154/0.7708, allocations: 1.071 MB / 0.5569 GB, free: 70.87 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.7708, allocations: 0 / 0.5569 GB, free: 70.87 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002977/0.7711, allocations: 87.95 kB / 0.557 GB, free: 70.78 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.389e-05/0.7711, allocations: 20.84 kB / 0.557 GB, free: 70.76 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.122e-05/0.7712, allocations: 15.94 kB / 0.557 GB, free: 70.74 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005497/0.7717, allocations: 1.264 MB / 0.5583 GB, free: 69.37 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.7718, allocations: 4.031 kB / 0.5583 GB, free: 69.36 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005966/0.7724, allocations: 0.5967 MB / 0.5589 GB, free: 68.72 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001386/0.7725, allocations: 164.6 kB / 0.559 GB, free: 68.54 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.985e-05/0.7726, allocations: 12 kB / 0.559 GB, free: 68.53 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002628/0.7728, allocations: 27.97 kB / 0.5591 GB, free: 68.5 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.406e-05/0.7729, allocations: 43.94 kB / 0.5591 GB, free: 68.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.003e-05/0.773, allocations: 19.95 kB / 0.5591 GB, free: 68.44 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001897/0.7732, allocations: 244.6 kB / 0.5594 GB, free: 68.2 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.7732, allocations: 0 / 0.5594 GB, free: 68.2 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000497/0.7737, allocations: 127.9 kB / 0.5595 GB, free: 68.07 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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.nextTimeEvent,windFarm.disturbance.count,windFarm.wind.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 39 * 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: 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 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.001594/0.7753, allocations: 1.66 MB / 0.5611 GB, free: 66.39 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007595/0.7761, allocations: 0.6467 MB / 0.5617 GB, free: 65.71 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.7761, allocations: 0 / 0.5617 GB, free: 65.71 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003054/0.7764, allocations: 306 kB / 0.562 GB, free: 65.4 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003731/0.7768, allocations: 49.83 kB / 0.5621 GB, free: 65.35 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00125/0.778, allocations: 0.7333 MB / 0.5628 GB, free: 64.57 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002747/0.7783, allocations: 0.8681 MB / 0.5636 GB, free: 63.67 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002499/0.7786, allocations: 95.09 kB / 0.5637 GB, free: 63.58 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002262/0.7788, allocations: 151.4 kB / 0.5639 GB, free: 63.44 MB / 378.7 MB Notification: Performance of SimCode: time 8.01e-07/0.7788, allocations: 0 / 0.5639 GB, free: 63.44 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03125/0.8101, allocations: 8.934 MB / 0.5726 GB, free: 54.49 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001759/0.8103, allocations: 170.6 kB / 0.5728 GB, free: 54.3 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.26/3.07, allocations: 4 kB / 0.5728 GB, free: 54.3 MB / 378.7 MB (rm -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmLoadTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmLoadTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmLoadTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmLoadTest.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_PowerWorld_Test_WindFarmLoadTest_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_PowerWorld_Test_WindFarmLoadTest.fmu > PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmLoadTest.pipe 2>&1)