Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest.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.001273/0.001273, allocations: 85.17 kB / 20.68 MB, free: 1.023 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.002206/0.002206, allocations: 163.3 kB / 23.95 MB, free: 4.156 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.486/1.486, allocations: 177.1 MB / 204.3 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1765/0.1765, allocations: 29.45 MB / 290.1 MB, free: 3.27 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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.WindFarmGridTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest") translateModel(PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 430.7 MB, free: 1.938 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.224e-05/3.41e-05, allocations: 2.281 kB / 430.7 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest): time 0.006247/0.006281, allocations: 3.657 MB / 434.4 MB, free: 14.25 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003737/0.01002, allocations: 2.054 MB / 436.4 MB, free: 12.19 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000169/0.01019, allocations: 15.94 kB / 436.4 MB, free: 12.17 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009371/0.01112, allocations: 234.7 kB / 436.7 MB, free: 11.94 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009223/0.01205, allocations: 322.4 kB / 437 MB, free: 11.62 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006813/0.01273, allocations: 258.9 kB / 437.2 MB, free: 11.37 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006831/0.01341, allocations: 0.5415 MB / 437.8 MB, free: 10.83 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003894/0.0138, allocations: 199.8 kB / 438 MB, free: 10.63 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005991/0.0144, allocations: 323.2 kB / 438.3 MB, free: 10.31 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003312/0.01473, allocations: 199.4 kB / 438.5 MB, free: 10.12 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.286e-05/0.0148, allocations: 47.94 kB / 438.5 MB, free: 10.07 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006486/0.01545, allocations: 391 kB / 438.9 MB, free: 9.688 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001791/0.01563, allocations: 143.5 kB / 439.1 MB, free: 9.547 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001731/0.0158, allocations: 123.7 kB / 439.2 MB, free: 9.426 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001105/0.01691, allocations: 0.7322 MB / 439.9 MB, free: 8.691 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.01691, allocations: 0 / 439.9 MB, free: 8.691 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.01692, allocations: 4 kB / 439.9 MB, free: 8.688 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.374e-06/0.01692, allocations: 0 / 439.9 MB, free: 8.688 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001437/0.01836, allocations: 0.6983 MB / 440.6 MB, free: 7.949 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.0184, allocations: 11.98 kB / 440.6 MB, free: 7.938 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008792/0.01928, allocations: 112.6 kB / 440.7 MB, free: 7.828 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005887/0.01987, allocations: 345.4 kB / 441.1 MB, free: 7.469 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.762e-05/0.0199, allocations: 16.88 kB / 441.1 MB, free: 7.453 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.027e-05/0.01995, allocations: 20.38 kB / 441.1 MB, free: 7.434 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009679/0.02091, allocations: 493 kB / 441.6 MB, free: 6.918 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/0.02093, allocations: 7.938 kB / 441.6 MB, free: 6.91 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.951e-05/0.02097, allocations: 8 kB / 441.6 MB, free: 6.902 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.974e-05/0.02101, allocations: 16.48 kB / 441.6 MB, free: 6.887 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001449/0.02246, allocations: 0.5405 MB / 442.2 MB, free: 6.348 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002528/0.02498, allocations: 1.57 MB / 443.7 MB, free: 4.699 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001252/0.02624, allocations: 393 kB / 444.1 MB, free: 4.297 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004138/0.02665, allocations: 153.6 kB / 444.3 MB, free: 4.141 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.376e-05/0.02667, allocations: 0 / 444.3 MB, free: 4.141 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007376/0.02741, allocations: 298.9 kB / 444.6 MB, free: 3.809 MB / 366.1 MB Notification: Performance of pre-optimization done (n=31): time 1.713e-06/0.02741, allocations: 0 / 444.6 MB, free: 3.809 MB / 366.1 MB Notification: Performance of matching and sorting (n=31): time 0.001623/0.02904, allocations: 0.5743 MB / 445.1 MB, free: 3.23 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000189/0.02923, allocations: 290.7 kB / 445.4 MB, free: 2.879 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004781/0.0297, allocations: 384.4 kB / 445.8 MB, free: 2.488 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.365e-05/0.02979, allocations: 42.03 kB / 445.8 MB, free: 2.441 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001751/0.02996, allocations: 208.5 kB / 446 MB, free: 2.234 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001191/0.03008, allocations: 111.1 kB / 446.1 MB, free: 2.125 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001256/0.03021, allocations: 69.69 kB / 446.2 MB, free: 2.051 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001846/0.03039, allocations: 346.8 kB / 446.5 MB, free: 1.703 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000509/0.0309, allocations: 181.6 kB / 446.7 MB, free: 1.52 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006152/0.03152, allocations: 336.4 kB / 447.1 MB, free: 1.117 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001083/0.0326, allocations: 489.6 kB / 447.5 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.0326, allocations: 0 / 447.5 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.1833/0.216, allocations: 0.567 MB / 448.1 MB, free: 29.57 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.214e-05/0.216, allocations: 38.11 kB / 448.1 MB, free: 29.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/0.216, allocations: 4.438 kB / 448.1 MB, free: 29.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.334e-05/0.216, allocations: 10.78 kB / 448.1 MB, free: 29.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004148/0.2164, allocations: 87.38 kB / 448.2 MB, free: 29.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.318e-05/0.2165, allocations: 10.75 kB / 448.2 MB, free: 29.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003537/0.2168, allocations: 50.33 kB / 448.3 MB, free: 29.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.603e-05/0.2168, allocations: 17.33 kB / 448.3 MB, free: 29.54 MB / 366.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 (43): * Single equations (assignments): 42 * 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.0002165/0.2171, allocations: 194.2 kB / 448.5 MB, free: 29.43 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.535e-05/0.2171, allocations: 39.12 kB / 448.5 MB, free: 29.43 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00104/0.2182, allocations: 460.3 kB / 449 MB, free: 29.39 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.335e-06/0.2182, allocations: 9.5 kB / 449 MB, free: 29.39 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.2182, allocations: 3.25 kB / 449 MB, free: 29.39 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/0.2182, allocations: 4.141 kB / 449 MB, free: 29.39 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007116/0.2189, allocations: 0.9644 MB / 450 MB, free: 28.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/0.2189, allocations: 5.391 kB / 450 MB, free: 28.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002937/0.2192, allocations: 77.39 kB / 450 MB, free: 28.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.75e-06/0.2192, allocations: 5.031 kB / 450.1 MB, free: 28.75 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.685e-05/0.2193, allocations: 12.34 kB / 450.1 MB, free: 28.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/0.2193, allocations: 7.641 kB / 450.1 MB, free: 28.75 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.2193, allocations: 6.406 kB / 450.1 MB, free: 28.74 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009518/0.2202, allocations: 0.5227 MB / 450.6 MB, free: 28.51 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.212e-05/0.2203, allocations: 47.92 kB / 450.6 MB, free: 28.49 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.375e-05/0.2203, allocations: 17.09 kB / 450.7 MB, free: 28.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002296/0.2206, allocations: 32.11 kB / 450.7 MB, free: 28.48 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001025/0.2207, allocations: 47.53 kB / 450.7 MB, free: 28.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.079e-05/0.2207, allocations: 21.42 kB / 450.8 MB, free: 28.46 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002514/0.2209, allocations: 273.3 kB / 451 MB, free: 28.32 MB / 366.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2209, allocations: 3.812 kB / 451 MB, free: 28.32 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004376/0.2214, allocations: 111.8 kB / 451.1 MB, free: 28.3 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (40): * Single equations (assignments): 35 * 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.00182/0.2232, allocations: 0.5547 MB / 451.7 MB, free: 28.15 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009006/0.2241, allocations: 474.5 kB / 452.2 MB, free: 27.94 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2241, allocations: 3.812 kB / 452.2 MB, free: 27.94 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004774/0.2246, allocations: 213 kB / 452.4 MB, free: 27.88 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004623/0.225, allocations: 81.19 kB / 452.5 MB, free: 27.85 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001074/0.2261, allocations: 0.7348 MB / 453.2 MB, free: 27.41 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001844/0.2263, allocations: 220.1 kB / 453.4 MB, free: 27.31 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000212/0.2265, allocations: 82.66 kB / 453.5 MB, free: 27.3 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001273/0.2266, allocations: 52.45 kB / 453.5 MB, free: 27.29 MB / 366.1 MB Notification: Performance of SimCode: time 3.3e-07/0.2266, allocations: 0 / 453.5 MB, free: 27.29 MB / 366.1 MB Notification: Performance of Templates: time 0.01117/0.2378, allocations: 5.552 MB / 459.1 MB, free: 26.6 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest.sim & ./PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.964962378144264] Failed to read output from testmodel.py, exit status != 0: 0.2465440146625042 0.25605069 0.236952037 Calling exit ...