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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001728/0.001728, allocations: 112.2 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002022/0.002022, allocations: 180.8 kB / 23.71 MB, free: 4.695 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.476/1.476, allocations: 225.6 MB / 252.5 MB, free: 12.99 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.2092/0.2092, allocations: 38.55 MB / 346.3 MB, free: 2.141 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002126/0.002126, allocations: 68.12 kB / 484.5 MB, free: 11.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4068/0.4089, allocations: 61.3 MB / 0.533 GB, free: 5.582 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest): time 0.00516/0.4141, allocations: 4.376 MB / 0.5373 GB, free: 2.457 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00284/0.4169, allocations: 2.554 MB / 0.5398 GB, free: 444 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001814/0.4171, allocations: 14.81 kB / 0.5398 GB, free: 436 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009571/0.4181, allocations: 355.8 kB / 0.5402 GB, free: 160 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006996/0.4188, allocations: 338.4 kB / 0.5405 GB, free: 15.89 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009336/0.4197, allocations: 391.5 kB / 0.5409 GB, free: 15.61 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008387/0.4205, allocations: 0.623 MB / 0.5415 GB, free: 15.24 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003827/0.4209, allocations: 174.1 kB / 0.5416 GB, free: 15.12 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005363/0.4214, allocations: 271.8 kB / 0.5419 GB, free: 14.96 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003974/0.4218, allocations: 262.5 kB / 0.5421 GB, free: 14.79 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.226e-05/0.4219, allocations: 38.5 kB / 0.5422 GB, free: 14.79 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001034/0.4229, allocations: 0.5585 MB / 0.5427 GB, free: 14.49 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001751/0.4231, allocations: 136.7 kB / 0.5428 GB, free: 14.39 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002374/0.4234, allocations: 196.2 kB / 0.543 GB, free: 14.25 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001066/0.4244, allocations: 0.6932 MB / 0.5437 GB, free: 13.8 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.4244, allocations: 0 / 0.5437 GB, free: 13.8 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.4244, allocations: 0 / 0.5437 GB, free: 13.8 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.136e-06/0.4244, allocations: 1.5 kB / 0.5437 GB, free: 13.8 MB / 398.1 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.001445/0.4259, allocations: 0.716 MB / 0.5444 GB, free: 13.19 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.4259, allocations: 9.719 kB / 0.5444 GB, free: 13.19 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001071/0.427, allocations: 113.7 kB / 0.5445 GB, free: 13.14 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000658/0.4276, allocations: 373 kB / 0.5449 GB, free: 12.83 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.962e-05/0.4277, allocations: 19.03 kB / 0.5449 GB, free: 12.82 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.086e-05/0.4277, allocations: 23.09 kB / 0.5449 GB, free: 12.81 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009109/0.4286, allocations: 450.9 kB / 0.5454 GB, free: 12.51 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.685e-05/0.4287, allocations: 1.125 kB / 0.5454 GB, free: 12.51 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.312e-05/0.4287, allocations: 14.33 kB / 0.5454 GB, free: 12.5 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.573e-05/0.4287, allocations: 23.5 kB / 0.5454 GB, free: 12.48 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001075/0.4298, allocations: 497.8 kB / 0.5459 GB, free: 12.25 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002448/0.4323, allocations: 1.742 MB / 0.5476 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00112/0.4334, allocations: 360.7 kB / 0.5479 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003797/0.4338, allocations: 131.6 kB / 0.548 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.939e-05/0.4338, allocations: 9.469 kB / 0.548 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005899/0.4344, allocations: 288.5 kB / 0.5483 GB, free: 10.21 MB / 398.1 MB Notification: Performance of pre-optimization done (n=30): time 2.204e-06/0.4344, allocations: 0 / 0.5483 GB, free: 10.21 MB / 398.1 MB Notification: Performance of matching and sorting (n=30): time 0.00145/0.4358, allocations: 0.519 MB / 0.5488 GB, free: 9.949 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001576/0.436, allocations: 245.5 kB / 0.5491 GB, free: 9.66 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004349/0.4364, allocations: 359.7 kB / 0.5494 GB, free: 9.426 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.33e-05/0.4365, allocations: 38.27 kB / 0.5494 GB, free: 9.387 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001801/0.4367, allocations: 212.9 kB / 0.5496 GB, free: 9.195 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.837e-05/0.4368, allocations: 102.2 kB / 0.5497 GB, free: 9.109 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001187/0.4369, allocations: 71.91 kB / 0.5498 GB, free: 9.062 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001812/0.4371, allocations: 347.2 kB / 0.5501 GB, free: 8.723 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000383/0.4374, allocations: 141.3 kB / 0.5503 GB, free: 8.652 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004883/0.4379, allocations: 284.2 kB / 0.5505 GB, free: 8.398 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008961/0.4388, allocations: 462.6 kB / 0.551 GB, free: 8.043 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.4388, allocations: 1.094 kB / 0.551 GB, free: 8.043 MB / 398.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001128/0.44, allocations: 0.5238 MB / 0.5515 GB, free: 7.758 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.24e-05/0.44, allocations: 33.42 kB / 0.5515 GB, free: 7.727 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.44, allocations: 4.531 kB / 0.5515 GB, free: 7.727 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.351e-05/0.44, allocations: 9.891 kB / 0.5515 GB, free: 7.723 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003518/0.4404, allocations: 92.39 kB / 0.5516 GB, free: 7.699 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.588e-05/0.4404, allocations: 10.98 kB / 0.5516 GB, free: 7.695 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003135/0.4407, allocations: 55.95 kB / 0.5517 GB, free: 7.66 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.544e-05/0.4408, allocations: 18.11 kB / 0.5517 GB, free: 7.656 MB / 398.1 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.0002419/0.441, allocations: 187.6 kB / 0.5519 GB, free: 7.496 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.08e-05/0.4411, allocations: 46.08 kB / 0.5519 GB, free: 7.469 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001025/0.4421, allocations: 410.6 kB / 0.5523 GB, free: 7.25 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.987e-06/0.4421, allocations: 8.578 kB / 0.5523 GB, free: 7.246 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.922e-06/0.4421, allocations: 2.375 kB / 0.5523 GB, free: 7.246 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.934e-06/0.4421, allocations: 5.297 kB / 0.5523 GB, free: 7.242 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009125/0.443, allocations: 0.8195 MB / 0.5531 GB, free: 6.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.443, allocations: 1.25 kB / 0.5531 GB, free: 6.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002715/0.4433, allocations: 65.39 kB / 0.5532 GB, free: 6.461 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.4433, allocations: 3.375 kB / 0.5532 GB, free: 6.461 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.661e-05/0.4434, allocations: 8.594 kB / 0.5532 GB, free: 6.457 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.4434, allocations: 3.344 kB / 0.5532 GB, free: 6.457 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.36e-05/0.4434, allocations: 6.062 kB / 0.5532 GB, free: 6.453 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000988/0.4444, allocations: 476.1 kB / 0.5537 GB, free: 6.152 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.51e-05/0.4444, allocations: 30.75 kB / 0.5537 GB, free: 6.133 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.829e-05/0.4445, allocations: 17.8 kB / 0.5537 GB, free: 6.121 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002275/0.4447, allocations: 25.33 kB / 0.5538 GB, free: 6.109 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/0.4448, allocations: 43.75 kB / 0.5538 GB, free: 6.078 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.779e-05/0.4449, allocations: 14.12 kB / 0.5538 GB, free: 6.074 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003073/0.4452, allocations: 260.8 kB / 0.5541 GB, free: 5.91 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4452, allocations: 0 / 0.5541 GB, free: 5.91 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004417/0.4456, allocations: 87.05 kB / 0.5541 GB, free: 5.895 MB / 398.1 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 (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.001637/0.4472, allocations: 469.4 kB / 0.5546 GB, free: 5.625 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001004/0.4482, allocations: 403.9 kB / 0.555 GB, free: 5.219 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.4482, allocations: 0 / 0.555 GB, free: 5.219 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004729/0.4487, allocations: 179.4 kB / 0.5551 GB, free: 5.047 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004779/0.4492, allocations: 71.73 kB / 0.5552 GB, free: 4.977 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001321/0.4505, allocations: 0.7126 MB / 0.5559 GB, free: 4.219 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004703/0.451, allocations: 0.8112 MB / 0.5567 GB, free: 3.383 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002541/0.4512, allocations: 87.2 kB / 0.5568 GB, free: 3.301 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001179/0.4514, allocations: 43.42 kB / 0.5568 GB, free: 3.258 MB / 398.1 MB Notification: Performance of SimCode: time 8.82e-07/0.4514, allocations: 3.938 kB / 0.5568 GB, free: 3.254 MB / 398.1 MB Notification: Performance of Templates: time 0.01037/0.4617, allocations: 4.973 MB / 0.5617 GB, free: 14.33 MB / 414.1 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: 5.223369402810931]