Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001507/0.001507, allocations: 80.41 kB / 22.21 MB, free: 2.289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001249/0.001249, allocations: 166 kB / 25.61 MB, free: 8.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9787/0.9787, allocations: 177.1 MB / 206 MB, free: 4.527 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.1186/0.1186, allocations: 29.42 MB / 292 MB, free: 2.633 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|windFarm.p.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest") translateModel(PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|windFarm.p.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 370.9 MB, free: 32.31 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.579e-05/1.726e-05, allocations: 2.312 kB / 370.9 MB, free: 32.31 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest): time 0.003053/0.003071, allocations: 3.704 MB / 374.6 MB, free: 28.59 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001705/0.004776, allocations: 1.745 MB / 376.3 MB, free: 26.84 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001622/0.004938, allocations: 15.88 kB / 376.3 MB, free: 26.82 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000547/0.005485, allocations: 186.9 kB / 376.5 MB, free: 26.64 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004544/0.005939, allocations: 290.5 kB / 376.8 MB, free: 26.35 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003507/0.00629, allocations: 259 kB / 377.1 MB, free: 26.1 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003641/0.006654, allocations: 0.5376 MB / 377.6 MB, free: 25.56 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002261/0.00688, allocations: 199.8 kB / 377.8 MB, free: 25.36 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003522/0.007232, allocations: 316.9 kB / 378.1 MB, free: 25.05 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002029/0.007435, allocations: 199.5 kB / 378.3 MB, free: 24.86 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.535e-05/0.007471, allocations: 40 kB / 378.3 MB, free: 24.82 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000305/0.007776, allocations: 351.1 kB / 378.7 MB, free: 24.47 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 9.249e-05/0.007868, allocations: 143.6 kB / 378.8 MB, free: 24.33 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 8.481e-05/0.007953, allocations: 123.7 kB / 378.9 MB, free: 24.21 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005099/0.008463, allocations: 0.5257 MB / 379.5 MB, free: 23.68 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.008467, allocations: 0 / 379.5 MB, free: 23.68 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.008467, allocations: 0 / 379.5 MB, free: 23.68 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.008472, allocations: 0 / 379.5 MB, free: 23.68 MB / 314.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.000689/0.009161, allocations: 0.7942 MB / 380.3 MB, free: 22.84 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.009197, allocations: 12.03 kB / 380.3 MB, free: 22.83 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000484/0.009681, allocations: 148.5 kB / 380.4 MB, free: 22.69 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002956/0.009977, allocations: 337 kB / 380.7 MB, free: 22.33 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.009995, allocations: 20.88 kB / 380.8 MB, free: 22.31 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.94e-05/0.01002, allocations: 32.34 kB / 380.8 MB, free: 22.28 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003102/0.01033, allocations: 324.9 kB / 381.1 MB, free: 21.93 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.01034, allocations: 3.938 kB / 381.1 MB, free: 21.92 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.043e-05/0.01036, allocations: 8 kB / 381.1 MB, free: 21.91 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.37e-05/0.01039, allocations: 16.5 kB / 381.1 MB, free: 21.89 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000199/0.01059, allocations: 191.2 kB / 381.3 MB, free: 21.71 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009516/0.01154, allocations: 1.633 MB / 383 MB, free: 19.99 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003332/0.01187, allocations: 246.7 kB / 383.2 MB, free: 19.72 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.411e-05/0.01194, allocations: 59.81 kB / 383.3 MB, free: 19.66 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.737e-05/0.01195, allocations: 7.984 kB / 383.3 MB, free: 19.65 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001961/0.01215, allocations: 242.5 kB / 383.5 MB, free: 19.36 MB / 314.7 MB Notification: Performance of pre-optimization done (n=31): time 1.943e-06/0.01215, allocations: 0 / 383.5 MB, free: 19.36 MB / 314.7 MB Notification: Performance of matching and sorting (n=31): time 0.0003854/0.01254, allocations: 306.4 kB / 383.8 MB, free: 19.05 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.559e-05/0.01258, allocations: 294.7 kB / 384.1 MB, free: 18.7 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000173/0.01276, allocations: 370 kB / 384.5 MB, free: 18.32 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.01277, allocations: 33.7 kB / 384.5 MB, free: 18.28 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.932e-05/0.01285, allocations: 252.3 kB / 384.7 MB, free: 18.03 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.642e-05/0.0129, allocations: 107.2 kB / 384.8 MB, free: 17.92 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.827e-05/0.01297, allocations: 79.31 kB / 384.9 MB, free: 17.84 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.505e-05/0.01303, allocations: 0.5235 MB / 385.4 MB, free: 17.3 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.44e-05/0.01311, allocations: 69.66 kB / 385.5 MB, free: 17.23 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001124/0.01322, allocations: 292.9 kB / 385.8 MB, free: 16.84 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001868/0.01341, allocations: 333.7 kB / 386.1 MB, free: 16.43 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.01341, allocations: 0 / 386.1 MB, free: 16.43 MB / 314.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0003031/0.01371, allocations: 380.8 kB / 386.5 MB, free: 16.04 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.583e-05/0.01374, allocations: 35.73 kB / 386.5 MB, free: 16 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.01375, allocations: 8.5 kB / 386.5 MB, free: 16 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.01376, allocations: 7.938 kB / 386.5 MB, free: 15.99 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000168/0.01393, allocations: 87.89 kB / 386.6 MB, free: 15.9 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.01393, allocations: 11.94 kB / 386.6 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001169/0.01405, allocations: 39.77 kB / 386.7 MB, free: 15.85 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.167e-05/0.01407, allocations: 19.98 kB / 386.7 MB, free: 15.83 MB / 314.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 ($PRE.windFarm.wind.nextTimeEvent,$whenCondition2,windFarm.disturbance.count,$PRE.windFarm.disturbance.count,windFarm.disturbance.T_start,$PRE.windFarm.disturbance.T_start,windFarm.wind.nextTimeEventScaled,$PRE.windFarm.wind.nextTimeEventScaled,windFarm.wind.nextTimeEvent,$whenCondition1,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 8.556e-05/0.01415, allocations: 188.4 kB / 386.9 MB, free: 15.64 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.912e-05/0.0142, allocations: 51.7 kB / 386.9 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002833/0.01449, allocations: 276.8 kB / 387.2 MB, free: 15.31 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.01449, allocations: 15.94 kB / 387.2 MB, free: 15.29 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-06/0.01449, allocations: 0 / 387.2 MB, free: 15.29 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.0145, allocations: 7.984 kB / 387.2 MB, free: 15.29 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004161/0.01492, allocations: 1.148 MB / 388.4 MB, free: 14.07 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.01492, allocations: 7.938 kB / 388.4 MB, free: 14.07 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001396/0.01506, allocations: 71.89 kB / 388.5 MB, free: 14 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.01506, allocations: 4 kB / 388.5 MB, free: 13.99 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.489e-05/0.01508, allocations: 12 kB / 388.5 MB, free: 13.98 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.01508, allocations: 8.188 kB / 388.5 MB, free: 13.97 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.01508, allocations: 4 kB / 388.5 MB, free: 13.97 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002752/0.01536, allocations: 390.5 kB / 388.9 MB, free: 13.54 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.037e-05/0.01539, allocations: 47.58 kB / 388.9 MB, free: 13.49 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.729e-05/0.01543, allocations: 19.98 kB / 388.9 MB, free: 13.47 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.466e-05/0.01551, allocations: 15.98 kB / 388.9 MB, free: 13.45 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.631e-05/0.01557, allocations: 43.88 kB / 389 MB, free: 13.41 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.578e-05/0.01558, allocations: 8 kB / 389 MB, free: 13.4 MB / 314.7 MB Notification: Performance of sorting global known variables: time 8.682e-05/0.01567, allocations: 238.9 kB / 389.2 MB, free: 13.17 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01567, allocations: 4 kB / 389.2 MB, free: 13.17 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002773/0.01595, allocations: 111.8 kB / 389.3 MB, free: 13.06 MB / 314.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) * Number of clocked states: 0 () * 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 (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.0009504/0.0169, allocations: 0.5158 MB / 389.9 MB, free: 12.77 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002652/0.01716, allocations: 292.3 kB / 390.1 MB, free: 12.46 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.01716, allocations: 0 / 390.1 MB, free: 12.46 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 9.92e-05/0.01726, allocations: 112.7 kB / 390.3 MB, free: 12.34 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002842/0.01755, allocations: 88.02 kB / 390.3 MB, free: 12.27 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009267/0.01847, allocations: 0.6911 MB / 391 MB, free: 11.51 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.213e-05/0.01853, allocations: 122.1 kB / 391.2 MB, free: 11.38 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001099/0.01864, allocations: 59.23 kB / 391.2 MB, free: 11.32 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001567/0.01879, allocations: 154.2 kB / 391.4 MB, free: 11.17 MB / 314.7 MB Notification: Performance of SimCode: time 8.32e-07/0.01879, allocations: 0 / 391.4 MB, free: 11.17 MB / 314.7 MB Notification: Performance of Templates: time 0.006796/0.02559, allocations: 6.249 MB / 397.6 MB, free: 5.004 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest.sim & ./PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.174084353726357]