Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.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.001549/0.001549, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.002318/0.002318, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 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 1.487/1.487, allocations: 177.1 MB / 204.6 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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.3701/0.3701, allocations: 29.42 MB / 290.5 MB, free: 2.434 MB / 266.7 MB " [Timeout remaining time 179] Using package PowerSystems with version 2.0.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.WindFarmHVDCTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="Time|inverter.I|windFarm.p.1.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.482e-06/1.482e-06, allocations: 0 / 368.9 MB, free: 11.34 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.361e-05/2.51e-05, allocations: 2.312 kB / 368.9 MB, free: 11.34 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest): time 0.006727/0.006752, allocations: 4.176 MB / 373.1 MB, free: 7.137 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004639/0.01139, allocations: 2.453 MB / 375.5 MB, free: 4.672 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000286/0.01168, allocations: 15.88 kB / 375.5 MB, free: 4.656 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001209/0.01289, allocations: 338.4 kB / 375.9 MB, free: 4.324 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001019/0.01391, allocations: 394 kB / 376.2 MB, free: 3.938 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000929/0.01483, allocations: 370.5 kB / 376.6 MB, free: 3.574 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008975/0.01573, allocations: 0.635 MB / 377.2 MB, free: 2.938 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004665/0.0162, allocations: 218.1 kB / 377.4 MB, free: 2.73 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007821/0.01698, allocations: 378.5 kB / 377.8 MB, free: 2.363 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004561/0.01744, allocations: 231.4 kB / 378 MB, free: 2.137 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 9.346e-05/0.01753, allocations: 44 kB / 378.1 MB, free: 2.094 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009633/0.01849, allocations: 0.5024 MB / 378.6 MB, free: 1.59 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000194/0.01869, allocations: 147.6 kB / 378.7 MB, free: 1.445 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002075/0.01889, allocations: 139.6 kB / 378.9 MB, free: 1.309 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001297/0.02019, allocations: 0.7906 MB / 379.7 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.02019, allocations: 0 / 379.7 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.0202, allocations: 4 kB / 379.7 MB, free: 0.5117 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.183e-05/0.02021, allocations: 0 / 379.7 MB, free: 0.5117 MB / 346.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.001631/0.02184, allocations: 0.7333 MB / 380.4 MB, free: 15.74 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.02188, allocations: 11.98 kB / 380.4 MB, free: 15.73 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00125/0.02313, allocations: 196.2 kB / 380.6 MB, free: 15.54 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007091/0.02384, allocations: 353.4 kB / 380.9 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.997e-05/0.02388, allocations: 16.86 kB / 381 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.589e-05/0.02394, allocations: 32.36 kB / 381 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001035/0.02498, allocations: 486.8 kB / 381.5 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.523e-05/0.02499, allocations: 3.938 kB / 381.5 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.292e-05/0.02504, allocations: 8 kB / 381.5 MB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.047e-05/0.02509, allocations: 28.48 kB / 381.5 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001246/0.02633, allocations: 0.5209 MB / 382 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002552/0.02888, allocations: 1.676 MB / 383.7 MB, free: 12.27 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001236/0.03012, allocations: 401.1 kB / 384.1 MB, free: 11.86 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004272/0.03055, allocations: 153.5 kB / 384.2 MB, free: 11.7 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.074e-05/0.03058, allocations: 12 kB / 384.3 MB, free: 11.69 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006683/0.03125, allocations: 289.2 kB / 384.5 MB, free: 11.38 MB / 362.7 MB Notification: Performance of pre-optimization done (n=30): time 1.533e-06/0.03125, allocations: 0 / 384.5 MB, free: 11.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=30): time 0.00161/0.03286, allocations: 0.5704 MB / 385.1 MB, free: 10.8 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001923/0.03305, allocations: 239.3 kB / 385.3 MB, free: 10.51 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005481/0.0336, allocations: 401.6 kB / 385.7 MB, free: 10.11 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.759e-05/0.03364, allocations: 41.64 kB / 385.8 MB, free: 10.07 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002004/0.03385, allocations: 204.5 kB / 386 MB, free: 9.863 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001164/0.03396, allocations: 107.2 kB / 386.1 MB, free: 9.758 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000146/0.03411, allocations: 77.64 kB / 386.2 MB, free: 9.676 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000235/0.03434, allocations: 347.1 kB / 386.5 MB, free: 9.328 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004611/0.0348, allocations: 182 kB / 386.7 MB, free: 9.141 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006254/0.03543, allocations: 345.1 kB / 387 MB, free: 8.73 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001019/0.03645, allocations: 493.6 kB / 387.5 MB, free: 8.184 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.03645, allocations: 0 / 387.5 MB, free: 8.184 MB / 362.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001328/0.03778, allocations: 0.5976 MB / 388.1 MB, free: 7.566 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.781e-05/0.03783, allocations: 33.7 kB / 388.1 MB, free: 7.527 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/0.03784, allocations: 4.562 kB / 388.1 MB, free: 7.523 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.143e-05/0.03788, allocations: 12 kB / 388.1 MB, free: 7.512 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004006/0.03828, allocations: 95.81 kB / 388.2 MB, free: 7.418 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.455e-05/0.03829, allocations: 11.92 kB / 388.2 MB, free: 7.406 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003054/0.0386, allocations: 51.75 kB / 388.3 MB, free: 7.355 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.818e-05/0.03864, allocations: 16 kB / 388.3 MB, free: 7.34 MB / 362.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 (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.0002694/0.03891, allocations: 197.6 kB / 388.5 MB, free: 7.137 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001114/0.03902, allocations: 51.75 kB / 388.6 MB, free: 7.086 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001228/0.04025, allocations: 480.6 kB / 389 MB, free: 6.605 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.527e-06/0.04026, allocations: 8 kB / 389 MB, free: 6.598 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.625e-05/0.04027, allocations: 11.92 kB / 389 MB, free: 6.586 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.04028, allocations: 4 kB / 389 MB, free: 6.582 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001039/0.04132, allocations: 0.7764 MB / 389.8 MB, free: 5.754 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.04132, allocations: 8.031 kB / 389.8 MB, free: 5.746 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003268/0.04165, allocations: 75.83 kB / 389.9 MB, free: 5.672 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.04165, allocations: 0 / 389.9 MB, free: 5.672 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.034e-05/0.04169, allocations: 19.98 kB / 389.9 MB, free: 5.652 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.99e-06/0.0417, allocations: 4 kB / 389.9 MB, free: 5.648 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.0417, allocations: 0 / 389.9 MB, free: 5.648 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001183/0.04288, allocations: 0.524 MB / 390.5 MB, free: 5.09 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.744e-05/0.04296, allocations: 51.59 kB / 390.5 MB, free: 5.039 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.177e-05/0.04303, allocations: 11.98 kB / 390.5 MB, free: 5.027 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002419/0.04328, allocations: 31.97 kB / 390.5 MB, free: 4.996 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001091/0.04338, allocations: 35.88 kB / 390.6 MB, free: 4.961 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.64e-05/0.04342, allocations: 16 kB / 390.6 MB, free: 4.945 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003651/0.04379, allocations: 283.2 kB / 390.9 MB, free: 4.668 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.04379, allocations: 4 kB / 390.9 MB, free: 4.664 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005064/0.04429, allocations: 119.8 kB / 391 MB, free: 4.547 MB / 362.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.disturbance.count,windFarm.wind.nextTimeEvent,windFarm.wind.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 34 * 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.002356/0.04665, allocations: 0.5463 MB / 391.5 MB, free: 4.219 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001106/0.04775, allocations: 477.2 kB / 392 MB, free: 3.734 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.04776, allocations: 0 / 392 MB, free: 3.734 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005446/0.0483, allocations: 211.7 kB / 392.2 MB, free: 3.527 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004922/0.04879, allocations: 90.36 kB / 392.3 MB, free: 3.449 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001482/0.05028, allocations: 0.7525 MB / 393.1 MB, free: 2.648 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002641/0.05054, allocations: 217.8 kB / 393.3 MB, free: 2.418 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002551/0.05079, allocations: 87.2 kB / 393.4 MB, free: 2.328 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001546/0.05095, allocations: 48.48 kB / 393.4 MB, free: 2.281 MB / 362.7 MB Notification: Performance of SimCode: time 4.01e-07/0.05095, allocations: 0 / 393.4 MB, free: 2.281 MB / 362.7 MB Notification: Performance of Templates: time 0.01231/0.06326, allocations: 5.63 MB / 399 MB, free: 12.71 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.975800275919028]