Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.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.WindFarmHVDCTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest") translateModel(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001758/0.001758, 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.634/1.634, allocations: 225.7 MB / 243.2 MB, free: 8.516 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.0007882/0.0007883, allocations: 98.2 kB / 294.4 MB, free: 9.535 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.2883/0.2883, allocations: 38.12 MB / 383.6 MB, free: 40.36 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004186/0.0004187, allocations: 8.219 kB / 453.5 MB, free: 8.77 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2985/0.2989, allocations: 59.14 MB / 0.5006 GB, free: 39.07 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest): time 0.004722/0.3037, allocations: 4.398 MB / 0.5049 GB, free: 38.62 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003892/0.3076, allocations: 4.445 MB / 0.5092 GB, free: 34.68 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004501/0.3081, allocations: 26.16 kB / 0.5093 GB, free: 34.66 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004067/0.3085, allocations: 78.59 kB / 0.5093 GB, free: 34.62 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009359/0.3095, allocations: 317 kB / 0.5096 GB, free: 34.45 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001084/0.3106, allocations: 345.9 kB / 0.51 GB, free: 34.27 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001071/0.3116, allocations: 0.785 MB / 0.5107 GB, free: 33.99 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007294/0.3124, allocations: 410.8 kB / 0.5111 GB, free: 33.69 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005784/0.313, allocations: 208.5 kB / 0.5113 GB, free: 33.61 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003449/0.3133, allocations: 236.2 kB / 0.5116 GB, free: 33.51 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.613e-05/0.3134, allocations: 16.25 kB / 0.5116 GB, free: 33.51 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001052/0.3144, allocations: 0.6104 MB / 0.5122 GB, free: 33.29 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001571/0.3146, allocations: 109.2 kB / 0.5123 GB, free: 33.25 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001961/0.3148, allocations: 194.5 kB / 0.5125 GB, free: 33.11 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008276/0.3156, allocations: 0.6967 MB / 0.5131 GB, free: 32.89 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.3157, allocations: 0 / 0.5131 GB, free: 32.89 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3157, allocations: 1.781 kB / 0.5131 GB, free: 32.89 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.3157, allocations: 0 / 0.5131 GB, free: 32.89 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001021/0.3167, allocations: 0.7146 MB / 0.5138 GB, free: 32.31 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.318e-05/0.3168, allocations: 9.469 kB / 0.5138 GB, free: 32.31 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008931/0.3177, allocations: 119.4 kB / 0.514 GB, free: 32.29 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004658/0.3182, allocations: 408.9 kB / 0.5143 GB, free: 31.97 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.18e-05/0.3182, allocations: 17.84 kB / 0.5144 GB, free: 31.96 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.614e-05/0.3182, allocations: 26.34 kB / 0.5144 GB, free: 31.96 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007089/0.319, allocations: 465.2 kB / 0.5148 GB, free: 31.73 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.319, allocations: 3.562 kB / 0.5148 GB, free: 31.73 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.28e-05/0.319, allocations: 14.83 kB / 0.5148 GB, free: 31.72 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.333e-05/0.3191, allocations: 20.94 kB / 0.5149 GB, free: 31.72 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000829/0.3199, allocations: 0.4999 MB / 0.5154 GB, free: 31.59 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001564/0.3215, allocations: 1.777 MB / 0.5171 GB, free: 30.23 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008541/0.3223, allocations: 402.3 kB / 0.5175 GB, free: 30.08 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003056/0.3227, allocations: 155.3 kB / 0.5176 GB, free: 30.02 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.68e-05/0.3227, allocations: 5.812 kB / 0.5176 GB, free: 30.02 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004662/0.3232, allocations: 296.9 kB / 0.5179 GB, free: 29.85 MB / 378.7 MB Notification: Performance of pre-optimization done (n=30): time 2.434e-06/0.3232, allocations: 0 / 0.5179 GB, free: 29.85 MB / 378.7 MB Notification: Performance of matching and sorting (n=30): time 0.001218/0.3244, allocations: 0.5425 MB / 0.5184 GB, free: 29.66 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.979e-05/0.3245, allocations: 247.7 kB / 0.5187 GB, free: 29.38 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003649/0.3249, allocations: 355.8 kB / 0.519 GB, free: 29.19 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.885e-05/0.3249, allocations: 45.95 kB / 0.5191 GB, free: 29.14 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.844e-05/0.325, allocations: 205.6 kB / 0.5193 GB, free: 28.97 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.79e-05/0.3251, allocations: 98.95 kB / 0.5194 GB, free: 28.89 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.636e-05/0.3251, allocations: 6 kB / 0.5194 GB, free: 28.89 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.042e-05/0.3252, allocations: 347.7 kB / 0.5197 GB, free: 28.56 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003644/0.3255, allocations: 155 kB / 0.5198 GB, free: 28.51 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003823/0.3259, allocations: 283.7 kB / 0.5201 GB, free: 28.3 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006873/0.3266, allocations: 488.1 kB / 0.5206 GB, free: 27.98 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.3266, allocations: 3.5 kB / 0.5206 GB, free: 27.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008935/0.3275, allocations: 0.5441 MB / 0.5211 GB, free: 27.74 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.027e-05/0.3276, allocations: 34.86 kB / 0.5211 GB, free: 27.71 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.3276, allocations: 6.094 kB / 0.5211 GB, free: 27.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.3276, allocations: 6.281 kB / 0.5212 GB, free: 27.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003238/0.328, allocations: 101.3 kB / 0.5212 GB, free: 27.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/0.328, allocations: 10.7 kB / 0.5213 GB, free: 27.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002722/0.3282, allocations: 57.12 kB / 0.5213 GB, free: 27.67 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.152e-05/0.3283, allocations: 19.14 kB / 0.5213 GB, free: 27.67 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 (44): * Single equations (assignments): 43 * 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.0001645/0.3285, allocations: 198.1 kB / 0.5215 GB, free: 27.51 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.864e-05/0.3285, allocations: 37.48 kB / 0.5216 GB, free: 27.49 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.299e-05/0.3286, allocations: 55.03 kB / 0.5216 GB, free: 27.45 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.3286, allocations: 2.969 kB / 0.5216 GB, free: 27.45 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.3286, allocations: 3.672 kB / 0.5216 GB, free: 27.45 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.3286, allocations: 4.344 kB / 0.5216 GB, free: 27.45 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005975/0.3293, allocations: 0.8522 MB / 0.5225 GB, free: 26.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.3293, allocations: 0 / 0.5225 GB, free: 26.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002342/0.3295, allocations: 68.7 kB / 0.5225 GB, free: 26.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/0.3295, allocations: 2.969 kB / 0.5225 GB, free: 26.75 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.218e-05/0.3295, allocations: 9.875 kB / 0.5225 GB, free: 26.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-06/0.3296, allocations: 9.984 kB / 0.5225 GB, free: 26.74 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.3296, allocations: 3.938 kB / 0.5225 GB, free: 26.74 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007301/0.3303, allocations: 480.9 kB / 0.523 GB, free: 26.5 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.508e-05/0.3304, allocations: 118.1 kB / 0.5231 GB, free: 26.39 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.422e-05/0.3304, allocations: 17.75 kB / 0.5231 GB, free: 26.38 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001944/0.3306, allocations: 27.92 kB / 0.5232 GB, free: 26.37 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.654e-05/0.3307, allocations: 43.41 kB / 0.5232 GB, free: 26.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.443e-05/0.3308, allocations: 9.875 kB / 0.5232 GB, free: 26.36 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001936/0.331, allocations: 257.1 kB / 0.5235 GB, free: 26.22 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.331, allocations: 4 kB / 0.5235 GB, free: 26.22 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003655/0.3313, allocations: 91.84 kB / 0.5235 GB, free: 26.2 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (30): * Single equations (assignments): 25 * 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.0009664/0.3323, allocations: 0.5185 MB / 0.5241 GB, free: 25.91 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008408/0.3332, allocations: 442.7 kB / 0.5245 GB, free: 25.73 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.3332, allocations: 3 kB / 0.5245 GB, free: 25.73 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003877/0.3336, allocations: 200.9 kB / 0.5247 GB, free: 25.66 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004636/0.334, allocations: 77.5 kB / 0.5247 GB, free: 25.63 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009744/0.335, allocations: 0.8385 MB / 0.5256 GB, free: 25.09 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000197/0.3352, allocations: 0.8096 MB / 0.5264 GB, free: 24.38 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002338/0.3355, allocations: 94.25 kB / 0.5264 GB, free: 24.36 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.673e-05/0.3356, allocations: 39.78 kB / 0.5265 GB, free: 24.35 MB / 378.7 MB Notification: Performance of SimCode: time 2.61e-07/0.3356, allocations: 0 / 0.5265 GB, free: 24.35 MB / 378.7 MB Notification: Performance of Templates: time 0.007996/0.3436, allocations: 4.358 MB / 0.5307 GB, free: 23.98 MB / 378.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.makefile (rm -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.sim & ./PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe 2>&1)