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.0008276/0.0008276, allocations: 79.7 kB / 20.67 MB, free: 3.891 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.001313/0.001313, allocations: 174 kB / 23.95 MB, free: 0.6094 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.8723/0.8723, allocations: 177.1 MB / 204.3 MB, free: 5.723 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.2135/0.2135, allocations: 29.4 MB / 290.1 MB, free: 2.434 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: "" <> buildModelFMU(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_PowerWorld_Test_WindFarmHVDCTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_PowerWorld_Test_WindFarmHVDCTest",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.549e-05/1.718e-05, allocations: 2.281 kB / 430.2 MB, free: 13.58 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest): time 0.003839/0.003856, allocations: 4.157 MB / 434.4 MB, free: 9.398 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002258/0.006114, allocations: 2.473 MB / 436.8 MB, free: 6.914 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000163/0.006277, allocations: 11.88 kB / 436.9 MB, free: 6.902 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006846/0.006961, allocations: 342.4 kB / 437.2 MB, free: 6.566 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006125/0.007574, allocations: 382 kB / 437.6 MB, free: 6.191 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005458/0.00812, allocations: 374.4 kB / 437.9 MB, free: 5.824 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005151/0.008635, allocations: 0.635 MB / 438.6 MB, free: 5.188 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003308/0.008965, allocations: 222.1 kB / 438.8 MB, free: 4.965 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004643/0.00943, allocations: 366.9 kB / 439.1 MB, free: 4.605 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000255/0.009685, allocations: 238.9 kB / 439.4 MB, free: 4.375 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.98e-05/0.009725, allocations: 40 kB / 439.4 MB, free: 4.336 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005782/0.0103, allocations: 0.5023 MB / 439.9 MB, free: 3.832 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000122/0.01042, allocations: 159.5 kB / 440.1 MB, free: 3.676 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001042/0.01053, allocations: 135.7 kB / 440.2 MB, free: 3.543 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007217/0.01125, allocations: 0.7868 MB / 441 MB, free: 2.754 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.01125, allocations: 0 / 441 MB, free: 2.754 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.01125, allocations: 0 / 441 MB, free: 2.754 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.01126, allocations: 0 / 441 MB, free: 2.754 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.0009417/0.0122, allocations: 0.7372 MB / 441.7 MB, free: 1.98 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.01224, allocations: 15.98 kB / 441.7 MB, free: 1.965 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.648e-05/0.01229, allocations: 62.73 kB / 441.8 MB, free: 1.895 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006607/0.01295, allocations: 124.5 kB / 441.9 MB, free: 1.773 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003832/0.01333, allocations: 321.6 kB / 442.2 MB, free: 1.438 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.304e-05/0.01336, allocations: 28.86 kB / 442.3 MB, free: 1.41 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.889e-05/0.01338, allocations: 24.36 kB / 442.3 MB, free: 1.387 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005236/0.01391, allocations: 498.5 kB / 442.8 MB, free: 0.8594 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.01392, allocations: 4 kB / 442.8 MB, free: 0.8555 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.359e-05/0.01394, allocations: 7.984 kB / 442.8 MB, free: 0.8477 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.73e-05/0.01397, allocations: 20.5 kB / 442.8 MB, free: 0.8281 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006141/0.01458, allocations: 0.5287 MB / 443.3 MB, free: 304 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1398/0.1543, allocations: 1.703 MB / 445 MB, free: 53.39 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006375/0.155, allocations: 407.5 kB / 445.4 MB, free: 53.32 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001819/0.1552, allocations: 149.8 kB / 445.6 MB, free: 53.26 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.02e-05/0.1552, allocations: 3.406 kB / 445.6 MB, free: 53.26 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003026/0.1555, allocations: 285 kB / 445.9 MB, free: 53.11 MB / 410.7 MB Notification: Performance of pre-optimization done (n=30): time 2.094e-06/0.1555, allocations: 3 kB / 445.9 MB, free: 53.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=30): time 0.0007513/0.1562, allocations: 0.5567 MB / 446.4 MB, free: 52.95 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.719e-05/0.1563, allocations: 241.3 kB / 446.7 MB, free: 52.66 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002609/0.1565, allocations: 422.9 kB / 447.1 MB, free: 52.46 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.16e-05/0.1566, allocations: 33.08 kB / 447.1 MB, free: 52.43 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.141e-05/0.1566, allocations: 212.8 kB / 447.3 MB, free: 52.26 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.056e-05/0.1567, allocations: 107 kB / 447.4 MB, free: 52.2 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.899e-05/0.1568, allocations: 73.58 kB / 447.5 MB, free: 52.15 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.918e-05/0.1568, allocations: 346.9 kB / 447.8 MB, free: 51.82 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002059/0.157, allocations: 190 kB / 448 MB, free: 51.74 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002166/0.1572, allocations: 338.2 kB / 448.3 MB, free: 51.46 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004033/0.1576, allocations: 496.5 kB / 448.8 MB, free: 51.15 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.1576, allocations: 3.375 kB / 448.8 MB, free: 51.15 MB / 410.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005477/0.1582, allocations: 0.5873 MB / 449.4 MB, free: 50.88 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.595e-05/0.1582, allocations: 38.67 kB / 449.5 MB, free: 50.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.1582, allocations: 6.438 kB / 449.5 MB, free: 50.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.1582, allocations: 3.312 kB / 449.5 MB, free: 50.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001756/0.1584, allocations: 95.05 kB / 449.6 MB, free: 50.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.1584, allocations: 13.67 kB / 449.6 MB, free: 50.83 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001526/0.1586, allocations: 56.3 kB / 449.6 MB, free: 50.81 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.784e-05/0.1586, allocations: 16.53 kB / 449.6 MB, free: 50.81 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.0001135/0.1587, allocations: 189.5 kB / 449.8 MB, free: 50.66 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.513e-05/0.1587, allocations: 38.92 kB / 449.9 MB, free: 50.64 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005243/0.1592, allocations: 488.6 kB / 450.3 MB, free: 50.46 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.1592, allocations: 6.5 kB / 450.4 MB, free: 50.46 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.1593, allocations: 0 / 450.4 MB, free: 50.46 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.1593, allocations: 10.5 kB / 450.4 MB, free: 50.45 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004233/0.1597, allocations: 0.8209 MB / 451.2 MB, free: 49.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.1597, allocations: 3.188 kB / 451.2 MB, free: 49.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001492/0.1598, allocations: 74.66 kB / 451.3 MB, free: 49.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.1598, allocations: 9.594 kB / 451.3 MB, free: 49.79 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.512e-05/0.1599, allocations: 16.95 kB / 451.3 MB, free: 49.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.1599, allocations: 3.25 kB / 451.3 MB, free: 49.79 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.1599, allocations: 3.188 kB / 451.3 MB, free: 49.79 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004724/0.1603, allocations: 0.5158 MB / 451.8 MB, free: 49.53 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.482e-05/0.1604, allocations: 47.97 kB / 451.9 MB, free: 49.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.752e-05/0.1604, allocations: 20.33 kB / 451.9 MB, free: 49.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.994e-05/0.1605, allocations: 27.62 kB / 451.9 MB, free: 49.49 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.977e-05/0.1606, allocations: 34.06 kB / 451.9 MB, free: 49.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.901e-05/0.1606, allocations: 18.19 kB / 452 MB, free: 49.48 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001565/0.1607, allocations: 295.1 kB / 452.2 MB, free: 49.33 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1607, allocations: 3.156 kB / 452.2 MB, free: 49.33 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002885/0.161, allocations: 117.1 kB / 452.4 MB, free: 49.32 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.001302/0.1623, allocations: 1.506 MB / 453.9 MB, free: 48.46 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004871/0.1628, allocations: 478.5 kB / 454.3 MB, free: 48.24 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.1628, allocations: 0 / 454.3 MB, free: 48.24 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002264/0.163, allocations: 208.5 kB / 454.5 MB, free: 48.17 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002799/0.1633, allocations: 72.94 kB / 454.6 MB, free: 48.14 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002798/0.1661, allocations: 4.036 MB / 458.6 MB, free: 45.58 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001038/0.1662, allocations: 214.9 kB / 458.9 MB, free: 45.48 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001466/0.1664, allocations: 94.3 kB / 458.9 MB, free: 45.46 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001333/0.1665, allocations: 142.8 kB / 459.1 MB, free: 45.37 MB / 410.7 MB Notification: Performance of SimCode: time 5.81e-07/0.1665, allocations: 0 / 459.1 MB, free: 45.37 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01808/0.1846, allocations: 10.62 MB / 469.7 MB, free: 43.27 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.885/7.07, allocations: 0 / 469.7 MB, free: 43.27 MB / 410.7 MB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_PowerWorld_Test_WindFarmHVDCTest_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_PowerWorld_Test_WindFarmHVDCTest.fmu > PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe 2>&1) [Timeout 52.5] 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: 8.933279810473323]