Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest.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.WindFarmGridTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest") translateModel(PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001357/0.001357, allocations: 183.2 kB / 16.71 MB, free: 4.969 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.73/1.73, allocations: 225.7 MB / 243.2 MB, free: 8.52 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.0007288/0.0007289, allocations: 99.58 kB / 294.4 MB, free: 9.527 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.2868/0.2868, allocations: 38.11 MB / 383.6 MB, free: 40.39 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003003/0.0003003, allocations: 8 kB / 453.5 MB, free: 8.77 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2959/0.2962, allocations: 59.13 MB / 0.5006 GB, free: 39.07 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest): time 0.00375/0.3, allocations: 3.686 MB / 0.5042 GB, free: 38.78 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00297/0.303, allocations: 3.436 MB / 0.5076 GB, free: 36.18 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002484/0.3033, allocations: 19 kB / 0.5076 GB, free: 36.17 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000358/0.3036, allocations: 54.36 kB / 0.5076 GB, free: 36.14 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005785/0.3042, allocations: 265.1 kB / 0.5079 GB, free: 36 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006749/0.3049, allocations: 255.6 kB / 0.5081 GB, free: 35.86 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007414/0.3057, allocations: 0.6207 MB / 0.5087 GB, free: 35.63 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007658/0.3064, allocations: 0.5201 MB / 0.5092 GB, free: 35.21 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004643/0.3069, allocations: 183 kB / 0.5094 GB, free: 35.13 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002986/0.3072, allocations: 202.4 kB / 0.5096 GB, free: 35.05 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.441e-05/0.3073, allocations: 15.06 kB / 0.5096 GB, free: 35.05 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007391/0.308, allocations: 429.6 kB / 0.51 GB, free: 34.9 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001237/0.3082, allocations: 105.2 kB / 0.5101 GB, free: 34.86 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001607/0.3083, allocations: 184.7 kB / 0.5103 GB, free: 34.73 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008213/0.3092, allocations: 0.6285 MB / 0.5109 GB, free: 34.53 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.3092, allocations: 1.094 kB / 0.5109 GB, free: 34.53 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.3092, allocations: 2.031 kB / 0.5109 GB, free: 34.53 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.123e-06/0.3092, allocations: 0 / 0.5109 GB, free: 34.53 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001131/0.3103, allocations: 0.6783 MB / 0.5116 GB, free: 33.98 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.3104, allocations: 9.219 kB / 0.5116 GB, free: 33.98 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007696/0.3112, allocations: 113.2 kB / 0.5117 GB, free: 33.95 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004392/0.3116, allocations: 403.3 kB / 0.5121 GB, free: 33.64 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.758e-05/0.3116, allocations: 19.97 kB / 0.5121 GB, free: 33.63 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.58e-05/0.3117, allocations: 28.75 kB / 0.5121 GB, free: 33.62 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007033/0.3124, allocations: 457.4 kB / 0.5126 GB, free: 33.41 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.3124, allocations: 1.531 kB / 0.5126 GB, free: 33.41 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.195e-05/0.3125, allocations: 7.406 kB / 0.5126 GB, free: 33.4 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.111e-05/0.3125, allocations: 25.53 kB / 0.5126 GB, free: 33.39 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009059/0.3134, allocations: 0.5211 MB / 0.5131 GB, free: 33.26 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00164/0.3151, allocations: 1.693 MB / 0.5148 GB, free: 32.05 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008362/0.3159, allocations: 384.9 kB / 0.5151 GB, free: 31.9 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003142/0.3162, allocations: 149 kB / 0.5153 GB, free: 31.84 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.811e-05/0.3163, allocations: 17.36 kB / 0.5153 GB, free: 31.84 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005157/0.3168, allocations: 302.4 kB / 0.5156 GB, free: 31.66 MB / 378.7 MB Notification: Performance of pre-optimization done (n=31): time 2.915e-06/0.3168, allocations: 0 / 0.5156 GB, free: 31.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=31): time 0.001132/0.318, allocations: 0.5604 MB / 0.5161 GB, free: 31.46 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.661e-05/0.318, allocations: 292.9 kB / 0.5164 GB, free: 31.11 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000302/0.3183, allocations: 330 kB / 0.5167 GB, free: 30.94 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.015e-05/0.3184, allocations: 36 kB / 0.5167 GB, free: 30.91 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.3185, allocations: 194.9 kB / 0.5169 GB, free: 30.74 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.597e-05/0.3186, allocations: 107.1 kB / 0.517 GB, free: 30.66 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.779e-05/0.3186, allocations: 6.906 kB / 0.517 GB, free: 30.66 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.642e-05/0.3187, allocations: 348.6 kB / 0.5174 GB, free: 30.33 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003586/0.319, allocations: 146.1 kB / 0.5175 GB, free: 30.29 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000404/0.3194, allocations: 287.2 kB / 0.5178 GB, free: 30.07 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007312/0.3202, allocations: 485.7 kB / 0.5183 GB, free: 29.75 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.798e-06/0.3202, allocations: 1.312 kB / 0.5183 GB, free: 29.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0009502/0.3212, allocations: 0.5326 MB / 0.5188 GB, free: 29.52 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.765e-05/0.3212, allocations: 40.28 kB / 0.5188 GB, free: 29.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.3212, allocations: 9.062 kB / 0.5188 GB, free: 29.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.984e-05/0.3212, allocations: 6.781 kB / 0.5188 GB, free: 29.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003163/0.3216, allocations: 90.44 kB / 0.5189 GB, free: 29.47 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.3216, allocations: 13.8 kB / 0.5189 GB, free: 29.46 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002616/0.3219, allocations: 56.72 kB / 0.519 GB, free: 29.44 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.179e-05/0.3219, allocations: 22.16 kB / 0.519 GB, free: 29.44 MB / 378.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 42 * 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.0001771/0.3221, allocations: 197.5 kB / 0.5192 GB, free: 29.28 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.113e-05/0.3221, allocations: 41.78 kB / 0.5192 GB, free: 29.25 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.602e-05/0.3222, allocations: 49.81 kB / 0.5193 GB, free: 29.23 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.3223, allocations: 5.375 kB / 0.5193 GB, free: 29.23 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/0.3223, allocations: 2.75 kB / 0.5193 GB, free: 29.23 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.3223, allocations: 2.688 kB / 0.5193 GB, free: 29.23 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006922/0.323, allocations: 1.029 MB / 0.5203 GB, free: 28.35 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.323, allocations: 2.812 kB / 0.5203 GB, free: 28.35 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002464/0.3232, allocations: 68.45 kB / 0.5204 GB, free: 28.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.3233, allocations: 7.344 kB / 0.5204 GB, free: 28.34 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.328e-05/0.3233, allocations: 11.31 kB / 0.5204 GB, free: 28.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/0.3233, allocations: 7.25 kB / 0.5204 GB, free: 28.34 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.3233, allocations: 3.938 kB / 0.5204 GB, free: 28.33 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007836/0.3241, allocations: 486.9 kB / 0.5209 GB, free: 28.09 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.292e-05/0.3242, allocations: 115.8 kB / 0.521 GB, free: 27.97 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.1e-05/0.3242, allocations: 19.17 kB / 0.521 GB, free: 27.96 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002139/0.3245, allocations: 36.08 kB / 0.521 GB, free: 27.95 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/0.3246, allocations: 41.66 kB / 0.5211 GB, free: 27.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.967e-05/0.3246, allocations: 13.14 kB / 0.5211 GB, free: 27.93 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002548/0.3249, allocations: 234.7 kB / 0.5213 GB, free: 27.81 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3249, allocations: 0 / 0.5213 GB, free: 27.81 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004011/0.3253, allocations: 90.88 kB / 0.5214 GB, free: 27.79 MB / 378.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.wind.nextTimeEventScaled,windFarm.disturbance.count,windFarm.wind.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 26 * 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.0009922/0.3263, allocations: 0.5254 MB / 0.5219 GB, free: 27.5 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007697/0.3271, allocations: 441.8 kB / 0.5223 GB, free: 27.32 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.3271, allocations: 0 / 0.5223 GB, free: 27.32 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004012/0.3275, allocations: 207.9 kB / 0.5225 GB, free: 27.25 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005262/0.328, allocations: 78.61 kB / 0.5226 GB, free: 27.22 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001168/0.3292, allocations: 0.8401 MB / 0.5234 GB, free: 26.67 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000241/0.3295, allocations: 0.8055 MB / 0.5242 GB, free: 25.96 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000241/0.3297, allocations: 87.7 kB / 0.5243 GB, free: 25.95 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.721e-05/0.3298, allocations: 42.67 kB / 0.5243 GB, free: 25.93 MB / 378.7 MB Notification: Performance of SimCode: time 3.1e-07/0.3298, allocations: 0 / 0.5243 GB, free: 25.93 MB / 378.7 MB Notification: Performance of Templates: time 0.007315/0.3371, allocations: 4.285 MB / 0.5285 GB, free: 25.56 MB / 378.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest.makefile (rm -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest.sim & ./PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest.pipe 2>&1)