Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest") translateModel(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009374/0.0009374, allocations: 171.6 kB / 16.07 MB, free: 5.695 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.194/1.194, allocations: 205.4 MB / 222.2 MB, free: 9.039 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007/0.0007002, allocations: 92.8 kB / 270.6 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1646/0.1646, allocations: 38.07 MB / 356.9 MB, free: 1.727 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003825/0.0003826, allocations: 8 kB / 423.3 MB, free: 37.99 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2273/0.2277, allocations: 56.32 MB / 479.6 MB, free: 9.223 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest): time 0.004141/0.2319, allocations: 4.313 MB / 483.9 MB, free: 6.414 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003034/0.2349, allocations: 2.45 MB / 486.4 MB, free: 4.684 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003289/0.2353, allocations: 25.88 kB / 486.4 MB, free: 4.672 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003881/0.2357, allocations: 86.83 kB / 486.5 MB, free: 4.629 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008179/0.2365, allocations: 343.7 kB / 486.8 MB, free: 4.453 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000921/0.2375, allocations: 344.1 kB / 487.2 MB, free: 4.289 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000723/0.2382, allocations: 0.6441 MB / 487.8 MB, free: 4.031 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000534/0.2387, allocations: 332.5 kB / 488.1 MB, free: 3.816 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004266/0.2392, allocations: 212.6 kB / 488.3 MB, free: 3.73 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003354/0.2395, allocations: 230.4 kB / 488.6 MB, free: 3.641 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.752e-05/0.2396, allocations: 20.91 kB / 488.6 MB, free: 3.637 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001043/0.2406, allocations: 0.605 MB / 489.2 MB, free: 3.418 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001303/0.2408, allocations: 108.6 kB / 489.3 MB, free: 3.379 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001607/0.2409, allocations: 187.6 kB / 489.5 MB, free: 3.25 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007444/0.2417, allocations: 0.5252 MB / 490 MB, free: 3.113 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.2417, allocations: 1.375 kB / 490 MB, free: 3.113 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.086e-06/0.2417, allocations: 0.8906 kB / 490 MB, free: 3.113 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.813e-06/0.2417, allocations: 3.938 kB / 490 MB, free: 3.109 MB / 314.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.001066/0.2428, allocations: 0.6998 MB / 490.7 MB, free: 2.539 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.2428, allocations: 13 kB / 490.7 MB, free: 2.535 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009567/0.2438, allocations: 120.2 kB / 490.8 MB, free: 2.504 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005082/0.2443, allocations: 409.5 kB / 491.2 MB, free: 2.188 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.473e-05/0.2444, allocations: 20.58 kB / 491.3 MB, free: 2.18 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.842e-05/0.2444, allocations: 27.25 kB / 491.3 MB, free: 2.168 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007973/0.2452, allocations: 462.1 kB / 491.7 MB, free: 1.941 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.2452, allocations: 0 / 491.7 MB, free: 1.941 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.679e-05/0.2453, allocations: 8 kB / 491.8 MB, free: 1.938 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.143e-05/0.2453, allocations: 22.56 kB / 491.8 MB, free: 1.934 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009725/0.2463, allocations: 0.5023 MB / 492.3 MB, free: 1.797 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001774/0.2481, allocations: 1.777 MB / 494.1 MB, free: 444 kB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009707/0.2491, allocations: 411.3 kB / 494.5 MB, free: 280 kB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003629/0.2495, allocations: 157.5 kB / 494.6 MB, free: 216 kB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.008e-05/0.2495, allocations: 11.3 kB / 494.6 MB, free: 212 kB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005302/0.2501, allocations: 292.2 kB / 494.9 MB, free: 40 kB / 314.7 MB Notification: Performance of pre-optimization done (n=30): time 2.645e-06/0.2501, allocations: 1.531 kB / 494.9 MB, free: 40 kB / 314.7 MB Notification: Performance of matching and sorting (n=30): time 0.001415/0.2515, allocations: 0.5454 MB / 495.5 MB, free: 15.85 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001166/0.2516, allocations: 250.5 kB / 495.7 MB, free: 15.55 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004446/0.2521, allocations: 356.5 kB / 496 MB, free: 15.37 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.301e-05/0.2521, allocations: 34.16 kB / 496.1 MB, free: 15.33 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001409/0.2523, allocations: 201.6 kB / 496.3 MB, free: 15.16 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.736e-05/0.2524, allocations: 100.5 kB / 496.4 MB, free: 15.09 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.631e-05/0.2524, allocations: 9.156 kB / 496.4 MB, free: 15.09 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.2525, allocations: 344.7 kB / 496.7 MB, free: 14.76 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003754/0.2529, allocations: 155 kB / 496.9 MB, free: 14.71 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004639/0.2534, allocations: 291.9 kB / 497.2 MB, free: 14.49 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009016/0.2543, allocations: 489.8 kB / 497.6 MB, free: 14.16 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.2543, allocations: 1.281 kB / 497.6 MB, free: 14.16 MB / 330.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001099/0.2554, allocations: 0.5422 MB / 498.2 MB, free: 13.93 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.213e-05/0.2555, allocations: 36.28 kB / 498.2 MB, free: 13.9 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/0.2555, allocations: 5.078 kB / 498.2 MB, free: 13.9 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/0.2555, allocations: 10.78 kB / 498.2 MB, free: 13.9 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003604/0.2559, allocations: 104.4 kB / 498.3 MB, free: 13.88 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.646e-05/0.2559, allocations: 7.516 kB / 498.3 MB, free: 13.88 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003319/0.2562, allocations: 58.11 kB / 498.4 MB, free: 13.86 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.896e-05/0.2563, allocations: 14.55 kB / 498.4 MB, free: 13.86 MB / 330.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 ($whenCondition2,$PRE.windFarm.wind.nextTimeEvent,$whenCondition1,windFarm.wind.nextTimeEvent,$PRE.windFarm.wind.nextTimeEventScaled,windFarm.wind.nextTimeEventScaled,$PRE.windFarm.disturbance.T_start,windFarm.disturbance.T_start,$PRE.windFarm.disturbance.count,windFarm.disturbance.count,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002497/0.2566, allocations: 193.5 kB / 498.6 MB, free: 13.7 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.857e-05/0.2566, allocations: 50.31 kB / 498.6 MB, free: 13.67 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001091/0.2567, allocations: 45.38 kB / 498.7 MB, free: 13.64 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.962e-06/0.2568, allocations: 4.219 kB / 498.7 MB, free: 13.64 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.478e-06/0.2568, allocations: 3.953 kB / 498.7 MB, free: 13.64 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.2568, allocations: 2.969 kB / 498.7 MB, free: 13.64 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008389/0.2576, allocations: 0.8587 MB / 499.6 MB, free: 12.93 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.2576, allocations: 1.859 kB / 499.6 MB, free: 12.93 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002621/0.2579, allocations: 70.5 kB / 499.6 MB, free: 12.93 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.504e-06/0.2579, allocations: 6.453 kB / 499.6 MB, free: 12.92 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.802e-05/0.258, allocations: 11.16 kB / 499.6 MB, free: 12.92 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.235e-06/0.258, allocations: 11.95 kB / 499.7 MB, free: 12.91 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.258, allocations: 1.312 kB / 499.7 MB, free: 12.91 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008922/0.2589, allocations: 483.5 kB / 0.4884 GB, free: 12.67 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.359e-05/0.259, allocations: 123.9 kB / 0.4885 GB, free: 12.55 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.151e-05/0.259, allocations: 15 kB / 0.4885 GB, free: 12.54 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002173/0.2593, allocations: 30.19 kB / 0.4886 GB, free: 12.54 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.849e-05/0.2594, allocations: 34.78 kB / 0.4886 GB, free: 12.53 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.938e-05/0.2594, allocations: 12.08 kB / 0.4886 GB, free: 12.53 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002944/0.2597, allocations: 256.5 kB / 0.4889 GB, free: 12.39 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2597, allocations: 0 / 0.4889 GB, free: 12.39 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004376/0.2602, allocations: 88.67 kB / 0.4889 GB, free: 12.38 MB / 330.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.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009231/0.2611, allocations: 465 kB / 0.4894 GB, free: 12.05 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000963/0.2621, allocations: 437.4 kB / 0.4898 GB, free: 11.86 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2621, allocations: 1.281 kB / 0.4898 GB, free: 11.86 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004319/0.2625, allocations: 191.1 kB / 0.49 GB, free: 11.78 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005063/0.263, allocations: 72.56 kB / 0.4901 GB, free: 11.74 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001219/0.2643, allocations: 0.83 MB / 0.4909 GB, free: 11.12 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003672/0.2647, allocations: 0.8119 MB / 0.4917 GB, free: 10.36 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001448/0.2648, allocations: 49.27 kB / 0.4917 GB, free: 10.34 MB / 330.7 MB Notification: Performance of SimCode: time 4.91e-07/0.2648, allocations: 0 / 0.4917 GB, free: 10.34 MB / 330.7 MB Notification: Performance of Templates: time 0.008635/0.2735, allocations: 5.464 MB / 0.497 GB, free: 7.523 MB / 330.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.sim & ./PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe 2>&1)