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.000966/0.000966, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001441/0.002407, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001062/0.001062, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001421/0.002483, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.9663/0.9663, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09049/1.057, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.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.1267/0.1267, allocations: 29.42 MB / 273.6 MB, free: 1.355 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1147/0.2414, allocations: 9.527 MB / 283.1 MB, free: 12.82 MB / 282.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.392e-06/1.392e-06, allocations: 0 / 284.4 MB, free: 11.86 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.959e-05/2.098e-05, allocations: 4.125 kB / 284.4 MB, free: 11.86 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedCurrentTest): time 0.004729/0.00475, allocations: 3.599 MB / 288 MB, free: 8.969 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001804/0.006554, allocations: 1.231 MB / 289.2 MB, free: 8.016 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001211/0.006676, allocations: 14.03 kB / 289.3 MB, free: 8.008 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006254/0.007301, allocations: 255.1 kB / 289.5 MB, free: 7.82 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005048/0.007806, allocations: 291.6 kB / 289.8 MB, free: 7.598 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002664/0.008072, allocations: 124.5 kB / 289.9 MB, free: 7.504 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004379/0.00851, allocations: 364.4 kB / 290.3 MB, free: 7.312 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002527/0.008763, allocations: 121.9 kB / 290.4 MB, free: 7.254 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003605/0.009123, allocations: 226.4 kB / 290.6 MB, free: 7.117 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002826/0.009406, allocations: 156 kB / 290.8 MB, free: 7.031 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.986e-05/0.009436, allocations: 13.56 kB / 290.8 MB, free: 7.031 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000449/0.009885, allocations: 270.7 kB / 291 MB, free: 6.891 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001251/0.01001, allocations: 107 kB / 291.1 MB, free: 6.84 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.304e-05/0.0101, allocations: 63.41 kB / 291.2 MB, free: 6.832 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004671/0.01057, allocations: 296.1 kB / 291.5 MB, free: 6.703 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.283e-05/0.01058, allocations: 0 / 291.5 MB, free: 6.703 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.01058, allocations: 0 / 291.5 MB, free: 6.703 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.125e-05/0.0106, allocations: 4 kB / 291.5 MB, free: 6.699 MB / 282.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.0006855/0.01128, allocations: 494.9 kB / 292 MB, free: 6.316 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.01132, allocations: 13.72 kB / 292 MB, free: 6.312 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008458/0.01217, allocations: 211.8 kB / 292.2 MB, free: 6.16 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003174/0.01248, allocations: 202.8 kB / 292.4 MB, free: 5.977 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/0.0125, allocations: 14.44 kB / 292.4 MB, free: 5.969 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.423e-05/0.01255, allocations: 16.19 kB / 292.4 MB, free: 5.965 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003133/0.01286, allocations: 211.8 kB / 292.6 MB, free: 5.797 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.01287, allocations: 192 / 292.6 MB, free: 5.797 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.188e-05/0.0129, allocations: 6.625 kB / 292.6 MB, free: 5.793 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.205e-05/0.01294, allocations: 21.64 kB / 292.7 MB, free: 5.785 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001891/0.01313, allocations: 93.72 kB / 292.8 MB, free: 5.75 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001344/0.01447, allocations: 0.8998 MB / 293.7 MB, free: 4.965 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002462/0.01472, allocations: 162.1 kB / 293.8 MB, free: 4.84 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.021e-05/0.01477, allocations: 38.22 kB / 293.9 MB, free: 4.812 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.99e-05/0.01479, allocations: 3.344 kB / 293.9 MB, free: 4.812 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.858e-05/0.01482, allocations: 41.2 kB / 293.9 MB, free: 4.766 MB / 282.7 MB Notification: Performance of pre-optimization done (n=16): time 3.246e-06/0.01482, allocations: 0 / 293.9 MB, free: 4.766 MB / 282.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003711/0.01519, allocations: 171.6 kB / 294.1 MB, free: 4.672 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.953e-05/0.01523, allocations: 79.11 kB / 294.1 MB, free: 4.578 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/0.01534, allocations: 176.8 kB / 294.3 MB, free: 4.43 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.529e-05/0.01535, allocations: 25.7 kB / 294.3 MB, free: 4.398 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.56e-05/0.01542, allocations: 164.3 kB / 294.5 MB, free: 4.246 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.702e-05/0.01546, allocations: 59.47 kB / 294.6 MB, free: 4.195 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.154e-05/0.01552, allocations: 53.45 kB / 294.6 MB, free: 4.152 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.526e-05/0.01561, allocations: 330.5 kB / 294.9 MB, free: 3.824 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.527e-05/0.01566, allocations: 26.78 kB / 295 MB, free: 3.816 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.73e-05/0.01574, allocations: 93.91 kB / 295.1 MB, free: 3.723 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001418/0.01588, allocations: 157.3 kB / 295.2 MB, free: 3.582 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.165e-06/0.01588, allocations: 4 kB / 295.2 MB, free: 3.578 MB / 282.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000165/0.01604, allocations: 148.3 kB / 295.4 MB, free: 3.426 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.01606, allocations: 10.03 kB / 295.4 MB, free: 3.418 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.01607, allocations: 0 / 295.4 MB, free: 3.418 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.037e-05/0.01609, allocations: 4 kB / 295.4 MB, free: 3.414 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001606/0.01625, allocations: 55.91 kB / 295.4 MB, free: 3.359 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.01625, allocations: 4 kB / 295.4 MB, free: 3.355 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.106e-05/0.01631, allocations: 11.94 kB / 295.4 MB, free: 3.344 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.607e-05/0.01633, allocations: 15.92 kB / 295.5 MB, free: 3.328 MB / 282.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 7.842e-05/0.01641, allocations: 124.9 kB / 295.6 MB, free: 3.195 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.809e-05/0.01644, allocations: 19.98 kB / 295.6 MB, free: 3.176 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001606/0.0166, allocations: 115.2 kB / 295.7 MB, free: 3.055 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.0166, allocations: 4 kB / 295.7 MB, free: 3.051 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.0166, allocations: 0 / 295.7 MB, free: 3.051 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.01661, allocations: 0 / 295.7 MB, free: 3.051 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005436/0.01715, allocations: 0.5952 MB / 296.3 MB, free: 2.371 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/0.01716, allocations: 7.938 kB / 296.3 MB, free: 2.363 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.907e-05/0.01723, allocations: 35.98 kB / 296.4 MB, free: 2.328 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.142e-05/0.01725, allocations: 15.91 kB / 296.4 MB, free: 2.312 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.067e-06/0.01725, allocations: 4 kB / 296.4 MB, free: 2.309 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.01726, allocations: 4 kB / 296.4 MB, free: 2.305 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.484e-06/0.01727, allocations: 16.36 kB / 296.4 MB, free: 2.289 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.01727, allocations: 8 kB / 296.4 MB, free: 2.281 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002172/0.01749, allocations: 370.5 kB / 296.8 MB, free: 1.84 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.077e-05/0.01751, allocations: 12 kB / 296.8 MB, free: 1.828 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.009e-05/0.01758, allocations: 4 kB / 296.8 MB, free: 1.824 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.847e-05/0.01761, allocations: 27.84 kB / 296.8 MB, free: 1.797 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.194e-05/0.01762, allocations: 8 kB / 296.8 MB, free: 1.789 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.213e-05/0.01766, allocations: 52.67 kB / 296.9 MB, free: 1.734 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01766, allocations: 0 / 296.9 MB, free: 1.734 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000197/0.01786, allocations: 56 kB / 296.9 MB, free: 1.68 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 9.912e-05/0.01796, allocations: 88.28 kB / 297 MB, free: 1.582 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001459/0.01811, allocations: 118.2 kB / 297.1 MB, free: 1.465 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.073e-05/0.01812, allocations: 4 kB / 297.1 MB, free: 1.461 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001025/0.01822, allocations: 126.6 kB / 297.2 MB, free: 1.332 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003081/0.01853, allocations: 145 kB / 297.4 MB, free: 1.172 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004438/0.02297, allocations: 0.5765 MB / 298 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.594e-05/0.02303, allocations: 91.97 kB / 298.1 MB, free: 416 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.289e-05/0.0231, allocations: 33.73 kB / 298.1 MB, free: 380 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.566e-05/0.0232, allocations: 71.38 kB / 298.2 MB, free: 308 kB / 282.7 MB Notification: Performance of SimCode: time 1.112e-06/0.0232, allocations: 0 / 298.2 MB, free: 308 kB / 282.7 MB Notification: Performance of Templates: time 0.003566/0.02677, allocations: 1.945 MB / 300.1 MB, free: 14.38 MB / 298.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: 2.5832912866026163]