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.001032/0.001032, allocations: 83.58 kB / 21.19 MB, free: 3.387 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.001745/0.001745, allocations: 161 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 1.031/1.031, allocations: 177.1 MB / 205 MB, free: 5.609 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.2286/0.2286, allocations: 29.43 MB / 290.9 MB, free: 2.516 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 2.725e-06/2.725e-06, allocations: 0 / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.537e-05/2.809e-05, allocations: 2.312 kB / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedCurrentTest): time 0.003685/0.003713, allocations: 3.514 MB / 373.1 MB, free: 7.457 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001496/0.005209, allocations: 1.207 MB / 374.3 MB, free: 6.242 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001638/0.005373, allocations: 7.938 kB / 374.4 MB, free: 6.234 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006477/0.00602, allocations: 211.1 kB / 374.6 MB, free: 6.027 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005023/0.006523, allocations: 278.6 kB / 374.8 MB, free: 5.754 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002752/0.006798, allocations: 135.4 kB / 375 MB, free: 5.621 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003414/0.007139, allocations: 338.9 kB / 375.3 MB, free: 5.289 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002694/0.007409, allocations: 110.1 kB / 375.4 MB, free: 5.184 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003481/0.007757, allocations: 207.4 kB / 375.6 MB, free: 4.98 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002526/0.008009, allocations: 147.5 kB / 375.7 MB, free: 4.836 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.078e-05/0.00804, allocations: 16 kB / 375.8 MB, free: 4.82 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000424/0.008464, allocations: 283.1 kB / 376 MB, free: 4.543 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001055/0.00857, allocations: 99.78 kB / 376.1 MB, free: 4.445 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 9.694e-05/0.008667, allocations: 79.77 kB / 376.2 MB, free: 4.367 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004706/0.009137, allocations: 318.9 kB / 376.5 MB, free: 4.055 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.009142, allocations: 4 kB / 376.5 MB, free: 4.051 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.009143, allocations: 0 / 376.5 MB, free: 4.051 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.009149, allocations: 4 kB / 376.5 MB, free: 4.047 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.0005983/0.009747, allocations: 0.5384 MB / 377.1 MB, free: 3.473 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.009787, allocations: 19.97 kB / 377.1 MB, free: 3.453 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005731/0.01036, allocations: 136.5 kB / 377.2 MB, free: 3.32 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002723/0.01063, allocations: 212.2 kB / 377.4 MB, free: 3.086 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.575e-05/0.01065, allocations: 12.36 kB / 377.4 MB, free: 3.074 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.783e-05/0.01069, allocations: 20.38 kB / 377.5 MB, free: 3.055 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002932/0.01098, allocations: 231.7 kB / 377.7 MB, free: 2.801 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/0.01099, allocations: 4.125 kB / 377.7 MB, free: 2.797 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.154e-05/0.01102, allocations: 8.375 kB / 377.7 MB, free: 2.789 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.099e-05/0.01106, allocations: 27.91 kB / 377.7 MB, free: 2.762 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001886/0.01125, allocations: 115.8 kB / 377.8 MB, free: 2.648 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001169/0.01241, allocations: 1.265 MB / 379.1 MB, free: 1.305 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002614/0.01268, allocations: 146.1 kB / 379.3 MB, free: 1.137 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.723e-05/0.01274, allocations: 43.42 kB / 379.3 MB, free: 1.086 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.476e-05/0.01277, allocations: 4 kB / 379.3 MB, free: 1.082 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.098e-05/0.0128, allocations: 41.38 kB / 379.3 MB, free: 1.031 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 1.693e-06/0.0128, allocations: 4 kB / 379.3 MB, free: 1.027 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.00054/0.01334, allocations: 239.9 kB / 379.6 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.594e-05/0.01339, allocations: 85.05 kB / 379.7 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001529/0.01354, allocations: 246.7 kB / 379.9 MB, free: 436 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.62e-05/0.01356, allocations: 29.7 kB / 379.9 MB, free: 400 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.78e-05/0.01365, allocations: 207 kB / 380.1 MB, free: 188 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.558e-05/0.0137, allocations: 67.41 kB / 380.2 MB, free: 120 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.148e-05/0.01376, allocations: 55.55 kB / 380.3 MB, free: 56 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.01391, allocations: 0.5039 MB / 380.8 MB, free: 15.54 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.956e-05/0.01397, allocations: 32.45 kB / 380.8 MB, free: 15.51 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001008/0.01407, allocations: 142.2 kB / 380.9 MB, free: 15.33 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001725/0.01424, allocations: 188.6 kB / 381.1 MB, free: 15.1 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.01424, allocations: 0 / 381.1 MB, free: 15.1 MB / 362.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002407/0.01448, allocations: 204.5 kB / 381.3 MB, free: 14.9 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.0145, allocations: 4 kB / 381.3 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.523e-06/0.01451, allocations: 4 kB / 381.3 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.199e-05/0.01453, allocations: 4 kB / 381.3 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001656/0.01469, allocations: 51.91 kB / 381.4 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.595e-06/0.0147, allocations: 4 kB / 381.4 MB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.955e-05/0.01478, allocations: 15.92 kB / 381.4 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.731e-05/0.0148, allocations: 8 kB / 381.4 MB, free: 14.81 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.0001042/0.0149, allocations: 180.4 kB / 381.6 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.516e-05/0.01494, allocations: 19.97 kB / 381.6 MB, free: 14.6 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000225/0.01516, allocations: 139.3 kB / 381.7 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.01517, allocations: 0 / 381.7 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.635e-06/0.01517, allocations: 8 kB / 381.7 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.01518, allocations: 3.984 kB / 381.7 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006667/0.01585, allocations: 0.6681 MB / 382.4 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.01585, allocations: 4 kB / 382.4 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.519e-05/0.01592, allocations: 39.91 kB / 382.5 MB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.01593, allocations: 4 kB / 382.5 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.435e-05/0.01594, allocations: 12 kB / 382.5 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/0.01595, allocations: 4 kB / 382.5 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.01595, allocations: 4 kB / 382.5 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002761/0.01623, allocations: 430.9 kB / 382.9 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.421e-05/0.01625, allocations: 15.91 kB / 382.9 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.416e-05/0.01628, allocations: 11.98 kB / 382.9 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.056e-05/0.01636, allocations: 8 kB / 382.9 MB, free: 13.06 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.427e-05/0.01639, allocations: 31.83 kB / 383 MB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.545e-05/0.01641, allocations: 12 kB / 383 MB, free: 13.02 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.299e-05/0.01649, allocations: 178.8 kB / 383.1 MB, free: 12.84 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01649, allocations: 0 / 383.1 MB, free: 12.84 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002477/0.01674, allocations: 52 kB / 383.2 MB, free: 12.79 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 9.842e-05/0.01683, allocations: 111.1 kB / 383.3 MB, free: 12.68 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000199/0.01703, allocations: 125.6 kB / 383.4 MB, free: 12.55 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.01704, allocations: 0 / 383.4 MB, free: 12.55 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.582e-05/0.0171, allocations: 60.98 kB / 383.5 MB, free: 12.49 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000316/0.01742, allocations: 57.66 kB / 383.5 MB, free: 12.44 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009831/0.0184, allocations: 0.5405 MB / 384.1 MB, free: 11.8 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.852e-05/0.01847, allocations: 99.95 kB / 384.2 MB, free: 11.69 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.334e-05/0.01855, allocations: 37.59 kB / 384.2 MB, free: 11.65 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.844e-05/0.01861, allocations: 28.48 kB / 384.3 MB, free: 11.62 MB / 362.7 MB Notification: Performance of SimCode: time 9.71e-07/0.01861, allocations: 0 / 384.3 MB, free: 11.62 MB / 362.7 MB Notification: Performance of Templates: time 0.003752/0.02236, allocations: 1.851 MB / 386.1 MB, free: 9.793 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: 3.215723705943674]