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.0009076/0.0009076, allocations: 75.59 kB / 21.18 MB, free: 3.391 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.000901/0.000901, allocations: 161.4 kB / 24.56 MB, free: 20 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.9512/0.9512, allocations: 177.1 MB / 205 MB, free: 5.281 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.2921/0.2921, allocations: 29.42 MB / 290.9 MB, free: 2.441 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.663e-06/1.663e-06, allocations: 0 / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.971e-05/3.137e-05, allocations: 2.312 kB / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_d): time 0.005596/0.005628, allocations: 6.853 MB / 376.5 MB, free: 4.105 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00311/0.008738, allocations: 2.948 MB / 379.4 MB, free: 1.145 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002671/0.009005, allocations: 15.94 kB / 379.5 MB, free: 1.129 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001386/0.01039, allocations: 0.7197 MB / 380.2 MB, free: 416 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001701/0.01209, allocations: 1.108 MB / 381.3 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005983/0.01269, allocations: 310.9 kB / 381.6 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001217/0.01391, allocations: 1.371 MB / 383 MB, free: 13.61 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006552/0.01456, allocations: 396 kB / 383.3 MB, free: 13.22 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009109/0.01547, allocations: 0.7086 MB / 384.1 MB, free: 12.51 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000808/0.01628, allocations: 0.5997 MB / 384.7 MB, free: 11.91 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.628e-05/0.01634, allocations: 32 kB / 384.7 MB, free: 11.88 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001071/0.01741, allocations: 0.7902 MB / 385.5 MB, free: 11.09 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003063/0.01772, allocations: 307.2 kB / 385.8 MB, free: 10.79 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002229/0.01794, allocations: 175.6 kB / 386 MB, free: 10.61 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001031/0.01897, allocations: 0.7281 MB / 386.7 MB, free: 9.883 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.01897, allocations: 0 / 386.7 MB, free: 9.883 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.01897, allocations: 8 kB / 386.7 MB, free: 9.875 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.426e-06/0.01898, allocations: 0 / 386.7 MB, free: 9.875 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.001118/0.0201, allocations: 0.8351 MB / 387.5 MB, free: 9 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.02014, allocations: 11.98 kB / 387.5 MB, free: 8.988 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001111/0.02125, allocations: 327 kB / 387.9 MB, free: 8.668 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004496/0.0217, allocations: 279.3 kB / 388.1 MB, free: 8.371 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.589e-05/0.02174, allocations: 33.36 kB / 388.2 MB, free: 8.34 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.887e-05/0.0218, allocations: 36.36 kB / 388.2 MB, free: 8.305 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005962/0.02239, allocations: 481.9 kB / 388.7 MB, free: 7.742 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.02241, allocations: 192 / 388.7 MB, free: 7.742 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.591e-05/0.02243, allocations: 24.3 kB / 388.7 MB, free: 7.719 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.883e-05/0.02248, allocations: 44.5 kB / 388.7 MB, free: 7.676 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002794/0.02276, allocations: 179.6 kB / 388.9 MB, free: 7.5 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002325/0.02509, allocations: 3.177 MB / 392.1 MB, free: 4.188 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004478/0.02553, allocations: 284.6 kB / 392.4 MB, free: 3.875 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001172/0.02565, allocations: 107.1 kB / 392.5 MB, free: 3.758 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.183e-05/0.02566, allocations: 4 kB / 392.5 MB, free: 3.754 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.681e-05/0.02569, allocations: 41.39 kB / 392.5 MB, free: 3.703 MB / 362.7 MB Notification: Performance of pre-optimization done (n=33): time 1.543e-06/0.02569, allocations: 0 / 392.5 MB, free: 3.703 MB / 362.7 MB Notification: Performance of matching and sorting (n=33): time 0.001197/0.02689, allocations: 465.2 kB / 393 MB, free: 3.238 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.956e-05/0.02694, allocations: 110.8 kB / 393.1 MB, free: 3.105 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002691/0.02721, allocations: 346.3 kB / 393.4 MB, free: 2.75 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.281e-05/0.02723, allocations: 29.7 kB / 393.4 MB, free: 2.715 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001842/0.02741, allocations: 311 kB / 393.7 MB, free: 2.406 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.352e-05/0.02751, allocations: 123.2 kB / 393.9 MB, free: 2.285 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001121/0.02762, allocations: 91.81 kB / 394 MB, free: 2.188 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001743/0.02779, allocations: 0.5235 MB / 394.5 MB, free: 1.652 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001196/0.02791, allocations: 48.97 kB / 394.5 MB, free: 1.602 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002517/0.02816, allocations: 269.3 kB / 394.8 MB, free: 1.246 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004288/0.02859, allocations: 366.4 kB / 395.1 MB, free: 0.7969 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.0286, allocations: 0 / 395.1 MB, free: 0.7969 MB / 362.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0006665/0.02926, allocations: 414.3 kB / 395.6 MB, free: 392 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.02929, allocations: 8 kB / 395.6 MB, free: 384 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.327e-06/0.02929, allocations: 4 kB / 395.6 MB, free: 380 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003292/0.02962, allocations: 104.1 kB / 395.7 MB, free: 272 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002209/0.02984, allocations: 71.91 kB / 395.7 MB, free: 200 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002161/0.03201, allocations: 2.49 MB / 398.2 MB, free: 13.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00019/0.0322, allocations: 43.67 kB / 398.3 MB, free: 13.55 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.934e-05/0.03222, allocations: 20 kB / 398.3 MB, free: 13.53 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.0001478/0.03237, allocations: 192.3 kB / 398.5 MB, free: 13.33 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.311e-05/0.03246, allocations: 43.77 kB / 398.5 MB, free: 13.29 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.764e-05/0.03251, allocations: 47.14 kB / 398.6 MB, free: 13.24 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.511e-06/0.03252, allocations: 12.03 kB / 398.6 MB, free: 13.23 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.044e-05/0.03253, allocations: 4 kB / 398.6 MB, free: 13.23 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.03254, allocations: 3.984 kB / 398.6 MB, free: 13.22 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000961/0.0335, allocations: 0.6717 MB / 399.3 MB, free: 12.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.0335, allocations: 0 / 399.3 MB, free: 12.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001212/0.03362, allocations: 35.92 kB / 399.3 MB, free: 12.46 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002339/0.03386, allocations: 87.83 kB / 399.4 MB, free: 12.37 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.015e-05/0.03388, allocations: 7.938 kB / 399.4 MB, free: 12.36 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001974/0.03585, allocations: 2.481 MB / 401.9 MB, free: 9.762 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.03585, allocations: 0 / 401.9 MB, free: 9.762 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006004/0.03645, allocations: 0.5715 MB / 402.4 MB, free: 9.152 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.709e-05/0.03651, allocations: 43.69 kB / 402.5 MB, free: 9.109 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.152e-05/0.03654, allocations: 4 kB / 402.5 MB, free: 9.105 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001594/0.0367, allocations: 8 kB / 402.5 MB, free: 9.098 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.275e-05/0.03675, allocations: 27.89 kB / 402.5 MB, free: 9.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.654e-05/0.03677, allocations: 8 kB / 402.5 MB, free: 9.062 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001679/0.03694, allocations: 219 kB / 402.7 MB, free: 8.852 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.03694, allocations: 0 / 402.7 MB, free: 8.852 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004337/0.03737, allocations: 167.8 kB / 402.9 MB, free: 8.688 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 9.7e-05/0.03747, allocations: 107.2 kB / 403 MB, free: 8.574 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004962/0.03796, allocations: 447.1 kB / 403.4 MB, free: 8.117 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.03797, allocations: 4.062 kB / 403.4 MB, free: 8.113 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00024/0.03821, allocations: 333 kB / 403.8 MB, free: 7.766 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003178/0.03852, allocations: 42.69 kB / 403.8 MB, free: 7.727 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001121/0.03964, allocations: 0.7333 MB / 404.5 MB, free: 6.945 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001107/0.03976, allocations: 161.5 kB / 404.7 MB, free: 6.766 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.83e-05/0.03985, allocations: 62.91 kB / 404.8 MB, free: 6.699 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.906e-05/0.03989, allocations: 20.5 kB / 404.8 MB, free: 6.68 MB / 378.7 MB Notification: Performance of SimCode: time 6.41e-07/0.03989, allocations: 0 / 404.8 MB, free: 6.68 MB / 378.7 MB Notification: Performance of Templates: time 0.005515/0.04541, allocations: 3.656 MB / 408.4 MB, free: 3.055 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: 3.1633436526171863]