Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: "" <> buildModelFMU(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_PowerWorld_Test_WindFarmHVDCTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_PowerWorld_Test_WindFarmHVDCTest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008874/0.0008874, allocations: 91.36 kB / 16.65 MB, free: 6.234 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009695/0.0009696, allocations: 177.5 kB / 17.56 MB, free: 5.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.323/1.323, allocations: 205.4 MB / 223.7 MB, free: 13.06 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1676/0.1676, allocations: 38.05 MB / 310.1 MB, free: 5.91 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00052/0.0005201, allocations: 12 kB / 377.3 MB, free: 2.613 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2131/0.2136, allocations: 56.33 MB / 433.6 MB, free: 18.64 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest): time 0.003429/0.2171, allocations: 4.481 MB / 438.1 MB, free: 14.14 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002329/0.2194, allocations: 2.611 MB / 440.7 MB, free: 11.52 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001634/0.2196, allocations: 19.88 kB / 440.7 MB, free: 11.5 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002784/0.2199, allocations: 71.55 kB / 440.8 MB, free: 11.43 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004573/0.2204, allocations: 318.9 kB / 441.1 MB, free: 11.11 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004979/0.2209, allocations: 319.3 kB / 441.4 MB, free: 10.8 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004966/0.2214, allocations: 0.7794 MB / 442.2 MB, free: 10.02 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004722/0.2219, allocations: 333 kB / 442.5 MB, free: 9.68 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003552/0.2222, allocations: 211 kB / 442.7 MB, free: 9.473 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002585/0.2225, allocations: 235.1 kB / 442.9 MB, free: 9.242 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.652e-05/0.2225, allocations: 16 kB / 443 MB, free: 9.227 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006265/0.2232, allocations: 0.643 MB / 443.6 MB, free: 8.582 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.718e-05/0.2233, allocations: 123.6 kB / 443.7 MB, free: 8.461 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001197/0.2234, allocations: 192.7 kB / 443.9 MB, free: 8.266 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005356/0.2239, allocations: 0.7048 MB / 444.6 MB, free: 7.559 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.224, allocations: 0 / 444.6 MB, free: 7.559 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.224, allocations: 0 / 444.6 MB, free: 7.559 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.96e-06/0.224, allocations: 0 / 444.6 MB, free: 7.559 MB / 318.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.0009423/0.2249, allocations: 0.7124 MB / 445.3 MB, free: 6.793 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.206e-05/0.225, allocations: 8.031 kB / 445.3 MB, free: 6.785 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.843e-05/0.225, allocations: 62.66 kB / 445.4 MB, free: 6.715 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009049/0.2259, allocations: 112.4 kB / 445.5 MB, free: 6.605 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004068/0.2264, allocations: 407.7 kB / 445.9 MB, free: 6.168 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.984e-05/0.2264, allocations: 20.92 kB / 445.9 MB, free: 6.148 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.04e-05/0.2264, allocations: 31.92 kB / 446 MB, free: 6.117 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006669/0.2271, allocations: 469.2 kB / 446.4 MB, free: 5.625 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.2271, allocations: 0 / 446.4 MB, free: 5.625 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.211e-05/0.2272, allocations: 8 kB / 446.4 MB, free: 5.617 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.204e-05/0.2272, allocations: 20.42 kB / 446.4 MB, free: 5.598 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008378/0.228, allocations: 0.5012 MB / 446.9 MB, free: 5.094 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001462/0.2295, allocations: 1.783 MB / 448.7 MB, free: 3.203 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008843/0.2304, allocations: 409.1 kB / 449.1 MB, free: 2.785 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003199/0.2307, allocations: 157.6 kB / 449.3 MB, free: 2.625 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.95e-05/0.2308, allocations: 8 kB / 449.3 MB, free: 2.617 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004723/0.2313, allocations: 289.1 kB / 449.6 MB, free: 2.301 MB / 318.1 MB Notification: Performance of pre-optimization done (n=30): time 1.643e-06/0.2313, allocations: 0 / 449.6 MB, free: 2.301 MB / 318.1 MB Notification: Performance of matching and sorting (n=30): time 0.001216/0.2325, allocations: 0.5559 MB / 450.1 MB, free: 1.738 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.983e-05/0.2326, allocations: 235.3 kB / 450.4 MB, free: 1.453 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003139/0.2329, allocations: 361.5 kB / 450.7 MB, free: 1.094 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.097e-05/0.233, allocations: 41.73 kB / 450.7 MB, free: 1.047 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/0.2331, allocations: 208.3 kB / 451 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.892e-05/0.2331, allocations: 90.73 kB / 451 MB, free: 0.75 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.531e-05/0.2332, allocations: 41.64 kB / 451.1 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.837e-05/0.2333, allocations: 350.8 kB / 451.4 MB, free: 360 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003445/0.2336, allocations: 160.3 kB / 451.6 MB, free: 196 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004337/0.2341, allocations: 289.5 kB / 451.9 MB, free: 15.85 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008988/0.235, allocations: 489.7 kB / 452.3 MB, free: 15.3 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.235, allocations: 0 / 452.3 MB, free: 15.3 MB / 334.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001065/0.2361, allocations: 0.5508 MB / 452.9 MB, free: 14.74 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.055e-05/0.2361, allocations: 33.7 kB / 452.9 MB, free: 14.7 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/0.2361, allocations: 4 kB / 452.9 MB, free: 14.7 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.202e-05/0.2362, allocations: 8 kB / 452.9 MB, free: 14.69 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003453/0.2365, allocations: 95.88 kB / 453 MB, free: 14.59 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.633e-05/0.2365, allocations: 15.92 kB / 453 MB, free: 14.58 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002968/0.2368, allocations: 59.75 kB / 453.1 MB, free: 14.52 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.324e-05/0.2369, allocations: 20 kB / 453.1 MB, free: 14.5 MB / 334.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.0002074/0.2371, allocations: 189.7 kB / 453.3 MB, free: 14.3 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.282e-05/0.2372, allocations: 43.5 kB / 453.4 MB, free: 14.26 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001022/0.2373, allocations: 51.28 kB / 453.4 MB, free: 14.2 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.2373, allocations: 4 kB / 453.4 MB, free: 14.2 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.2373, allocations: 8 kB / 453.4 MB, free: 14.19 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.193e-06/0.2373, allocations: 3.984 kB / 453.4 MB, free: 14.19 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007486/0.2381, allocations: 0.8544 MB / 454.3 MB, free: 13.26 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.2381, allocations: 4 kB / 454.3 MB, free: 13.26 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002507/0.2383, allocations: 68.02 kB / 454.3 MB, free: 13.19 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.2383, allocations: 4 kB / 454.3 MB, free: 13.19 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.411e-05/0.2384, allocations: 8 kB / 454.4 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.2384, allocations: 11.92 kB / 454.4 MB, free: 13.17 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.2384, allocations: 4 kB / 454.4 MB, free: 13.16 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008776/0.2393, allocations: 486 kB / 454.8 MB, free: 12.65 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.04e-05/0.2394, allocations: 120.6 kB / 455 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.57e-05/0.2394, allocations: 8 kB / 455 MB, free: 12.51 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002199/0.2397, allocations: 35.97 kB / 455 MB, free: 12.47 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.596e-05/0.2397, allocations: 43.83 kB / 455 MB, free: 12.43 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.403e-05/0.2398, allocations: 8 kB / 455.1 MB, free: 12.42 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002412/0.24, allocations: 259.2 kB / 455.3 MB, free: 12.17 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.24, allocations: 0 / 455.3 MB, free: 12.17 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003913/0.2404, allocations: 91.84 kB / 455.4 MB, free: 12.08 MB / 334.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.wind.nextTimeEventScaled,windFarm.disturbance.count,windFarm.wind.nextTimeEvent) * 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.001985/0.2424, allocations: 1.357 MB / 456.8 MB, free: 10.74 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008741/0.2433, allocations: 439.9 kB / 457.2 MB, free: 10.3 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2433, allocations: 3.938 kB / 457.2 MB, free: 10.3 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004377/0.2438, allocations: 204.5 kB / 457.4 MB, free: 10.1 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004942/0.2443, allocations: 73.84 kB / 457.5 MB, free: 10.02 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005099/0.2494, allocations: 3.948 MB / 461.4 MB, free: 5.848 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003319/0.2497, allocations: 0.8112 MB / 462.2 MB, free: 5.008 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002492/0.25, allocations: 95.19 kB / 462.3 MB, free: 4.918 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001847/0.2502, allocations: 123.4 kB / 462.4 MB, free: 4.797 MB / 334.1 MB Notification: Performance of SimCode: time 3.7e-07/0.2502, allocations: 0 / 462.4 MB, free: 4.797 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02092/0.2711, allocations: 7.781 MB / 470.2 MB, free: 13 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001875/0.2713, allocations: 255.8 kB / 470.5 MB, free: 12.73 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.811/2.082, allocations: 3.938 kB / 470.5 MB, free: 12.73 MB / 350.1 MB (rm -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_PowerWorld_Test_WindFarmHVDCTest_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_PowerWorld_Test_WindFarmHVDCTest.fmu > PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe 2>&1)