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.001419/0.001419, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 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.00159/0.00159, allocations: 215.9 kB / 23.73 MB, free: 4.16 MB / 14.72 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.507/1.507, allocations: 230.6 MB / 257.5 MB, free: 7.82 MB / 206.1 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.1891/0.1891, allocations: 38.55 MB / 352.5 MB, free: 12.41 MB / 286.1 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: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002133/0.002133, allocations: 63.91 kB / 492.5 MB, free: 4.719 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2995/0.3016, allocations: 62.47 MB / 0.5419 GB, free: 264 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest): time 0.00632/0.308, allocations: 4.184 MB / 0.546 GB, free: 13.04 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004478/0.3124, allocations: 2.467 MB / 0.5484 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002979/0.3127, allocations: 15.91 kB / 0.5484 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001187/0.3139, allocations: 332 kB / 0.5488 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009131/0.3148, allocations: 381.9 kB / 0.5491 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009064/0.3158, allocations: 368.6 kB / 0.5495 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007714/0.3165, allocations: 0.6302 MB / 0.5501 GB, free: 9.961 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004097/0.3169, allocations: 213.9 kB / 0.5503 GB, free: 9.809 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000557/0.3175, allocations: 281.8 kB / 0.5506 GB, free: 9.637 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003678/0.3179, allocations: 243.4 kB / 0.5508 GB, free: 9.488 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.742e-05/0.3179, allocations: 41.97 kB / 0.5508 GB, free: 9.488 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001015/0.3189, allocations: 0.4974 MB / 0.5513 GB, free: 9.23 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001835/0.3191, allocations: 152.6 kB / 0.5515 GB, free: 9.121 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002012/0.3193, allocations: 153.4 kB / 0.5516 GB, free: 9.02 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001105/0.3204, allocations: 0.7621 MB / 0.5524 GB, free: 8.523 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3204, allocations: 4 kB / 0.5524 GB, free: 8.52 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.3204, allocations: 0 / 0.5524 GB, free: 8.52 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.136e-06/0.3204, allocations: 0 / 0.5524 GB, free: 8.52 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.001464/0.3219, allocations: 0.7306 MB / 0.5531 GB, free: 7.906 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.82e-05/0.322, allocations: 17.78 kB / 0.5531 GB, free: 7.898 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.091e-05/0.322, allocations: 55.92 kB / 0.5532 GB, free: 7.844 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00108/0.3231, allocations: 129.8 kB / 0.5533 GB, free: 7.777 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006335/0.3238, allocations: 330.1 kB / 0.5536 GB, free: 7.5 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.139e-05/0.3238, allocations: 23.17 kB / 0.5536 GB, free: 7.488 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.36e-05/0.3238, allocations: 23.28 kB / 0.5536 GB, free: 7.48 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009434/0.3248, allocations: 0.4929 MB / 0.5541 GB, free: 7.121 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.3248, allocations: 1.219 kB / 0.5541 GB, free: 7.121 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.671e-05/0.3248, allocations: 6.188 kB / 0.5541 GB, free: 7.117 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-05/0.3249, allocations: 20.23 kB / 0.5541 GB, free: 7.113 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001148/0.326, allocations: 0.5297 MB / 0.5547 GB, free: 6.852 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002494/0.3285, allocations: 1.714 MB / 0.5563 GB, free: 5.316 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001192/0.3297, allocations: 412 kB / 0.5567 GB, free: 4.898 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004024/0.3301, allocations: 145.6 kB / 0.5569 GB, free: 4.75 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.688e-05/0.3301, allocations: 4 kB / 0.5569 GB, free: 4.746 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006652/0.3308, allocations: 313.4 kB / 0.5572 GB, free: 4.406 MB / 398.1 MB Notification: Performance of pre-optimization done (n=30): time 2.214e-06/0.3308, allocations: 0 / 0.5572 GB, free: 4.406 MB / 398.1 MB Notification: Performance of matching and sorting (n=30): time 0.001497/0.3323, allocations: 0.5512 MB / 0.5577 GB, free: 3.852 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001556/0.3325, allocations: 239.3 kB / 0.5579 GB, free: 3.562 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005456/0.333, allocations: 421.6 kB / 0.5583 GB, free: 3.141 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.689e-05/0.3331, allocations: 37.7 kB / 0.5584 GB, free: 3.098 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001784/0.3332, allocations: 208.5 kB / 0.5586 GB, free: 2.891 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001089/0.3333, allocations: 111.1 kB / 0.5587 GB, free: 2.781 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001265/0.3335, allocations: 73.62 kB / 0.5587 GB, free: 2.703 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001782/0.3336, allocations: 350.8 kB / 0.5591 GB, free: 2.352 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004444/0.3341, allocations: 181.9 kB / 0.5593 GB, free: 2.164 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005648/0.3347, allocations: 345.2 kB / 0.5596 GB, free: 1.754 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009838/0.3356, allocations: 493.5 kB / 0.5601 GB, free: 1.207 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.3356, allocations: 4 kB / 0.5601 GB, free: 1.203 MB / 398.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001265/0.3369, allocations: 0.5824 MB / 0.5606 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.592e-05/0.337, allocations: 37.69 kB / 0.5607 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/0.337, allocations: 7.938 kB / 0.5607 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.337, allocations: 4 kB / 0.5607 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003844/0.3374, allocations: 91.88 kB / 0.5608 GB, free: 468 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.513e-05/0.3374, allocations: 11.94 kB / 0.5608 GB, free: 456 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000323/0.3377, allocations: 59.95 kB / 0.5608 GB, free: 396 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.829e-05/0.3377, allocations: 20 kB / 0.5608 GB, free: 376 kB / 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.0002478/0.338, allocations: 197.7 kB / 0.561 GB, free: 168 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.082e-05/0.3381, allocations: 39.7 kB / 0.5611 GB, free: 128 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001156/0.3392, allocations: 480.7 kB / 0.5615 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.3392, allocations: 8 kB / 0.5615 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.064e-06/0.3392, allocations: 4 kB / 0.5615 GB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/0.3393, allocations: 4 kB / 0.5615 GB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001033/0.3403, allocations: 0.8225 MB / 0.5624 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/0.3403, allocations: 4 kB / 0.5624 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003229/0.3406, allocations: 75.89 kB / 0.5624 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.3406, allocations: 0 / 0.5624 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.115e-05/0.3407, allocations: 15.98 kB / 0.5624 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.463e-06/0.3407, allocations: 12.11 kB / 0.5625 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.3407, allocations: 0 / 0.5625 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001128/0.3418, allocations: 0.5239 MB / 0.563 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.378e-05/0.3419, allocations: 43.64 kB / 0.563 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.379e-05/0.342, allocations: 19.98 kB / 0.563 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000237/0.3422, allocations: 27.97 kB / 0.5631 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/0.3423, allocations: 39.89 kB / 0.5631 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.712e-05/0.3423, allocations: 19.98 kB / 0.5631 GB, free: 13.93 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003664/0.3427, allocations: 291.1 kB / 0.5634 GB, free: 13.66 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3427, allocations: 0 / 0.5634 GB, free: 13.66 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004851/0.3432, allocations: 115.8 kB / 0.5635 GB, free: 13.54 MB / 414.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 (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.003285/0.3465, allocations: 1.508 MB / 0.565 GB, free: 12.21 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001069/0.3475, allocations: 481.8 kB / 0.5654 GB, free: 11.72 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.3475, allocations: 0 / 0.5654 GB, free: 11.72 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005146/0.3481, allocations: 207.7 kB / 0.5656 GB, free: 11.52 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004838/0.3485, allocations: 79.33 kB / 0.5657 GB, free: 11.44 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006288/0.3548, allocations: 4.051 MB / 0.5697 GB, free: 7.125 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002449/0.3551, allocations: 214 kB / 0.5699 GB, free: 6.898 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002971/0.3554, allocations: 99.17 kB / 0.57 GB, free: 6.805 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002414/0.3556, allocations: 131.4 kB / 0.5701 GB, free: 6.676 MB / 414.1 MB Notification: Performance of SimCode: time 7.42e-07/0.3556, allocations: 4 kB / 0.5701 GB, free: 6.672 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03881/0.3944, allocations: 10.46 MB / 0.5803 GB, free: 12.27 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/11.87, allocations: 11.91 kB / 0.5803 GB, free: 12.26 MB / 430.1 MB " [Timeout remaining time 648] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.mat","/var/lib/jenkins1/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: 14.799467805307359]