Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkControlled.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.001831/0.001831, allocations: 82.58 kB / 20.68 MB, free: 1.035 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.001552/0.001552, allocations: 163.2 kB / 23.95 MB, free: 4.168 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.554/1.554, allocations: 177.2 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.2076/0.2076, allocations: 29.42 MB / 290.1 MB, free: 3.293 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.Generic.Network.NetworkControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkControlled") translateModel(PowerSystems.Examples.Generic.Network.NetworkControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkControlled") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 430.7 MB, free: 1.949 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.656e-05/2.793e-05, allocations: 9.453 kB / 430.7 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkControlled): time 0.01136/0.01138, allocations: 8.782 MB / 439.5 MB, free: 9.117 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009445/0.02083, allocations: 5.035 MB / 444.5 MB, free: 4.062 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001513/0.02234, allocations: 43.69 kB / 444.6 MB, free: 4.02 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003733/0.02607, allocations: 1.116 MB / 445.7 MB, free: 2.898 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004432/0.03051, allocations: 1.411 MB / 447.1 MB, free: 1.48 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001996/0.0325, allocations: 0.6215 MB / 447.7 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.2085/0.241, allocations: 2.04 MB / 449.8 MB, free: 15.58 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001294/0.2423, allocations: 0.821 MB / 450.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001723/0.244, allocations: 1.151 MB / 451.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001404/0.2454, allocations: 0.8673 MB / 452.6 MB, free: 15.26 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000214/0.2456, allocations: 109.5 kB / 452.7 MB, free: 15.26 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002417/0.2481, allocations: 1.334 MB / 454.1 MB, free: 15.16 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006805/0.2487, allocations: 0.627 MB / 454.7 MB, free: 15.1 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006415/0.2494, allocations: 468.9 kB / 455.1 MB, free: 15.05 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003639/0.253, allocations: 2.15 MB / 457.3 MB, free: 14.89 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.253, allocations: 1.781 kB / 457.3 MB, free: 14.89 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.253, allocations: 4.453 kB / 457.3 MB, free: 14.89 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.194e-05/0.253, allocations: 0 / 457.3 MB, free: 14.89 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: 299 * Number of variables: 299 Notification: Performance of Generate backend data structure: time 0.002842/0.2559, allocations: 1.604 MB / 458.9 MB, free: 14.05 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.2559, allocations: 12.92 kB / 458.9 MB, free: 14.05 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003752/0.2597, allocations: 490.5 kB / 459.4 MB, free: 13.97 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001198/0.2609, allocations: 0.6293 MB / 460 MB, free: 13.72 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.309e-05/0.2609, allocations: 82.61 kB / 460.1 MB, free: 13.71 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001923/0.2611, allocations: 112.7 kB / 460.2 MB, free: 13.71 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002803/0.2639, allocations: 1.654 MB / 461.9 MB, free: 13.38 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.175e-05/0.264, allocations: 9.844 kB / 461.9 MB, free: 13.38 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001278/0.2641, allocations: 45.58 kB / 461.9 MB, free: 13.35 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001184/0.2642, allocations: 97.16 kB / 462 MB, free: 13.33 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002811/0.267, allocations: 1.619 MB / 463.6 MB, free: 12.84 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006928/0.274, allocations: 4.361 MB / 468 MB, free: 10.62 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001912/0.2759, allocations: 1.237 MB / 469.2 MB, free: 10.13 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001068/0.2769, allocations: 0.7158 MB / 469.9 MB, free: 9.875 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.099e-05/0.277, allocations: 20.45 kB / 470 MB, free: 9.871 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001262/0.2783, allocations: 0.8363 MB / 470.8 MB, free: 9.566 MB / 366.1 MB Notification: Performance of pre-optimization done (n=126): time 3.216e-06/0.2783, allocations: 0 / 470.8 MB, free: 9.566 MB / 366.1 MB Notification: Performance of matching and sorting (n=137): time 0.01247/0.2908, allocations: 6.109 MB / 476.9 MB, free: 6.719 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.014e-05/0.2908, allocations: 148.7 kB / 477.1 MB, free: 6.559 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005104/0.2913, allocations: 0.5393 MB / 477.6 MB, free: 6.238 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.499e-05/0.2914, allocations: 49.36 kB / 477.6 MB, free: 6.191 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002489/0.2916, allocations: 489.7 kB / 478.1 MB, free: 5.77 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000254/0.2919, allocations: 484.2 kB / 478.6 MB, free: 5.359 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000323/0.2922, allocations: 226.4 kB / 478.8 MB, free: 5.23 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.297e-05/0.2923, allocations: 408.9 kB / 479.2 MB, free: 4.844 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009725/0.2933, allocations: 0.6512 MB / 479.9 MB, free: 4.5 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001042/0.2943, allocations: 0.8614 MB / 480.7 MB, free: 3.898 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001992/0.2963, allocations: 1.497 MB / 482.2 MB, free: 2.367 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.2963, allocations: 0 / 482.2 MB, free: 2.367 MB / 366.1 MB Notification: Performance of matching and sorting (n=162) (initialization): time 0.003449/0.2998, allocations: 2.094 MB / 484.3 MB, free: 288 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.514e-05/0.2998, allocations: 40.34 kB / 484.4 MB, free: 244 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.848e-06/0.2998, allocations: 4 kB / 484.4 MB, free: 240 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001325/0.3011, allocations: 447.8 kB / 484.8 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001226/0.3024, allocations: 251.8 kB / 485 MB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01012/0.3125, allocations: 6.317 MB / 491.4 MB, free: 9.098 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001202/0.3137, allocations: 82.66 kB / 491.4 MB, free: 9.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001408/0.3138, allocations: 51.98 kB / 491.5 MB, free: 8.969 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002088/0.3159, allocations: 0.8984 MB / 492.4 MB, free: 8.062 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001491/0.3174, allocations: 0.8398 MB / 493.2 MB, free: 7.16 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002824/0.3202, allocations: 1.474 MB / 494.7 MB, free: 5.652 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.599e-06/0.3202, allocations: 0 / 494.7 MB, free: 5.652 MB / 382.1 MB Notification: Performance of matching and sorting (n=162) (initialization_lambda0): time 0.004462/0.3247, allocations: 2.019 MB / 496.7 MB, free: 3.645 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.463e-05/0.3248, allocations: 33.7 kB / 496.8 MB, free: 3.605 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.3248, allocations: 0 / 496.8 MB, free: 3.605 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001359/0.3261, allocations: 433.9 kB / 497.2 MB, free: 3.176 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00121/0.3273, allocations: 258.4 kB / 497.4 MB, free: 2.938 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009435/0.3368, allocations: 6.13 MB / 0.4918 GB, free: 12.65 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001068/0.3378, allocations: 80.42 kB / 0.4918 GB, free: 12.57 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000154/0.338, allocations: 56.03 kB / 0.4919 GB, free: 12.52 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 8 (system.initime,disturbance.count,$PRE.disturbance.count,disturbance.T_start,$PRE.disturbance.T_start,$whenCondition1,$whenCondition2,frequencyPowerControl.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,9), (2,29)} Notification: Performance of prepare postOptimizeDAE: time 0.0004032/0.3384, allocations: 250.4 kB / 0.4921 GB, free: 12.28 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002255/0.3386, allocations: 99.34 kB / 0.4922 GB, free: 12.18 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004899/0.3435, allocations: 2.139 MB / 0.4943 GB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.819e-05/0.3435, allocations: 16 kB / 0.4943 GB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.3435, allocations: 4 kB / 0.4943 GB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.756e-05/0.3436, allocations: 7.969 kB / 0.4943 GB, free: 10.03 MB / 398.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007602/0.3512, allocations: 3.471 MB / 0.4977 GB, free: 6.562 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.081e-06/0.3512, allocations: 4 kB / 0.4977 GB, free: 6.559 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009861/0.3522, allocations: 206.7 kB / 0.4979 GB, free: 6.367 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001755/0.3539, allocations: 0.5053 MB / 0.4984 GB, free: 5.855 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00011/0.354, allocations: 35.98 kB / 0.4985 GB, free: 5.82 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01021/0.3642, allocations: 6.655 MB / 0.505 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/0.3642, allocations: 7.75 kB / 0.505 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006238/0.3705, allocations: 3.049 MB / 0.5079 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000647/0.3711, allocations: 223.2 kB / 0.5082 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00018/0.3713, allocations: 32 kB / 0.5082 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008315/0.3721, allocations: 71.92 kB / 0.5083 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003056/0.3724, allocations: 125.1 kB / 0.5084 GB, free: 11.47 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001167/0.3726, allocations: 51.92 kB / 0.5084 GB, free: 11.42 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000561/0.3731, allocations: 374 kB / 0.5088 GB, free: 11.05 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3731, allocations: 0 / 0.5088 GB, free: 11.05 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002378/0.3755, allocations: 0.664 MB / 0.5094 GB, free: 10.39 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 4 (inertia1.phi,inertia1.w,frequencyPowerControl.I.y,system.theta) * Number of discrete variables: 5 (system.initime,$whenCondition2,$whenCondition1,disturbance.T_start,disturbance.count) * Number of discrete states: 1 (disturbance.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,40), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002913/0.3758, allocations: 141.7 kB / 0.5096 GB, free: 10.25 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.006306/0.3821, allocations: 3.22 MB / 0.5127 GB, free: 6.988 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.164e-06/0.3821, allocations: 3.938 kB / 0.5127 GB, free: 6.984 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002421/0.3845, allocations: 1.249 MB / 0.5139 GB, free: 5.73 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001277/0.3858, allocations: 189.1 kB / 0.5141 GB, free: 5.559 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005315/0.3911, allocations: 2.602 MB / 0.5167 GB, free: 2.906 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001037/0.3921, allocations: 0.6654 MB / 0.5173 GB, free: 2.207 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.00102/0.3932, allocations: 302.8 kB / 0.5176 GB, free: 1.906 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00034/0.3935, allocations: 80.47 kB / 0.5177 GB, free: 1.828 MB / 414.1 MB Notification: Performance of SimCode: time 9.22e-07/0.3935, allocations: 4 kB / 0.5177 GB, free: 1.824 MB / 414.1 MB Notification: Performance of Templates: time 0.03908/0.4326, allocations: 20.78 MB / 0.538 GB, free: 13.24 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkControlled.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkControlled.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkControlled.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkControlled.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkControlled.sim & ./PowerSystems_PowerSystems.Examples.Generic.Network.NetworkControlled -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkControlled.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.869089271873236] Failed to read output from testmodel.py, exit status != 0: 0.44213444367051125 0.457898774 0.20152834500000003 Calling exit ...