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.0009649/0.0009649, allocations: 78.66 kB / 21.42 MB, free: 3.074 MB / 18.57 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.001011/0.001011, allocations: 165.8 kB / 24.82 MB, free: 9.266 MB / 18.57 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 0.9769/0.9769, allocations: 177.1 MB / 205.3 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] 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.2541/0.2541, allocations: 29.42 MB / 291.2 MB, free: 2.457 MB / 266.7 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.573e-06/1.573e-06, allocations: 0 / 370.1 MB, free: 10.74 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.281e-05/2.439e-05, allocations: 6.312 kB / 370.1 MB, free: 10.73 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkControlled): time 0.00762/0.007644, allocations: 8.597 MB / 378.7 MB, free: 2.094 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.005613/0.01326, allocations: 4.061 MB / 382.8 MB, free: 14.02 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009647/0.01422, allocations: 35.81 kB / 382.8 MB, free: 13.98 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001419/0.01564, allocations: 0.7931 MB / 383.6 MB, free: 13.18 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002835/0.01848, allocations: 1.395 MB / 385 MB, free: 11.78 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00136/0.01984, allocations: 0.6114 MB / 385.6 MB, free: 11.17 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002123/0.02196, allocations: 2.007 MB / 387.6 MB, free: 9.156 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001069/0.02303, allocations: 0.8295 MB / 388.4 MB, free: 8.305 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001652/0.02468, allocations: 1.126 MB / 389.6 MB, free: 7.176 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00116/0.02584, allocations: 0.8724 MB / 390.4 MB, free: 6.301 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001953/0.02604, allocations: 108 kB / 390.5 MB, free: 6.195 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002016/0.02805, allocations: 1.313 MB / 391.8 MB, free: 4.879 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004744/0.02853, allocations: 0.6429 MB / 392.5 MB, free: 4.234 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004938/0.02902, allocations: 466.9 kB / 392.9 MB, free: 3.777 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002533/0.03155, allocations: 1.717 MB / 394.7 MB, free: 2.055 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.03156, allocations: 3.938 kB / 394.7 MB, free: 2.051 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.03156, allocations: 0 / 394.7 MB, free: 2.051 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.007e-05/0.0316, allocations: 4 kB / 394.7 MB, free: 2.047 MB / 362.7 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.002078/0.03368, allocations: 1.715 MB / 396.4 MB, free: 288 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/0.03372, allocations: 15.98 kB / 396.4 MB, free: 272 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002106/0.03583, allocations: 0.5965 MB / 397 MB, free: 15.67 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008028/0.03663, allocations: 0.5996 MB / 397.6 MB, free: 15.04 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.894e-05/0.03668, allocations: 86.53 kB / 397.7 MB, free: 14.95 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001257/0.03681, allocations: 116.3 kB / 397.8 MB, free: 14.84 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001105/0.03791, allocations: 0.9967 MB / 398.8 MB, free: 13.75 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.023e-05/0.03794, allocations: 4.125 kB / 398.8 MB, free: 13.75 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.887e-05/0.03801, allocations: 48.73 kB / 398.8 MB, free: 13.7 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.047e-05/0.03808, allocations: 90.22 kB / 398.9 MB, free: 13.61 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007101/0.03879, allocations: 0.5109 MB / 399.4 MB, free: 13.09 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004069/0.04286, allocations: 3.767 MB / 403.2 MB, free: 9.211 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007351/0.0436, allocations: 0.6764 MB / 403.9 MB, free: 8.508 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002999/0.0439, allocations: 290.8 kB / 404.2 MB, free: 8.215 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.3e-05/0.04396, allocations: 44.91 kB / 404.2 MB, free: 8.172 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005014/0.04446, allocations: 472.7 kB / 404.7 MB, free: 7.688 MB / 378.7 MB Notification: Performance of pre-optimization done (n=126): time 2.915e-06/0.04446, allocations: 0 / 404.7 MB, free: 7.688 MB / 378.7 MB Notification: Performance of matching and sorting (n=137): time 0.005541/0.05, allocations: 3.33 MB / 408 MB, free: 4.293 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.525e-05/0.05009, allocations: 145.8 kB / 408.2 MB, free: 4.121 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004234/0.05051, allocations: 0.5296 MB / 408.7 MB, free: 3.574 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.271e-05/0.05058, allocations: 49.69 kB / 408.7 MB, free: 3.52 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000282/0.05086, allocations: 0.5273 MB / 409.3 MB, free: 2.984 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002836/0.05114, allocations: 495.7 kB / 409.7 MB, free: 2.496 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002506/0.05139, allocations: 240.4 kB / 410 MB, free: 2.254 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001913/0.05158, allocations: 0.5897 MB / 410.6 MB, free: 1.652 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002858/0.05187, allocations: 222.5 kB / 410.8 MB, free: 1.422 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003737/0.05224, allocations: 486.8 kB / 411.3 MB, free: 0.875 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006349/0.05288, allocations: 0.6483 MB / 411.9 MB, free: 176 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.05288, allocations: 0 / 411.9 MB, free: 176 kB / 378.7 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.001528/0.05441, allocations: 1.17 MB / 413.1 MB, free: 14.97 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.475e-05/0.05444, allocations: 37.69 kB / 413.1 MB, free: 14.93 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.05445, allocations: 0 / 413.1 MB, free: 14.93 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006746/0.05513, allocations: 346.9 kB / 413.5 MB, free: 14.58 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005148/0.05564, allocations: 231.7 kB / 413.7 MB, free: 14.36 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004241/0.05988, allocations: 5.658 MB / 419.3 MB, free: 8.492 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004642/0.06035, allocations: 43.98 kB / 419.4 MB, free: 8.449 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.071e-05/0.06041, allocations: 43.97 kB / 419.4 MB, free: 8.406 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004452/0.06085, allocations: 363 kB / 419.8 MB, free: 8.043 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003578/0.06121, allocations: 474.8 kB / 420.2 MB, free: 7.5 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006143/0.06182, allocations: 0.66 MB / 420.9 MB, free: 6.785 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.939e-06/0.06183, allocations: 3.938 kB / 420.9 MB, free: 6.781 MB / 394.7 MB Notification: Performance of matching and sorting (n=161) (initialization_lambda0): time 0.001299/0.06313, allocations: 1.127 MB / 422 MB, free: 5.625 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.888e-05/0.06317, allocations: 45.62 kB / 422.1 MB, free: 5.574 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.06317, allocations: 4 kB / 422.1 MB, free: 5.57 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005994/0.06377, allocations: 323.8 kB / 422.4 MB, free: 5.246 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005047/0.06428, allocations: 227.7 kB / 422.6 MB, free: 5.023 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0037/0.06798, allocations: 5.604 MB / 428.2 MB, free: 15.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004486/0.06843, allocations: 43.98 kB / 428.3 MB, free: 15.17 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.823e-05/0.06848, allocations: 40 kB / 428.3 MB, free: 15.13 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 8 (system.initime,frequencyPowerControl.I.local_reset,disturbance.count,$PRE.disturbance.count,disturbance.T_start,$PRE.disturbance.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 118 * 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.0002523/0.06874, allocations: 339.1 kB / 428.6 MB, free: 14.8 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001416/0.06888, allocations: 139.4 kB / 428.8 MB, free: 14.66 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001758/0.07064, allocations: 1.21 MB / 430 MB, free: 13.43 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.094e-05/0.07065, allocations: 16 kB / 430 MB, free: 13.42 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/0.07065, allocations: 3.938 kB / 430 MB, free: 13.41 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.073e-05/0.07066, allocations: 3.984 kB / 430 MB, free: 13.41 MB / 410.7 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.002969/0.07363, allocations: 2.208 MB / 432.2 MB, free: 11.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.07363, allocations: 4 kB / 432.2 MB, free: 11.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004139/0.07405, allocations: 187.7 kB / 432.4 MB, free: 10.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008416/0.07489, allocations: 423.1 kB / 432.8 MB, free: 10.51 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.753e-05/0.07496, allocations: 35.97 kB / 432.8 MB, free: 10.47 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00428/0.07924, allocations: 5.919 MB / 438.8 MB, free: 4.324 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.07924, allocations: 4 kB / 438.8 MB, free: 4.32 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001906/0.08115, allocations: 1.614 MB / 440.4 MB, free: 2.629 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002881/0.08144, allocations: 183.2 kB / 440.6 MB, free: 2.449 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.021e-05/0.08151, allocations: 28 kB / 440.6 MB, free: 2.422 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003079/0.08181, allocations: 47.97 kB / 440.6 MB, free: 2.375 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001799/0.08199, allocations: 136.8 kB / 440.8 MB, free: 2.242 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.829e-05/0.08205, allocations: 39.92 kB / 440.8 MB, free: 2.203 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002172/0.08227, allocations: 326.7 kB / 441.1 MB, free: 1.883 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.08227, allocations: 0 / 441.1 MB, free: 1.883 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001398/0.08367, allocations: 0.668 MB / 441.8 MB, free: 1.215 MB / 410.7 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.0001664/0.08383, allocations: 135 kB / 441.9 MB, free: 1.07 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.1328/0.2166, allocations: 2.333 MB / 444.3 MB, free: 101.2 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.695e-06/0.2166, allocations: 0 / 444.3 MB, free: 101.2 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009417/0.2176, allocations: 1.015 MB / 445.3 MB, free: 100.8 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007051/0.2183, allocations: 178.4 kB / 445.5 MB, free: 100.8 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002561/0.2208, allocations: 2.171 MB / 447.6 MB, free: 99.92 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002608/0.2211, allocations: 356.5 kB / 448 MB, free: 99.84 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003333/0.2214, allocations: 123.6 kB / 448.1 MB, free: 99.82 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003182/0.2218, allocations: 244.2 kB / 448.3 MB, free: 99.77 MB / 410.7 MB Notification: Performance of SimCode: time 1.132e-06/0.2218, allocations: 0 / 448.3 MB, free: 99.77 MB / 410.7 MB Notification: Performance of Templates: time 0.02432/0.2461, allocations: 22.3 MB / 470.6 MB, free: 97.81 MB / 410.7 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=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkControlled.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.583929771091789]