Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_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.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/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="mat",numberOfIntervals=5000,variableFilter="Time|inverter.I|windFarm.p.1.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest") translateModel(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|inverter.I|windFarm.p.1.",fileNamePrefix="PowerSystems_latest_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.0009139/0.000914, allocations: 186.2 kB / 16.71 MB, free: 4.961 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.187/1.187, allocations: 225.7 MB / 243.2 MB, free: 8.441 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.0008168/0.0008168, allocations: 92.16 kB / 294.4 MB, free: 9.48 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2954/0.2954, allocations: 38.18 MB / 383.7 MB, free: 40.4 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002979/0.000298, allocations: 8 kB / 453.6 MB, free: 8.754 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2695/0.2698, allocations: 59.15 MB / 0.5007 GB, free: 39.01 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest): time 0.004816/0.2747, allocations: 4.398 MB / 0.505 GB, free: 38.57 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003789/0.2785, allocations: 4.452 MB / 0.5093 GB, free: 34.57 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005027/0.279, allocations: 24.97 kB / 0.5094 GB, free: 34.56 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003875/0.2794, allocations: 75.83 kB / 0.5094 GB, free: 34.52 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008073/0.2802, allocations: 316.6 kB / 0.5097 GB, free: 34.36 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009475/0.2812, allocations: 345.1 kB / 0.5101 GB, free: 34.18 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007607/0.282, allocations: 0.7807 MB / 0.5108 GB, free: 33.9 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000472/0.2825, allocations: 407.7 kB / 0.5112 GB, free: 33.6 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003657/0.2828, allocations: 208.6 kB / 0.5114 GB, free: 33.52 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002765/0.2831, allocations: 238.9 kB / 0.5116 GB, free: 33.42 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.657e-05/0.2832, allocations: 16.81 kB / 0.5117 GB, free: 33.42 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009016/0.2841, allocations: 0.6131 MB / 0.5123 GB, free: 33.2 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.818e-05/0.2842, allocations: 107 kB / 0.5124 GB, free: 33.16 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001324/0.2843, allocations: 198.6 kB / 0.5125 GB, free: 33.02 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006678/0.285, allocations: 0.6903 MB / 0.5132 GB, free: 32.8 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.285, allocations: 0 / 0.5132 GB, free: 32.8 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.285, allocations: 1.344 kB / 0.5132 GB, free: 32.8 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.285, allocations: 0.5938 kB / 0.5132 GB, free: 32.8 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.0009413/0.286, allocations: 0.7168 MB / 0.5139 GB, free: 32.22 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.148e-05/0.286, allocations: 9.125 kB / 0.5139 GB, free: 32.22 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008487/0.2869, allocations: 118.2 kB / 0.514 GB, free: 32.19 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004041/0.2873, allocations: 408.7 kB / 0.5144 GB, free: 31.88 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.335e-05/0.2873, allocations: 21.56 kB / 0.5145 GB, free: 31.87 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.191e-05/0.2874, allocations: 29.98 kB / 0.5145 GB, free: 31.86 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006665/0.2881, allocations: 459.5 kB / 0.5149 GB, free: 31.64 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.2881, allocations: 1.5 kB / 0.5149 GB, free: 31.64 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.023e-05/0.2881, allocations: 10.5 kB / 0.5149 GB, free: 31.63 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.224e-05/0.2882, allocations: 20.25 kB / 0.5149 GB, free: 31.63 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000818/0.289, allocations: 0.5031 MB / 0.5154 GB, free: 31.5 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001512/0.2905, allocations: 1.782 MB / 0.5172 GB, free: 30.14 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008704/0.2914, allocations: 395.7 kB / 0.5176 GB, free: 29.99 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003311/0.2917, allocations: 153.1 kB / 0.5177 GB, free: 29.93 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.075e-05/0.2918, allocations: 11.03 kB / 0.5177 GB, free: 29.93 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005128/0.2923, allocations: 300.7 kB / 0.518 GB, free: 29.75 MB / 378.7 MB Notification: Performance of pre-optimization done (n=30): time 1.573e-06/0.2923, allocations: 0 / 0.518 GB, free: 29.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=30): time 0.001193/0.2935, allocations: 0.5462 MB / 0.5185 GB, free: 29.57 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.49e-05/0.2936, allocations: 240.3 kB / 0.5188 GB, free: 29.29 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003936/0.294, allocations: 357.6 kB / 0.5191 GB, free: 29.1 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.908e-05/0.294, allocations: 42.58 kB / 0.5191 GB, free: 29.05 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001218/0.2942, allocations: 206 kB / 0.5193 GB, free: 28.88 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.245e-05/0.2942, allocations: 103 kB / 0.5194 GB, free: 28.8 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.801e-05/0.2943, allocations: 5.906 kB / 0.5194 GB, free: 28.8 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.079e-05/0.2944, allocations: 351.8 kB / 0.5198 GB, free: 28.47 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003605/0.2947, allocations: 153.4 kB / 0.5199 GB, free: 28.42 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00035/0.2951, allocations: 283.7 kB / 0.5202 GB, free: 28.21 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006324/0.2957, allocations: 487.3 kB / 0.5207 GB, free: 27.89 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.2957, allocations: 2.594 kB / 0.5207 GB, free: 27.89 MB / 378.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008271/0.2966, allocations: 0.5444 MB / 0.5212 GB, free: 27.66 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.542e-05/0.2966, allocations: 34.42 kB / 0.5212 GB, free: 27.62 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.064e-06/0.2966, allocations: 2.719 kB / 0.5212 GB, free: 27.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.2966, allocations: 6.219 kB / 0.5212 GB, free: 27.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003022/0.2969, allocations: 102.9 kB / 0.5213 GB, free: 27.61 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.297, allocations: 9.812 kB / 0.5213 GB, free: 27.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002561/0.2972, allocations: 60.67 kB / 0.5214 GB, free: 27.58 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.907e-05/0.2973, allocations: 22.06 kB / 0.5214 GB, free: 27.58 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.000142/0.2974, allocations: 198.5 kB / 0.5216 GB, free: 27.41 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.833e-05/0.2975, allocations: 41.81 kB / 0.5217 GB, free: 27.39 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.442e-05/0.2976, allocations: 47.47 kB / 0.5217 GB, free: 27.36 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.2976, allocations: 6.203 kB / 0.5217 GB, free: 27.36 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.2976, allocations: 3 kB / 0.5217 GB, free: 27.36 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.2976, allocations: 2.969 kB / 0.5217 GB, free: 27.36 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005202/0.2981, allocations: 0.8496 MB / 0.5225 GB, free: 26.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.2981, allocations: 0 / 0.5225 GB, free: 26.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002323/0.2984, allocations: 69.5 kB / 0.5226 GB, free: 26.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.2984, allocations: 2.5 kB / 0.5226 GB, free: 26.66 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.23e-05/0.2984, allocations: 17.34 kB / 0.5226 GB, free: 26.65 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.2984, allocations: 6.688 kB / 0.5226 GB, free: 26.64 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.2984, allocations: 0 / 0.5226 GB, free: 26.64 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007116/0.2991, allocations: 479.4 kB / 0.5231 GB, free: 26.41 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.155e-05/0.2992, allocations: 115.5 kB / 0.5232 GB, free: 26.29 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.415e-05/0.2993, allocations: 13.78 kB / 0.5232 GB, free: 26.29 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001971/0.2995, allocations: 31.28 kB / 0.5232 GB, free: 26.28 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.925e-05/0.2995, allocations: 47.14 kB / 0.5233 GB, free: 26.26 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.416e-05/0.2996, allocations: 12.2 kB / 0.5233 GB, free: 26.26 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001878/0.2998, allocations: 259.8 kB / 0.5235 GB, free: 26.12 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2998, allocations: 0 / 0.5235 GB, free: 26.12 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003482/0.3001, allocations: 89.28 kB / 0.5236 GB, free: 26.11 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.0009055/0.301, allocations: 0.5316 MB / 0.5242 GB, free: 25.8 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007486/0.3018, allocations: 440.8 kB / 0.5246 GB, free: 25.62 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.3018, allocations: 0 / 0.5246 GB, free: 25.62 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003691/0.3022, allocations: 201.4 kB / 0.5248 GB, free: 25.56 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004265/0.3026, allocations: 66.17 kB / 0.5248 GB, free: 25.54 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009383/0.3036, allocations: 0.8376 MB / 0.5256 GB, free: 25 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002051/0.3038, allocations: 0.8123 MB / 0.5264 GB, free: 24.29 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002141/0.304, allocations: 92.23 kB / 0.5265 GB, free: 24.27 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.651e-05/0.3041, allocations: 38.69 kB / 0.5266 GB, free: 24.26 MB / 378.7 MB Notification: Performance of SimCode: time 3.31e-07/0.3041, allocations: 0 / 0.5266 GB, free: 24.26 MB / 378.7 MB Notification: Performance of Templates: time 0.006975/0.3111, allocations: 4.36 MB / 0.5308 GB, free: 23.88 MB / 378.7 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.sim & ./PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.mat","../files/PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches