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.0009463/0.0009463, 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.001766/0.001766, 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.9092/0.9092, allocations: 177.2 MB / 205 MB, free: 5.605 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.2512/0.2512, 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.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.673e-06/1.673e-06, allocations: 0 / 369.6 MB, free: 10.98 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.559e-05/2.726e-05, allocations: 6.312 kB / 369.6 MB, free: 10.97 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_d): time 0.01195/0.01198, allocations: 6.868 MB / 376.5 MB, free: 4.074 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003272/0.01525, allocations: 2.944 MB / 379.5 MB, free: 1.117 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003571/0.01561, allocations: 15.94 kB / 379.5 MB, free: 1.102 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001099/0.01671, allocations: 0.7158 MB / 380.2 MB, free: 392 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001895/0.0186, allocations: 1.108 MB / 381.3 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006072/0.01921, allocations: 306.9 kB / 381.6 MB, free: 14.97 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001565/0.02077, allocations: 1.375 MB / 383 MB, free: 13.59 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006224/0.0214, allocations: 400 kB / 383.4 MB, free: 13.2 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009557/0.02235, allocations: 0.7085 MB / 384.1 MB, free: 12.49 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007366/0.02309, allocations: 0.5997 MB / 384.7 MB, free: 11.89 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.183e-05/0.02315, allocations: 36 kB / 384.7 MB, free: 11.85 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001205/0.02436, allocations: 0.7708 MB / 385.5 MB, free: 11.08 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002703/0.02463, allocations: 311.2 kB / 385.8 MB, free: 10.77 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000168/0.0248, allocations: 179.6 kB / 386 MB, free: 10.6 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001081/0.02588, allocations: 0.732 MB / 386.7 MB, free: 9.863 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.02588, allocations: 0 / 386.7 MB, free: 9.863 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.02588, allocations: 0 / 386.7 MB, free: 9.863 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.217e-06/0.02589, allocations: 0 / 386.7 MB, free: 9.863 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.0009554/0.02685, allocations: 0.839 MB / 387.5 MB, free: 8.984 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.02689, allocations: 11.98 kB / 387.5 MB, free: 8.973 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001047/0.02794, allocations: 327 kB / 387.9 MB, free: 8.652 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003651/0.0283, allocations: 275.3 kB / 388.1 MB, free: 8.359 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.843e-05/0.02833, allocations: 33.36 kB / 388.2 MB, free: 8.328 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.718e-05/0.02837, allocations: 44.34 kB / 388.2 MB, free: 8.285 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004515/0.02882, allocations: 480.8 kB / 388.7 MB, free: 7.727 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.02883, allocations: 4.188 kB / 388.7 MB, free: 7.723 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.801e-05/0.02886, allocations: 24.34 kB / 388.7 MB, free: 7.699 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.775e-05/0.02891, allocations: 32.58 kB / 388.7 MB, free: 7.668 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002456/0.02915, allocations: 183.5 kB / 388.9 MB, free: 7.488 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001973/0.03112, allocations: 3.177 MB / 392.1 MB, free: 4.176 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003483/0.03147, allocations: 285.1 kB / 392.4 MB, free: 3.859 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001194/0.03159, allocations: 103.1 kB / 392.5 MB, free: 3.746 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.473e-05/0.03161, allocations: 8 kB / 392.5 MB, free: 3.738 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.826e-05/0.03163, allocations: 41.33 kB / 392.5 MB, free: 3.688 MB / 362.7 MB Notification: Performance of pre-optimization done (n=33): time 1.984e-06/0.03164, allocations: 0 / 392.5 MB, free: 3.688 MB / 362.7 MB Notification: Performance of matching and sorting (n=33): time 0.0008993/0.03254, allocations: 469.2 kB / 393 MB, free: 3.219 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.613e-05/0.03258, allocations: 110.8 kB / 393.1 MB, free: 3.086 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002014/0.03278, allocations: 350.5 kB / 393.4 MB, free: 2.727 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.594e-05/0.0328, allocations: 29.7 kB / 393.5 MB, free: 2.691 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001219/0.03292, allocations: 303 kB / 393.8 MB, free: 2.391 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.714e-05/0.03299, allocations: 131 kB / 393.9 MB, free: 2.262 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.936e-05/0.03307, allocations: 87.8 kB / 394 MB, free: 2.168 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.03319, allocations: 0.5157 MB / 394.5 MB, free: 1.641 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.821e-05/0.03327, allocations: 52.95 kB / 394.5 MB, free: 1.586 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001621/0.03343, allocations: 270.3 kB / 394.8 MB, free: 1.227 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000282/0.03371, allocations: 362.5 kB / 395.2 MB, free: 0.7812 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.03372, allocations: 3.938 kB / 395.2 MB, free: 0.7773 MB / 362.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004476/0.03416, allocations: 422.3 kB / 395.6 MB, free: 364 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.03418, allocations: 4 kB / 395.6 MB, free: 360 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/0.03419, allocations: 8.562 kB / 395.6 MB, free: 352 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002447/0.03444, allocations: 95.5 kB / 395.7 MB, free: 256 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001394/0.03458, allocations: 75.84 kB / 395.7 MB, free: 180 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001758/0.03633, allocations: 2.485 MB / 398.2 MB, free: 13.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000122/0.03646, allocations: 43.67 kB / 398.3 MB, free: 13.53 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.73e-05/0.03647, allocations: 20 kB / 398.3 MB, free: 13.51 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.0001231/0.0366, allocations: 192.4 kB / 398.5 MB, free: 13.31 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.015e-05/0.03665, allocations: 47.77 kB / 398.5 MB, free: 13.26 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.107e-05/0.03671, allocations: 51.12 kB / 398.6 MB, free: 13.21 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.03671, allocations: 4 kB / 398.6 MB, free: 13.21 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/0.03672, allocations: 0 / 398.6 MB, free: 13.21 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.962e-06/0.03673, allocations: 4 kB / 398.6 MB, free: 13.2 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006685/0.0374, allocations: 0.6717 MB / 399.3 MB, free: 12.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.0374, allocations: 7.984 kB / 399.3 MB, free: 12.47 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.465e-05/0.03747, allocations: 31.92 kB / 399.3 MB, free: 12.44 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001589/0.03763, allocations: 91.08 kB / 399.4 MB, free: 12.35 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.41e-05/0.03765, allocations: 11.94 kB / 399.4 MB, free: 12.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001333/0.03898, allocations: 2.469 MB / 401.9 MB, free: 9.742 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.03898, allocations: 4.031 kB / 401.9 MB, free: 9.738 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004179/0.0394, allocations: 0.5754 MB / 402.4 MB, free: 9.125 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.889e-05/0.03944, allocations: 39.69 kB / 402.5 MB, free: 9.086 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.067e-05/0.03946, allocations: 8 kB / 402.5 MB, free: 9.078 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.195e-05/0.03954, allocations: 4 kB / 402.5 MB, free: 9.074 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.729e-05/0.03959, allocations: 23.95 kB / 402.5 MB, free: 9.051 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.159e-05/0.0396, allocations: 12 kB / 402.5 MB, free: 9.039 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001282/0.03973, allocations: 223 kB / 402.7 MB, free: 8.824 MB / 378.7 MB Notification: Performance of sort global known variables: time 4e-08/0.03973, allocations: 0 / 402.7 MB, free: 8.824 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004532/0.04018, allocations: 159.8 kB / 402.9 MB, free: 8.668 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.0001017/0.04028, allocations: 111.1 kB / 403 MB, free: 8.551 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005629/0.04085, allocations: 450.9 kB / 403.5 MB, free: 8.09 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.04085, allocations: 0 / 403.5 MB, free: 8.09 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006194/0.04147, allocations: 332.9 kB / 403.8 MB, free: 7.742 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003538/0.04182, allocations: 45.58 kB / 403.8 MB, free: 7.703 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00122/0.04304, allocations: 0.7215 MB / 404.5 MB, free: 6.934 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001077/0.04315, allocations: 161.5 kB / 404.7 MB, free: 6.754 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001059/0.04326, allocations: 70.88 kB / 404.8 MB, free: 6.68 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.999e-05/0.0433, allocations: 20.5 kB / 404.8 MB, free: 6.66 MB / 378.7 MB Notification: Performance of SimCode: time 1.122e-06/0.0433, allocations: 0 / 404.8 MB, free: 6.66 MB / 378.7 MB Notification: Performance of Templates: time 0.005757/0.04906, allocations: 3.756 MB / 408.5 MB, free: 2.934 MB / 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: 2.9154596379958093]