Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.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.001892/0.001892, allocations: 95.61 kB / 20.96 MB, free: 3.461 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.001995/0.001995, allocations: 165.3 kB / 24.27 MB, free: 152 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.56/1.56, allocations: 177.1 MB / 204.6 MB, free: 5.586 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.3272/0.3272, allocations: 29.41 MB / 290.5 MB, free: 2.414 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.Test.FixedCurrentTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest") translateModel(PowerSystems.Examples.Generic.Test.FixedCurrentTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 368.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.494e-05/3.69e-05, allocations: 5.406 kB / 368.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedCurrentTest): time 0.009409/0.009446, allocations: 3.555 MB / 372.4 MB, free: 7.73 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004839/0.01428, allocations: 1.492 MB / 373.9 MB, free: 6.23 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002074/0.01449, allocations: 11.94 kB / 373.9 MB, free: 6.219 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001381/0.01587, allocations: 254.8 kB / 374.2 MB, free: 5.969 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001193/0.01707, allocations: 278.6 kB / 374.5 MB, free: 5.695 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006531/0.01772, allocations: 135.5 kB / 374.6 MB, free: 5.562 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007587/0.01848, allocations: 354.9 kB / 374.9 MB, free: 5.215 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004146/0.01889, allocations: 118 kB / 375 MB, free: 5.102 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000597/0.01949, allocations: 207.3 kB / 375.3 MB, free: 4.898 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004204/0.01991, allocations: 151.6 kB / 375.4 MB, free: 4.75 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.602e-05/0.01996, allocations: 12 kB / 375.4 MB, free: 4.738 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009611/0.02092, allocations: 291 kB / 375.7 MB, free: 4.453 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002403/0.02116, allocations: 111.7 kB / 375.8 MB, free: 4.344 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001954/0.02135, allocations: 75.84 kB / 375.9 MB, free: 4.27 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009908/0.02234, allocations: 370.9 kB / 376.2 MB, free: 3.906 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.02235, allocations: 0 / 376.2 MB, free: 3.906 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.02235, allocations: 0 / 376.2 MB, free: 3.906 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.176e-06/0.02236, allocations: 0 / 376.2 MB, free: 3.906 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001417/0.02377, allocations: 0.5614 MB / 376.8 MB, free: 3.309 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.93e-05/0.02383, allocations: 11.98 kB / 376.8 MB, free: 3.297 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00178/0.02561, allocations: 140.6 kB / 377 MB, free: 3.16 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00066/0.02627, allocations: 216.1 kB / 377.2 MB, free: 2.922 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.199e-05/0.02632, allocations: 16.36 kB / 377.2 MB, free: 2.906 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.587e-05/0.02639, allocations: 20.38 kB / 377.2 MB, free: 2.887 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008006/0.02719, allocations: 247.6 kB / 377.4 MB, free: 2.617 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.307e-05/0.02722, allocations: 192 / 377.4 MB, free: 2.617 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.3e-05/0.02726, allocations: 8.375 kB / 377.4 MB, free: 2.609 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.144e-05/0.02734, allocations: 23.92 kB / 377.5 MB, free: 2.586 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006418/0.02798, allocations: 147.8 kB / 377.6 MB, free: 2.441 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003583/0.03156, allocations: 1.304 MB / 378.9 MB, free: 1.059 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007127/0.03228, allocations: 142.1 kB / 379.1 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000204/0.03248, allocations: 51.41 kB / 379.1 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.366e-05/0.03253, allocations: 4 kB / 379.1 MB, free: 0.832 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.696e-05/0.03258, allocations: 41.39 kB / 379.2 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 2.835e-06/0.03259, allocations: 3.938 kB / 379.2 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.00122/0.03381, allocations: 268.2 kB / 379.4 MB, free: 0.5117 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001119/0.03392, allocations: 77.11 kB / 379.5 MB, free: 428 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000484/0.0344, allocations: 266.6 kB / 379.8 MB, free: 140 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.858e-05/0.03444, allocations: 25.7 kB / 379.8 MB, free: 108 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003052/0.03475, allocations: 218.9 kB / 380 MB, free: 15.89 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001495/0.03489, allocations: 67.47 kB / 380.1 MB, free: 15.82 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001895/0.03508, allocations: 63.31 kB / 380.1 MB, free: 15.75 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004387/0.03552, allocations: 0.5118 MB / 380.6 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001879/0.03571, allocations: 39.97 kB / 380.7 MB, free: 15.19 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003906/0.0361, allocations: 145.7 kB / 380.8 MB, free: 15 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006035/0.0367, allocations: 200.9 kB / 381 MB, free: 14.77 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.03671, allocations: 0 / 381 MB, free: 14.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008001/0.03751, allocations: 220.1 kB / 381.2 MB, free: 14.55 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.652e-05/0.03753, allocations: 4 kB / 381.2 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.441e-05/0.03755, allocations: 4 kB / 381.2 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.869e-05/0.03758, allocations: 4 kB / 381.2 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005516/0.03813, allocations: 55.89 kB / 381.3 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.653e-05/0.03815, allocations: 3.938 kB / 381.3 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002914/0.03844, allocations: 19.92 kB / 381.3 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.214e-05/0.03849, allocations: 12.27 kB / 381.3 MB, free: 14.45 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (27): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00028/0.03877, allocations: 172.6 kB / 381.5 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001101/0.03888, allocations: 27.84 kB / 381.5 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005954/0.03947, allocations: 143.3 kB / 381.7 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-05/0.03949, allocations: 4 kB / 381.7 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.03949, allocations: 0 / 381.7 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.0395, allocations: 0 / 381.7 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002368/0.04187, allocations: 0.7148 MB / 382.4 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.325e-05/0.04188, allocations: 4 kB / 382.4 MB, free: 13.26 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002919/0.04217, allocations: 31.92 kB / 382.4 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.919e-05/0.04219, allocations: 8 kB / 382.4 MB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.291e-05/0.04223, allocations: 8 kB / 382.4 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.1e-05/0.04224, allocations: 4.5 kB / 382.4 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.692e-05/0.04226, allocations: 15.94 kB / 382.5 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008693/0.04313, allocations: 444.7 kB / 382.9 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.237e-05/0.0432, allocations: 23.89 kB / 382.9 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.899e-05/0.04326, allocations: 8 kB / 382.9 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003155/0.04358, allocations: 15.98 kB / 382.9 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.131e-05/0.04366, allocations: 23.86 kB / 383 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-05/0.04369, allocations: 8 kB / 383 MB, free: 12.6 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002833/0.04397, allocations: 183 kB / 383.1 MB, free: 12.42 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.04397, allocations: 4 kB / 383.1 MB, free: 12.41 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007178/0.04469, allocations: 52 kB / 383.2 MB, free: 12.36 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001928/0.04488, allocations: 103.2 kB / 383.3 MB, free: 12.25 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005493/0.04543, allocations: 135.4 kB / 383.4 MB, free: 12.12 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.04544, allocations: 0 / 383.4 MB, free: 12.12 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002415/0.04568, allocations: 76.16 kB / 383.5 MB, free: 12.04 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007545/0.04643, allocations: 39.02 kB / 383.5 MB, free: 12 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001436/0.04787, allocations: 0.5413 MB / 384.1 MB, free: 11.37 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002572/0.04813, allocations: 144.2 kB / 384.2 MB, free: 11.2 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002213/0.04835, allocations: 45.59 kB / 384.3 MB, free: 11.16 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001087/0.04846, allocations: 24.48 kB / 384.3 MB, free: 11.14 MB / 362.7 MB Notification: Performance of SimCode: time 8.02e-07/0.04846, allocations: 0 / 384.3 MB, free: 11.14 MB / 362.7 MB Notification: Performance of Templates: time 0.007877/0.05633, allocations: 1.855 MB / 386.1 MB, free: 9.305 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.sim & ./PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.739038944011554]