Running command: translateModel(PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest") Notification: Performance of loadModel(PowerSystems): time 2.138/2.138, allocations: 233 MB / 245.6 MB, free: 14.84 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.901e-05/2.908e-05, allocations: 0 / 301.3 MB, free: 7.973 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08799/0.08804, allocations: 53.24 MB / 354.5 MB, free: 2.629 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3585/0.4466, allocations: 90.49 MB / 445 MB, free: 11.57 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.002062/0.4487, allocations: 0.6845 MB / 445.7 MB, free: 10.88 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$windFarm$wind.getDerTableValue. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$windFarm$wind.getTableValue. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$windFarm$wind.getTableTimeTmin. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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.05982/0.5085, allocations: 16.13 MB / 461.8 MB, free: 10.62 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.962e-06/0.5086, allocations: 0 / 461.8 MB, free: 10.62 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.898e-05/0.5086, allocations: 4 kB / 461.8 MB, free: 10.62 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001385/0.51, allocations: 0.732 MB / 462.5 MB, free: 9.824 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.51, allocations: 8.031 kB / 462.5 MB, free: 9.816 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001213/0.5113, allocations: 119.9 kB / 462.7 MB, free: 9.699 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007839/0.5121, allocations: 390.5 kB / 463 MB, free: 9.277 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.742e-05/0.5121, allocations: 20.42 kB / 463.1 MB, free: 9.258 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.426e-05/0.5122, allocations: 24 kB / 463.1 MB, free: 9.234 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000914/0.5131, allocations: 426 kB / 463.5 MB, free: 8.789 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.5132, allocations: 3.938 kB / 463.5 MB, free: 8.785 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.458e-05/0.5132, allocations: 8 kB / 463.5 MB, free: 8.777 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.396e-05/0.5133, allocations: 16.42 kB / 463.5 MB, free: 8.762 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001078/0.5144, allocations: 496.5 kB / 464 MB, free: 8.277 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00312/0.5175, allocations: 1.766 MB / 465.8 MB, free: 6.41 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009971/0.5185, allocations: 360.6 kB / 466.1 MB, free: 6.043 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003131/0.5189, allocations: 130.2 kB / 466.3 MB, free: 5.91 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.717e-05/0.5189, allocations: 240 / 466.3 MB, free: 5.91 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005305/0.5195, allocations: 279.1 kB / 466.5 MB, free: 5.598 MB / 394.7 MB Notification: Performance of pre-optimization done (n=31): time 3.194e-06/0.5195, allocations: 4 kB / 466.5 MB, free: 5.594 MB / 394.7 MB Notification: Performance of matching and sorting (n=31): time 0.0009881/0.5205, allocations: 369.5 kB / 466.9 MB, free: 5.227 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001764/0.5207, allocations: 294.7 kB / 467.2 MB, free: 4.871 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005243/0.5212, allocations: 322.8 kB / 467.5 MB, free: 4.551 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.482e-05/0.5213, allocations: 45.7 kB / 467.5 MB, free: 4.5 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001862/0.5215, allocations: 242.6 kB / 467.8 MB, free: 4.258 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001296/0.5216, allocations: 98.64 kB / 467.9 MB, free: 4.16 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.291e-05/0.5217, allocations: 8 kB / 467.9 MB, free: 4.152 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001653/0.5219, allocations: 326.8 kB / 468.2 MB, free: 3.824 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003498/0.5222, allocations: 136.4 kB / 468.3 MB, free: 3.691 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004691/0.5227, allocations: 275.7 kB / 468.6 MB, free: 3.363 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004447/0.5232, allocations: 227.3 kB / 468.8 MB, free: 3.129 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.612e-06/0.5232, allocations: 4 kB / 468.8 MB, free: 3.125 MB / 394.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001197/0.5244, allocations: 0.5367 MB / 469.4 MB, free: 2.57 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.798e-05/0.5245, allocations: 67.39 kB / 469.4 MB, free: 2.492 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/0.5245, allocations: 4 kB / 469.4 MB, free: 2.488 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.303e-05/0.5246, allocations: 8 kB / 469.4 MB, free: 2.48 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004752/0.525, allocations: 92.28 kB / 469.5 MB, free: 2.391 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.995e-05/0.5251, allocations: 19.92 kB / 469.6 MB, free: 2.371 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004144/0.5255, allocations: 63.56 kB / 469.6 MB, free: 2.309 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.748e-05/0.5256, allocations: 16 kB / 469.6 MB, free: 2.293 MB / 394.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 42 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001693/0.5258, allocations: 143.5 kB / 469.8 MB, free: 2.148 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.61e-05/0.5259, allocations: 35.58 kB / 469.8 MB, free: 2.113 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009971/0.5269, allocations: 424.2 kB / 470.2 MB, free: 1.695 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.32e-05/0.5269, allocations: 8 kB / 470.2 MB, free: 1.688 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.201e-06/0.5269, allocations: 4 kB / 470.2 MB, free: 1.684 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.193e-06/0.5269, allocations: 0 / 470.2 MB, free: 1.684 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001386/0.5283, allocations: 1.085 MB / 471.3 MB, free: 0.5195 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.5284, allocations: 4 kB / 471.3 MB, free: 0.5156 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004118/0.5288, allocations: 79.89 kB / 471.4 MB, free: 448 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-05/0.5288, allocations: 4 kB / 471.4 MB, free: 444 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.248e-05/0.5289, allocations: 16.19 kB / 471.4 MB, free: 428 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.268e-05/0.5289, allocations: 11.92 kB / 471.4 MB, free: 416 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.652e-06/0.5289, allocations: 0 / 471.4 MB, free: 416 kB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001058/0.53, allocations: 0.5679 MB / 472 MB, free: 15.74 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002486/0.5302, allocations: 172.4 kB / 472.2 MB, free: 15.55 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.264e-05/0.5304, allocations: 15.98 kB / 472.2 MB, free: 15.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003163/0.5307, allocations: 35.91 kB / 472.2 MB, free: 15.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001296/0.5308, allocations: 47.91 kB / 472.3 MB, free: 15.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.684e-05/0.5309, allocations: 15.98 kB / 472.3 MB, free: 15.44 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003792/0.5313, allocations: 250.2 kB / 472.5 MB, free: 15.2 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.87e-07/0.5313, allocations: 0 / 472.5 MB, free: 15.2 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006529/0.532, allocations: 119.8 kB / 472.6 MB, free: 15.08 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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.disturbance.count,windFarm.wind.nextTimeEvent,windFarm.wind.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 35 * 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.00157/0.5336, allocations: 478.8 kB / 473.1 MB, free: 14.68 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009708/0.5345, allocations: 479.6 kB / 473.6 MB, free: 14.19 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.28e-06/0.5346, allocations: 320 / 473.6 MB, free: 14.19 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004545/0.535, allocations: 200 kB / 473.8 MB, free: 14 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004362/0.5355, allocations: 53.17 kB / 473.8 MB, free: 13.94 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001392/0.5369, allocations: 0.5972 MB / 474.4 MB, free: 13.29 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005478/0.5375, allocations: 0.8281 MB / 475.3 MB, free: 12.43 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001986/0.5377, allocations: 43.42 kB / 475.3 MB, free: 12.39 MB / 410.7 MB Notification: Performance of SimCode: time 4.069e-06/0.5377, allocations: 0 / 475.3 MB, free: 12.39 MB / 410.7 MB Notification: Performance of Templates: time 0.01081/0.5485, allocations: 5.532 MB / 480.8 MB, free: 6.859 MB / 410.7 MB