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.000763/0.000763, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.004099/0.004099, allocations: 163 kB / 24.7 MB, free: 8.91 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.8402/0.8402, allocations: 177.1 MB / 205 MB, free: 5.738 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.2003/0.2003, allocations: 29.41 MB / 290.8 MB, free: 2.426 MB / 266.7 MB " [Timeout remaining time 180] 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.493e-06/1.493e-06, allocations: 0 / 431.5 MB, free: 13.09 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.049e-05/2.198e-05, allocations: 3.828 kB / 431.5 MB, free: 13.09 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest): time 0.003583/0.003605, allocations: 4.157 MB / 435.6 MB, free: 8.906 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002443/0.006048, allocations: 2.469 MB / 438.1 MB, free: 6.426 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001844/0.006232, allocations: 15.88 kB / 438.1 MB, free: 6.41 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006599/0.006892, allocations: 334.4 kB / 438.4 MB, free: 6.082 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00089/0.007782, allocations: 394 kB / 438.8 MB, free: 5.695 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005953/0.008377, allocations: 366.5 kB / 439.2 MB, free: 5.336 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004306/0.008808, allocations: 0.635 MB / 439.8 MB, free: 4.699 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002747/0.009083, allocations: 222.1 kB / 440 MB, free: 4.477 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003859/0.009469, allocations: 366.9 kB / 440.4 MB, free: 4.117 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002239/0.009692, allocations: 231.4 kB / 440.6 MB, free: 3.891 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.793e-05/0.00973, allocations: 47.94 kB / 440.7 MB, free: 3.844 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004376/0.01017, allocations: 0.4985 MB / 441.2 MB, free: 3.344 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001068/0.01027, allocations: 155.5 kB / 441.3 MB, free: 3.191 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001022/0.01038, allocations: 131.6 kB / 441.4 MB, free: 3.062 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006144/0.01099, allocations: 0.7907 MB / 442.2 MB, free: 2.27 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.853e-06/0.01099, allocations: 0 / 442.2 MB, free: 2.27 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.01099, allocations: 4 kB / 442.2 MB, free: 2.266 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.04e-06/0.011, allocations: 0 / 442.2 MB, free: 2.266 MB / 410.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.0008251/0.01183, allocations: 0.7372 MB / 443 MB, free: 1.492 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.956e-05/0.01185, allocations: 11.98 kB / 443 MB, free: 1.48 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005282/0.01238, allocations: 116.6 kB / 443.1 MB, free: 1.367 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003586/0.01274, allocations: 341.5 kB / 443.4 MB, free: 1.012 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.959e-05/0.01276, allocations: 12.88 kB / 443.4 MB, free: 1 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.006e-05/0.01279, allocations: 24.38 kB / 443.5 MB, free: 0.9766 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005141/0.01331, allocations: 498.7 kB / 444 MB, free: 460 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.01332, allocations: 3.938 kB / 444 MB, free: 456 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.405e-05/0.01334, allocations: 8 kB / 444 MB, free: 448 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.67e-05/0.01337, allocations: 24.48 kB / 444 MB, free: 424 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1477/0.161, allocations: 0.5277 MB / 444.5 MB, free: 54.47 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001299/0.1623, allocations: 1.656 MB / 446.2 MB, free: 53.51 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006036/0.1629, allocations: 407.3 kB / 446.6 MB, free: 53.36 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001763/0.1631, allocations: 146.3 kB / 446.7 MB, free: 53.31 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.214e-05/0.1631, allocations: 9.75 kB / 446.7 MB, free: 53.31 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002956/0.1634, allocations: 283.6 kB / 447 MB, free: 53.15 MB / 410.7 MB Notification: Performance of pre-optimization done (n=30): time 2.144e-06/0.1634, allocations: 0 / 447 MB, free: 53.15 MB / 410.7 MB Notification: Performance of matching and sorting (n=30): time 0.0006958/0.1641, allocations: 0.5616 MB / 447.6 MB, free: 52.98 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.745e-05/0.1642, allocations: 240.3 kB / 447.8 MB, free: 52.7 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002284/0.1644, allocations: 409.8 kB / 448.2 MB, free: 52.48 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.039e-05/0.1644, allocations: 36.89 kB / 448.2 MB, free: 52.45 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.734e-05/0.1645, allocations: 213 kB / 448.4 MB, free: 52.29 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.592e-05/0.1645, allocations: 99.95 kB / 448.5 MB, free: 52.22 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.705e-05/0.1646, allocations: 72.08 kB / 448.6 MB, free: 52.18 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.128e-05/0.1646, allocations: 350.1 kB / 449 MB, free: 51.85 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001985/0.1648, allocations: 186.2 kB / 449.1 MB, free: 51.77 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002176/0.1651, allocations: 341.5 kB / 449.5 MB, free: 51.49 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004107/0.1655, allocations: 490.8 kB / 450 MB, free: 51.18 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.1655, allocations: 2.297 kB / 450 MB, free: 51.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005327/0.166, allocations: 0.58 MB / 450.5 MB, free: 50.91 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.58e-05/0.166, allocations: 42.95 kB / 450.6 MB, free: 50.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.166, allocations: 3.125 kB / 450.6 MB, free: 50.88 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.1661, allocations: 6.25 kB / 450.6 MB, free: 50.88 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001684/0.1662, allocations: 91 kB / 450.7 MB, free: 50.87 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.1662, allocations: 13.62 kB / 450.7 MB, free: 50.87 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001345/0.1664, allocations: 58.48 kB / 450.7 MB, free: 50.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.773e-05/0.1664, allocations: 22.91 kB / 450.8 MB, free: 50.84 MB / 410.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.000104/0.1665, allocations: 187.2 kB / 450.9 MB, free: 50.69 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.495e-05/0.1665, allocations: 42.73 kB / 451 MB, free: 50.67 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000501/0.167, allocations: 483.4 kB / 451.5 MB, free: 50.49 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.828e-06/0.167, allocations: 3.219 kB / 451.5 MB, free: 50.49 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.167, allocations: 3.094 kB / 451.5 MB, free: 50.49 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.167, allocations: 13.53 kB / 451.5 MB, free: 50.49 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003861/0.1674, allocations: 0.7791 MB / 452.3 MB, free: 49.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.1674, allocations: 0 / 452.3 MB, free: 49.88 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001405/0.1676, allocations: 74.31 kB / 452.3 MB, free: 49.88 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.1676, allocations: 3.438 kB / 452.3 MB, free: 49.88 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.609e-05/0.1676, allocations: 19.44 kB / 452.4 MB, free: 49.87 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.1676, allocations: 6.344 kB / 452.4 MB, free: 49.87 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.1676, allocations: 0 / 452.4 MB, free: 49.87 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004561/0.168, allocations: 0.5128 MB / 452.9 MB, free: 49.61 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.131e-05/0.1681, allocations: 49.95 kB / 452.9 MB, free: 49.59 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.735e-05/0.1681, allocations: 18.41 kB / 452.9 MB, free: 49.58 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.413e-05/0.1682, allocations: 27.28 kB / 453 MB, free: 49.57 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.598e-05/0.1683, allocations: 38.66 kB / 453 MB, free: 49.56 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.79e-05/0.1683, allocations: 20.67 kB / 453 MB, free: 49.56 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00014/0.1684, allocations: 278 kB / 453.3 MB, free: 49.42 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1684, allocations: 0 / 453.3 MB, free: 49.42 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002657/0.1687, allocations: 119 kB / 453.4 MB, free: 49.4 MB / 410.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.0007666/0.1695, allocations: 0.5575 MB / 454 MB, free: 49.23 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004748/0.1699, allocations: 471.6 kB / 454.4 MB, free: 49.02 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1699, allocations: 3.281 kB / 454.4 MB, free: 49.02 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002184/0.1702, allocations: 196.8 kB / 454.6 MB, free: 48.96 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002637/0.1704, allocations: 78.33 kB / 454.7 MB, free: 48.92 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007038/0.1711, allocations: 0.7743 MB / 455.5 MB, free: 48.46 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.86e-05/0.1712, allocations: 212.8 kB / 455.7 MB, free: 48.37 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.894e-05/0.1713, allocations: 56.2 kB / 455.7 MB, free: 48.36 MB / 410.7 MB Notification: Performance of SimCode: time 5.11e-07/0.1713, allocations: 0 / 455.7 MB, free: 48.36 MB / 410.7 MB Notification: Performance of Templates: time 0.004529/0.1758, allocations: 6.206 MB / 461.9 MB, free: 47.65 MB / 410.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.883880549110472]