Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.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.001849/0.001849, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.00207/0.00207, allocations: 165.6 kB / 24.28 MB, free: 156 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 1.6/1.6, allocations: 177.1 MB / 204.6 MB, free: 5.621 MB / 186.7 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.3225/0.3225, allocations: 29.41 MB / 290.5 MB, free: 2.398 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.NetworkLoop_d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 368.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.69e-05/2.871e-05, allocations: 2.312 kB / 368.9 MB, free: 11.29 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_d): time 0.01047/0.01049, allocations: 7.528 MB / 376.4 MB, free: 3.727 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.007023/0.01752, allocations: 4.144 MB / 380.6 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005914/0.01811, allocations: 15.94 kB / 380.6 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003087/0.0212, allocations: 1.05 MB / 381.6 MB, free: 14.5 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002998/0.02419, allocations: 1.135 MB / 382.8 MB, free: 13.36 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009352/0.02513, allocations: 310.8 kB / 383.1 MB, free: 13.05 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002011/0.02714, allocations: 1.398 MB / 384.5 MB, free: 11.65 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009536/0.02809, allocations: 392 kB / 384.9 MB, free: 11.27 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002014/0.03011, allocations: 0.7278 MB / 385.6 MB, free: 10.54 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001289/0.0314, allocations: 0.6075 MB / 386.2 MB, free: 9.926 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001322/0.03153, allocations: 36 kB / 386.2 MB, free: 9.891 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001933/0.03346, allocations: 0.8056 MB / 387 MB, free: 9.082 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005681/0.03403, allocations: 311.2 kB / 387.3 MB, free: 8.777 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003696/0.0344, allocations: 171.6 kB / 387.5 MB, free: 8.609 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001897/0.0363, allocations: 0.8412 MB / 388.3 MB, free: 7.766 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.0363, allocations: 3.938 kB / 388.3 MB, free: 7.762 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.0363, allocations: 0 / 388.3 MB, free: 7.762 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.891e-05/0.03632, allocations: 4 kB / 388.3 MB, free: 7.758 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: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.001632/0.03795, allocations: 0.8699 MB / 389.2 MB, free: 6.848 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.038, allocations: 11.98 kB / 389.2 MB, free: 6.836 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002039/0.04003, allocations: 327 kB / 389.6 MB, free: 6.516 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006537/0.04069, allocations: 287.2 kB / 389.8 MB, free: 6.211 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.834e-05/0.04073, allocations: 29.36 kB / 389.9 MB, free: 6.184 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.874e-05/0.04081, allocations: 40.36 kB / 389.9 MB, free: 6.145 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008962/0.0417, allocations: 0.4941 MB / 390.4 MB, free: 5.559 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.966e-05/0.04172, allocations: 8.125 kB / 390.4 MB, free: 5.551 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.353e-05/0.04178, allocations: 16.36 kB / 390.4 MB, free: 5.535 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.797e-05/0.04185, allocations: 40.56 kB / 390.5 MB, free: 5.496 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004749/0.04233, allocations: 194.3 kB / 390.6 MB, free: 5.305 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003757/0.04609, allocations: 3.251 MB / 393.9 MB, free: 1.918 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005769/0.04666, allocations: 289.2 kB / 394.2 MB, free: 1.598 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002317/0.04689, allocations: 122.2 kB / 394.3 MB, free: 1.469 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.669e-05/0.04692, allocations: 4 kB / 394.3 MB, free: 1.465 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.216e-05/0.04696, allocations: 37.39 kB / 394.3 MB, free: 1.418 MB / 362.7 MB Notification: Performance of pre-optimization done (n=33): time 2.715e-06/0.04697, allocations: 7.938 kB / 394.3 MB, free: 1.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=33): time 0.001623/0.04859, allocations: 489.3 kB / 394.8 MB, free: 0.9219 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001146/0.0487, allocations: 118.7 kB / 394.9 MB, free: 0.7812 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004337/0.04914, allocations: 390.3 kB / 395.3 MB, free: 396 kB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.056e-05/0.04917, allocations: 29.7 kB / 395.4 MB, free: 360 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002488/0.04942, allocations: 319 kB / 395.7 MB, free: 36 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001556/0.04957, allocations: 127.1 kB / 395.8 MB, free: 15.91 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001541/0.04973, allocations: 95.81 kB / 395.9 MB, free: 15.8 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003134/0.05004, allocations: 0.5352 MB / 396.4 MB, free: 15.26 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001533/0.05019, allocations: 60.97 kB / 396.5 MB, free: 15.2 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003582/0.05055, allocations: 286.3 kB / 396.8 MB, free: 14.82 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005593/0.05111, allocations: 394.5 kB / 397.1 MB, free: 14.34 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.05111, allocations: 0 / 397.1 MB, free: 14.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0008504/0.05196, allocations: 446.6 kB / 397.6 MB, free: 13.9 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.05198, allocations: 4 kB / 397.6 MB, free: 13.9 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/0.052, allocations: 8 kB / 397.6 MB, free: 13.89 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003836/0.05238, allocations: 91.7 kB / 397.7 MB, free: 13.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002672/0.05265, allocations: 75.91 kB / 397.8 MB, free: 13.72 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003263/0.05591, allocations: 2.565 MB / 400.3 MB, free: 11.04 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002758/0.05618, allocations: 43.7 kB / 400.4 MB, free: 11 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.617e-05/0.05622, allocations: 20 kB / 400.4 MB, free: 10.98 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002674/0.05649, allocations: 196.4 kB / 400.6 MB, free: 10.78 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001357/0.05662, allocations: 55.69 kB / 400.6 MB, free: 10.72 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000112/0.05674, allocations: 43.14 kB / 400.7 MB, free: 10.68 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.05674, allocations: 4 kB / 400.7 MB, free: 10.68 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.361e-05/0.05675, allocations: 8 kB / 400.7 MB, free: 10.67 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-06/0.05676, allocations: 3.984 kB / 400.7 MB, free: 10.66 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001296/0.05806, allocations: 0.7343 MB / 401.4 MB, free: 9.875 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/0.05806, allocations: 0 / 401.4 MB, free: 9.875 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001493/0.05821, allocations: 35.92 kB / 401.5 MB, free: 9.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003074/0.05852, allocations: 99.75 kB / 401.6 MB, free: 9.738 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.622e-05/0.05854, allocations: 8 kB / 401.6 MB, free: 9.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002833/0.06138, allocations: 2.54 MB / 404.1 MB, free: 7.07 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.06138, allocations: 0 / 404.1 MB, free: 7.07 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008199/0.0622, allocations: 0.603 MB / 404.7 MB, free: 6.43 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.695e-05/0.06229, allocations: 31.75 kB / 404.7 MB, free: 6.398 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.116e-05/0.06233, allocations: 15.97 kB / 404.7 MB, free: 6.383 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001783/0.06251, allocations: 4 kB / 404.8 MB, free: 6.379 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.332e-05/0.06257, allocations: 31.94 kB / 404.8 MB, free: 6.348 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.445e-05/0.06259, allocations: 12 kB / 404.8 MB, free: 6.336 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002439/0.06284, allocations: 242.9 kB / 405 MB, free: 6.102 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.06284, allocations: 0 / 405 MB, free: 6.102 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006854/0.06352, allocations: 163.7 kB / 405.2 MB, free: 5.941 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001383/0.06366, allocations: 106.8 kB / 405.3 MB, free: 5.832 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009109/0.06457, allocations: 477.9 kB / 405.8 MB, free: 5.344 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.06457, allocations: 1.312 kB / 405.8 MB, free: 5.344 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007561/0.06533, allocations: 349 kB / 406.1 MB, free: 4.98 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005457/0.06588, allocations: 45.12 kB / 406.1 MB, free: 4.938 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001392/0.06727, allocations: 0.7087 MB / 406.9 MB, free: 4.18 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003605/0.06763, allocations: 268.1 kB / 407.1 MB, free: 3.895 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001658/0.06779, allocations: 66.89 kB / 407.2 MB, free: 3.824 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.973e-05/0.06785, allocations: 24.5 kB / 407.2 MB, free: 3.801 MB / 378.7 MB Notification: Performance of SimCode: time 7.21e-07/0.06786, allocations: 4 kB / 407.2 MB, free: 3.797 MB / 378.7 MB Notification: Performance of Templates: time 0.009487/0.07734, allocations: 3.657 MB / 410.9 MB, free: 176 kB / 378.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.sim & ./PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.009771440993063]