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.001046/0.001046, allocations: 180 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.233/1.233, allocations: 194.5 MB / 211.6 MB, free: 3.039 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.001615/0.001615, allocations: 111.2 kB / 256.9 MB, free: 4.375 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1771/0.1771, allocations: 38.01 MB / 340.1 MB, free: 1.348 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000337/0.000337, allocations: 8 kB / 403.9 MB, free: 68.7 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08393/0.08428, allocations: 53.23 MB / 457.1 MB, free: 15.46 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2729/0.3573, allocations: 93.45 MB / 0.5377 GB, free: 2.27 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.001544/0.3589, allocations: 0.8651 MB / 0.5385 GB, free: 1.801 MB / 346.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.04935/0.4082, allocations: 21.11 MB / 0.5591 GB, free: 212 kB / 362.7 MB Notification: Performance of FrontEnd: time 2.675e-06/0.4083, allocations: 0 / 0.5591 GB, free: 212 kB / 362.7 MB Notification: Performance of Transformations before backend: time 3.777e-05/0.4083, allocations: 11.94 kB / 0.5591 GB, free: 200 kB / 362.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.001715/0.41, allocations: 0.8423 MB / 0.5599 GB, free: 15.32 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.4101, allocations: 12.02 kB / 0.56 GB, free: 15.31 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001511/0.4102, allocations: 74.94 kB / 0.56 GB, free: 15.25 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001133/0.4114, allocations: 147.3 kB / 0.5602 GB, free: 15.1 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007086/0.4121, allocations: 423 kB / 0.5606 GB, free: 14.71 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.438e-05/0.4122, allocations: 26.08 kB / 0.5606 GB, free: 14.69 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.695e-05/0.4122, allocations: 26.56 kB / 0.5606 GB, free: 14.67 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009278/0.4132, allocations: 0.5694 MB / 0.5612 GB, free: 14.22 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.681e-05/0.4132, allocations: 3.984 kB / 0.5612 GB, free: 14.22 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.226e-05/0.4133, allocations: 15.44 kB / 0.5612 GB, free: 14.21 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.002e-05/0.4133, allocations: 32.5 kB / 0.5612 GB, free: 14.18 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00115/0.4145, allocations: 0.6805 MB / 0.5619 GB, free: 13.67 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002685/0.4172, allocations: 1.997 MB / 0.5638 GB, free: 11.97 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001503/0.4187, allocations: 1.054 MB / 0.5649 GB, free: 10.95 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.563e-05/0.4188, allocations: 4.281 kB / 0.5649 GB, free: 10.95 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006082/0.4194, allocations: 312.1 kB / 0.5652 GB, free: 10.69 MB / 378.7 MB Notification: Performance of pre-optimization done (n=36): time 2.307e-05/0.4194, allocations: 0 / 0.5652 GB, free: 10.69 MB / 378.7 MB Notification: Performance of matching and sorting (n=37): time 0.002306/0.4217, allocations: 1.117 MB / 0.5663 GB, free: 9.77 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.094e-05/0.4218, allocations: 118.8 kB / 0.5664 GB, free: 9.629 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003925/0.4222, allocations: 347.4 kB / 0.5667 GB, free: 9.348 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.596e-05/0.4223, allocations: 37.02 kB / 0.5667 GB, free: 9.312 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001563/0.4224, allocations: 227.3 kB / 0.567 GB, free: 9.137 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001064/0.4226, allocations: 122.3 kB / 0.5671 GB, free: 9.031 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.526e-05/0.4226, allocations: 10.25 kB / 0.5671 GB, free: 9.027 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.4227, allocations: 354.7 kB / 0.5674 GB, free: 8.688 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004404/0.4232, allocations: 219.7 kB / 0.5676 GB, free: 8.539 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005493/0.4237, allocations: 347.5 kB / 0.568 GB, free: 8.219 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005176/0.4243, allocations: 316.5 kB / 0.5683 GB, free: 7.984 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.4243, allocations: 3.938 kB / 0.5683 GB, free: 7.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001276/0.4256, allocations: 0.7562 MB / 0.569 GB, free: 7.367 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.916e-05/0.4256, allocations: 63.36 kB / 0.5691 GB, free: 7.293 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.4256, allocations: 4.469 kB / 0.5691 GB, free: 7.289 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001465/0.4258, allocations: 36.34 kB / 0.5691 GB, free: 7.254 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003779/0.4262, allocations: 106.7 kB / 0.5692 GB, free: 7.156 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001053/0.4273, allocations: 1.333 MB / 0.5705 GB, free: 5.742 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003711/0.4276, allocations: 42.91 kB / 0.5706 GB, free: 5.707 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.199e-05/0.4277, allocations: 31.3 kB / 0.5706 GB, free: 5.68 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 () * Number of clocked 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.0002281/0.4279, allocations: 206.7 kB / 0.5708 GB, free: 5.508 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.172e-05/0.428, allocations: 39.48 kB / 0.5708 GB, free: 5.469 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00117/0.4292, allocations: 0.6246 MB / 0.5714 GB, free: 4.992 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/0.4292, allocations: 4 kB / 0.5714 GB, free: 4.988 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/0.4292, allocations: 0 / 0.5714 GB, free: 4.988 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/0.4292, allocations: 0 / 0.5714 GB, free: 4.988 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001906/0.4311, allocations: 1.24 MB / 0.5726 GB, free: 3.961 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.4311, allocations: 4 kB / 0.5726 GB, free: 3.957 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003284/0.4315, allocations: 87.39 kB / 0.5727 GB, free: 3.875 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.598e-05/0.4316, allocations: 23.16 kB / 0.5728 GB, free: 3.852 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.522e-05/0.4316, allocations: 9.188 kB / 0.5728 GB, free: 3.848 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008553/0.4325, allocations: 1.34 MB / 0.5741 GB, free: 2.434 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/0.4325, allocations: 4.031 kB / 0.5741 GB, free: 2.43 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001149/0.4337, allocations: 0.7126 MB / 0.5748 GB, free: 1.805 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002072/0.4339, allocations: 170.9 kB / 0.5749 GB, free: 1.641 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.414e-05/0.4339, allocations: 14.06 kB / 0.5749 GB, free: 1.637 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002779/0.4342, allocations: 31.91 kB / 0.575 GB, free: 1.609 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/0.4343, allocations: 49.5 kB / 0.575 GB, free: 1.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.751e-05/0.4344, allocations: 23.56 kB / 0.575 GB, free: 1.551 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002568/0.4347, allocations: 267.7 kB / 0.5753 GB, free: 1.352 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4347, allocations: 4 kB / 0.5753 GB, free: 1.348 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005438/0.4352, allocations: 144.2 kB / 0.5754 GB, free: 1.223 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) * Number of clocked states: 0 () * 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.0024/0.4376, allocations: 1.85 MB / 0.5772 GB, free: 15.49 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001334/0.439, allocations: 0.7595 MB / 0.578 GB, free: 14.85 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.439, allocations: 0 / 0.578 GB, free: 14.85 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006013/0.4396, allocations: 380.2 kB / 0.5784 GB, free: 14.53 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000371/0.44, allocations: 54.17 kB / 0.5784 GB, free: 14.49 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003064/0.4431, allocations: 4.06 MB / 0.5824 GB, free: 10.48 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004425/0.4435, allocations: 0.8654 MB / 0.5832 GB, free: 9.602 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002814/0.4438, allocations: 99.16 kB / 0.5833 GB, free: 9.504 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002322/0.444, allocations: 148.8 kB / 0.5835 GB, free: 9.449 MB / 394.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4441, allocations: 0 / 0.5835 GB, free: 9.449 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02682/0.4709, allocations: 9.522 MB / 0.5927 GB, free: 15.91 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002585/0.4712, allocations: 255.4 kB / 0.593 GB, free: 15.57 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.118/2.59, allocations: 0 / 0.593 GB, free: 15.57 MB / 410.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)