Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmLoadTest.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.PowerWorld.Test.WindFarmLoadTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmLoadTest") translateModel(PowerSystems.Examples.PowerWorld.Test.WindFarmLoadTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmLoadTest") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000903/0.0009034, allocations: 177.3 kB / 16.71 MB, free: 5.09 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.316/1.316, allocations: 225.7 MB / 243.2 MB, free: 8.465 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008818/0.0008819, allocations: 99.89 kB / 294.4 MB, free: 9.488 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.3123/0.3123, allocations: 38.12 MB / 383.6 MB, free: 40.32 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003482/0.0003482, allocations: 12 kB / 453.5 MB, free: 8.777 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3062/0.3066, allocations: 59.14 MB / 0.5006 GB, free: 39.01 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmLoadTest): time 0.004174/0.3108, allocations: 3.984 MB / 0.5045 GB, free: 38.7 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003302/0.3141, allocations: 3.83 MB / 0.5082 GB, free: 35.53 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002464/0.3144, allocations: 12.34 kB / 0.5082 GB, free: 35.53 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003957/0.3148, allocations: 76.47 kB / 0.5083 GB, free: 35.49 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008353/0.3157, allocations: 377.9 kB / 0.5087 GB, free: 35.29 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006615/0.3163, allocations: 236.5 kB / 0.5089 GB, free: 35.17 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008925/0.3172, allocations: 0.9086 MB / 0.5098 GB, free: 34.86 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008558/0.3181, allocations: 0.6927 MB / 0.5105 GB, free: 34.3 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004944/0.3186, allocations: 237 kB / 0.5107 GB, free: 34.2 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003663/0.319, allocations: 271.5 kB / 0.5109 GB, free: 34.1 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.938e-05/0.319, allocations: 19.91 kB / 0.511 GB, free: 34.1 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001004/0.3201, allocations: 0.5191 MB / 0.5115 GB, free: 33.92 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001836/0.3202, allocations: 160.2 kB / 0.5116 GB, free: 33.86 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001819/0.3204, allocations: 227.4 kB / 0.5118 GB, free: 33.71 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007116/0.3212, allocations: 0.754 MB / 0.5126 GB, free: 33.48 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.3212, allocations: 1.656 kB / 0.5126 GB, free: 33.48 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.3212, allocations: 0 / 0.5126 GB, free: 33.48 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.3212, allocations: 0 / 0.5126 GB, free: 33.48 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.001094/0.3223, allocations: 0.7539 MB / 0.5133 GB, free: 32.88 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.3223, allocations: 8.312 kB / 0.5133 GB, free: 32.88 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009859/0.3233, allocations: 141.4 kB / 0.5135 GB, free: 32.85 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004983/0.3238, allocations: 428.5 kB / 0.5139 GB, free: 32.53 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.61e-05/0.3239, allocations: 26.06 kB / 0.5139 GB, free: 32.52 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.704e-05/0.3239, allocations: 32 kB / 0.5139 GB, free: 32.51 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008642/0.3248, allocations: 0.5556 MB / 0.5145 GB, free: 32.26 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.794e-05/0.3248, allocations: 2.781 kB / 0.5145 GB, free: 32.26 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.969e-05/0.3249, allocations: 10.59 kB / 0.5145 GB, free: 32.25 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.387e-05/0.3249, allocations: 29.41 kB / 0.5145 GB, free: 32.25 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009757/0.3259, allocations: 0.6276 MB / 0.5151 GB, free: 32.08 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0022/0.3281, allocations: 1.921 MB / 0.517 GB, free: 30.81 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001159/0.3293, allocations: 1.001 MB / 0.518 GB, free: 30.05 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003962/0.3297, allocations: 205.3 kB / 0.5182 GB, free: 29.97 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.339e-05/0.3298, allocations: 10.45 kB / 0.5182 GB, free: 29.96 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005351/0.3303, allocations: 295.7 kB / 0.5185 GB, free: 29.83 MB / 378.7 MB Notification: Performance of pre-optimization done (n=36): time 2.735e-06/0.3303, allocations: 5.203 kB / 0.5185 GB, free: 29.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=37): time 0.002124/0.3324, allocations: 1.041 MB / 0.5195 GB, free: 29.35 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.662e-05/0.3325, allocations: 105.6 kB / 0.5196 GB, free: 29.23 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000309/0.3328, allocations: 354.9 kB / 0.5199 GB, free: 29.05 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.843e-05/0.3329, allocations: 40.58 kB / 0.52 GB, free: 29 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/0.333, allocations: 229.2 kB / 0.5202 GB, free: 28.81 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.991e-05/0.3331, allocations: 122.2 kB / 0.5203 GB, free: 28.72 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.001e-05/0.3331, allocations: 10.5 kB / 0.5203 GB, free: 28.71 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.044e-05/0.3331, allocations: 350.5 kB / 0.5206 GB, free: 28.38 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003647/0.3335, allocations: 190.3 kB / 0.5208 GB, free: 28.32 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003896/0.3339, allocations: 319.7 kB / 0.5211 GB, free: 28.1 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008/0.3347, allocations: 0.5444 MB / 0.5217 GB, free: 27.75 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.3347, allocations: 3.938 kB / 0.5217 GB, free: 27.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001018/0.3358, allocations: 0.6408 MB / 0.5223 GB, free: 27.48 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.927e-05/0.3358, allocations: 32.92 kB / 0.5223 GB, free: 27.45 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.3358, allocations: 5.781 kB / 0.5223 GB, free: 27.45 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001397/0.336, allocations: 26.59 kB / 0.5224 GB, free: 27.44 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003675/0.3363, allocations: 108.2 kB / 0.5225 GB, free: 27.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007619/0.3371, allocations: 1.328 MB / 0.5238 GB, free: 26.11 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002945/0.3374, allocations: 45.62 kB / 0.5238 GB, free: 26.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.27e-05/0.3375, allocations: 18.72 kB / 0.5238 GB, free: 26.09 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 (53): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001852/0.3377, allocations: 217.7 kB / 0.524 GB, free: 25.92 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.436e-05/0.3377, allocations: 37.34 kB / 0.5241 GB, free: 25.9 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009494/0.3387, allocations: 0.5078 MB / 0.5246 GB, free: 25.71 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.3387, allocations: 5.875 kB / 0.5246 GB, free: 25.71 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/0.3387, allocations: 0 / 0.5246 GB, free: 25.71 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.75e-06/0.3387, allocations: 3.375 kB / 0.5246 GB, free: 25.71 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001437/0.3401, allocations: 1.1 MB / 0.5256 GB, free: 25.11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.3402, allocations: 3.984 kB / 0.5256 GB, free: 25.11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002572/0.3404, allocations: 69.2 kB / 0.5257 GB, free: 25.1 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.916e-05/0.3405, allocations: 29.3 kB / 0.5257 GB, free: 25.09 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.596e-05/0.3405, allocations: 11 kB / 0.5257 GB, free: 25.08 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005877/0.3411, allocations: 1.317 MB / 0.527 GB, free: 23.77 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.3411, allocations: 160 / 0.527 GB, free: 23.77 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008624/0.342, allocations: 0.6144 MB / 0.5276 GB, free: 23.45 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.059e-05/0.3421, allocations: 115.7 kB / 0.5277 GB, free: 23.33 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.842e-05/0.3422, allocations: 17.36 kB / 0.5278 GB, free: 23.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002544/0.3424, allocations: 36.36 kB / 0.5278 GB, free: 23.31 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000122/0.3425, allocations: 34.95 kB / 0.5278 GB, free: 23.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.915e-05/0.3426, allocations: 16.5 kB / 0.5278 GB, free: 23.3 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002066/0.3428, allocations: 247.4 kB / 0.5281 GB, free: 23.17 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3428, allocations: 0 / 0.5281 GB, free: 23.17 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004533/0.3433, allocations: 109.3 kB / 0.5282 GB, free: 23.16 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 (36): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009286/0.3442, allocations: 0.532 MB / 0.5287 GB, free: 22.85 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009798/0.3452, allocations: 0.6053 MB / 0.5293 GB, free: 22.54 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.3452, allocations: 0 / 0.5293 GB, free: 22.54 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000489/0.3457, allocations: 347.2 kB / 0.5296 GB, free: 22.35 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004894/0.3462, allocations: 73.64 kB / 0.5297 GB, free: 22.33 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001182/0.3474, allocations: 0.9749 MB / 0.5306 GB, free: 21.74 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002409/0.3476, allocations: 0.8481 MB / 0.5315 GB, free: 21.02 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002475/0.3479, allocations: 95.72 kB / 0.5316 GB, free: 21.01 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000109/0.348, allocations: 47.12 kB / 0.5316 GB, free: 21 MB / 378.7 MB Notification: Performance of SimCode: time 3.11e-07/0.348, allocations: 0 / 0.5316 GB, free: 21 MB / 378.7 MB Notification: Performance of Templates: time 0.008232/0.3563, allocations: 5.214 MB / 0.5367 GB, free: 20.57 MB / 378.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmLoadTest.makefile (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 & ./PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmLoadTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmLoadTest.pipe 2>&1)