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.0009174/0.0009174, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.001022/0.001022, allocations: 165 kB / 24.56 MB, free: 12 kB / 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.9813/0.9813, allocations: 177.1 MB / 205 MB, free: 5.617 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.2295/0.2295, allocations: 29.42 MB / 290.9 MB, free: 2.488 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 2.034e-06/2.034e-06, allocations: 0 / 369.6 MB, free: 10.98 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.765e-05/2.969e-05, allocations: 2.312 kB / 369.6 MB, free: 10.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkControlled): time 0.007281/0.00731, allocations: 8.708 MB / 378.3 MB, free: 2.23 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.005495/0.0128, allocations: 4.135 MB / 382.5 MB, free: 14.08 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007325/0.01354, allocations: 31.81 kB / 382.5 MB, free: 14.05 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00125/0.01479, allocations: 0.8048 MB / 383.3 MB, free: 13.24 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002514/0.0173, allocations: 1.388 MB / 384.7 MB, free: 11.84 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001244/0.01855, allocations: 0.6153 MB / 385.3 MB, free: 11.23 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002004/0.02055, allocations: 2.011 MB / 387.3 MB, free: 9.211 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001292/0.02184, allocations: 0.8256 MB / 388.2 MB, free: 8.363 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0016/0.02344, allocations: 1.133 MB / 389.3 MB, free: 7.227 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001014/0.02446, allocations: 0.8685 MB / 390.2 MB, free: 6.355 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001735/0.02463, allocations: 112 kB / 390.3 MB, free: 6.246 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001921/0.02655, allocations: 1.305 MB / 391.6 MB, free: 4.938 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004644/0.02701, allocations: 0.6351 MB / 392.2 MB, free: 4.301 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005852/0.0276, allocations: 474.8 kB / 392.7 MB, free: 3.836 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002561/0.03016, allocations: 1.721 MB / 394.4 MB, free: 2.109 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.03017, allocations: 0 / 394.4 MB, free: 2.109 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.03017, allocations: 0 / 394.4 MB, free: 2.109 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.662e-05/0.03022, allocations: 4 kB / 394.4 MB, free: 2.105 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.00259/0.0328, allocations: 1.707 MB / 396.1 MB, free: 356 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.319e-05/0.03286, allocations: 11.98 kB / 396.1 MB, free: 344 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002148/0.03501, allocations: 0.6749 MB / 396.8 MB, free: 15.66 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000812/0.03582, allocations: 0.6347 MB / 397.4 MB, free: 15 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.892e-05/0.03587, allocations: 82.53 kB / 397.5 MB, free: 14.91 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001265/0.03599, allocations: 116.3 kB / 397.6 MB, free: 14.8 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001405/0.0374, allocations: 1.075 MB / 398.7 MB, free: 13.64 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.691e-05/0.03744, allocations: 8.188 kB / 398.7 MB, free: 13.63 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.401e-05/0.03751, allocations: 44.34 kB / 398.7 MB, free: 13.59 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.816e-05/0.03759, allocations: 94.16 kB / 398.8 MB, free: 13.49 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001014/0.0386, allocations: 0.6532 MB / 399.5 MB, free: 12.83 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004486/0.04309, allocations: 3.99 MB / 403.5 MB, free: 8.719 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008594/0.04395, allocations: 0.7521 MB / 404.2 MB, free: 7.938 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004092/0.04436, allocations: 350.8 kB / 404.6 MB, free: 7.586 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.904e-05/0.04442, allocations: 29 kB / 404.6 MB, free: 7.559 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005974/0.04501, allocations: 0.5009 MB / 405.1 MB, free: 7.035 MB / 378.7 MB Notification: Performance of pre-optimization done (n=126): time 4.197e-06/0.04502, allocations: 3.938 kB / 405.1 MB, free: 7.031 MB / 378.7 MB Notification: Performance of matching and sorting (n=137): time 0.006586/0.0516, allocations: 3.961 MB / 409.1 MB, free: 3.008 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.193e-05/0.05167, allocations: 149.8 kB / 409.2 MB, free: 2.832 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004216/0.0521, allocations: 0.5454 MB / 409.8 MB, free: 2.27 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.294e-05/0.05216, allocations: 49.7 kB / 409.8 MB, free: 2.215 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002606/0.05242, allocations: 0.5196 MB / 410.3 MB, free: 1.688 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002602/0.05268, allocations: 491.8 kB / 410.8 MB, free: 1.203 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002326/0.05291, allocations: 236.5 kB / 411 MB, free: 0.9648 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001721/0.05308, allocations: 0.5781 MB / 411.6 MB, free: 384 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003899/0.05347, allocations: 286.5 kB / 411.9 MB, free: 84 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004806/0.05396, allocations: 0.5185 MB / 412.4 MB, free: 15.49 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008817/0.05484, allocations: 0.7616 MB / 413.2 MB, free: 14.68 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.05484, allocations: 0 / 413.2 MB, free: 14.68 MB / 394.7 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.001722/0.05656, allocations: 1.295 MB / 414.5 MB, free: 13.35 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.964e-05/0.0566, allocations: 33.7 kB / 414.5 MB, free: 13.31 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.05661, allocations: 4 kB / 414.5 MB, free: 13.31 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007889/0.0574, allocations: 363.1 kB / 414.9 MB, free: 12.95 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005822/0.05798, allocations: 255.6 kB / 415.1 MB, free: 12.7 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004619/0.0626, allocations: 5.838 MB / 421 MB, free: 6.633 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004743/0.06308, allocations: 79.95 kB / 421 MB, free: 6.555 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.777e-05/0.06314, allocations: 43.98 kB / 421.1 MB, free: 6.512 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005854/0.06373, allocations: 427 kB / 421.5 MB, free: 6.086 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004798/0.06421, allocations: 0.5223 MB / 422 MB, free: 5.484 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008592/0.06507, allocations: 0.7578 MB / 422.8 MB, free: 4.672 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.966e-06/0.06507, allocations: 0 / 422.8 MB, free: 4.672 MB / 394.7 MB Notification: Performance of matching and sorting (n=161) (initialization_lambda0): time 0.001859/0.06693, allocations: 1.264 MB / 424 MB, free: 3.379 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.025e-05/0.06696, allocations: 33.7 kB / 424.1 MB, free: 3.34 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.06697, allocations: 4 kB / 424.1 MB, free: 3.336 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006758/0.06764, allocations: 339.6 kB / 424.4 MB, free: 2.996 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006078/0.06825, allocations: 251.6 kB / 424.7 MB, free: 2.75 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004712/0.07296, allocations: 5.792 MB / 430.4 MB, free: 12.74 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006878/0.07365, allocations: 67.94 kB / 430.5 MB, free: 12.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.769e-05/0.07374, allocations: 55.97 kB / 430.6 MB, free: 12.62 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,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 (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.0003151/0.07405, allocations: 339.9 kB / 430.9 MB, free: 12.28 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001664/0.07422, allocations: 139.4 kB / 431 MB, free: 12.14 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001926/0.07614, allocations: 1.323 MB / 432.4 MB, free: 10.8 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.296e-05/0.07616, allocations: 16 kB / 432.4 MB, free: 10.79 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.07616, allocations: 0 / 432.4 MB, free: 10.79 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.642e-05/0.07618, allocations: 11.91 kB / 432.4 MB, free: 10.78 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.00358/0.07976, allocations: 2.489 MB / 434.9 MB, free: 8.195 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.07976, allocations: 7.938 kB / 434.9 MB, free: 8.188 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005238/0.08029, allocations: 199.7 kB / 435.1 MB, free: 7.992 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001221/0.08151, allocations: 443.1 kB / 435.5 MB, free: 7.551 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-05/0.08159, allocations: 31.98 kB / 435.5 MB, free: 7.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005549/0.08714, allocations: 6.133 MB / 441.7 MB, free: 1.141 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/0.08714, allocations: 7.938 kB / 441.7 MB, free: 1.133 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1608/0.248, allocations: 1.784 MB / 443.5 MB, free: 101.1 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004094/0.2484, allocations: 201.7 kB / 443.7 MB, free: 101.1 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.823e-05/0.2485, allocations: 32.89 kB / 443.7 MB, free: 101.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003844/0.2489, allocations: 61.25 kB / 443.8 MB, free: 101.1 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002233/0.2491, allocations: 139.2 kB / 443.9 MB, free: 101.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.068e-05/0.2492, allocations: 47.33 kB / 443.9 MB, free: 101.1 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002356/0.2494, allocations: 350 kB / 444.3 MB, free: 101 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2494, allocations: 0 / 444.3 MB, free: 101 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001286/0.2507, allocations: 0.6608 MB / 444.9 MB, free: 101 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.0001806/0.2509, allocations: 139.4 kB / 445.1 MB, free: 100.9 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002398/0.2533, allocations: 2.498 MB / 447.6 MB, free: 99.91 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.2533, allocations: 0 / 447.6 MB, free: 99.91 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009056/0.2542, allocations: 1.057 MB / 448.6 MB, free: 99.5 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005913/0.2548, allocations: 182.8 kB / 448.8 MB, free: 99.5 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002828/0.2576, allocations: 2.209 MB / 451 MB, free: 98.57 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002706/0.2579, allocations: 359.5 kB / 451.4 MB, free: 98.48 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004309/0.2583, allocations: 244.1 kB / 451.6 MB, free: 98.47 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001903/0.2585, allocations: 85.94 kB / 451.7 MB, free: 98.46 MB / 410.7 MB Notification: Performance of SimCode: time 1.583e-06/0.2585, allocations: 0 / 451.7 MB, free: 98.46 MB / 410.7 MB Notification: Performance of Templates: time 0.02483/0.2833, allocations: 21.85 MB / 473.5 MB, free: 96.39 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.6751407319679856]