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.0009177/0.0009177, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.001034/0.001034, allocations: 165.5 kB / 24.82 MB, free: 9.27 MB / 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.9484/0.9484, allocations: 177.1 MB / 205.3 MB, free: 5.516 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.2224/0.2224, allocations: 29.42 MB / 291.2 MB, free: 2.469 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.774e-06/1.774e-06, allocations: 0 / 370.1 MB, free: 10.77 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.325e-05/1.502e-05, allocations: 5.125 kB / 370.1 MB, free: 10.77 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedCurrentTest): time 0.003089/0.003104, allocations: 3.491 MB / 373.6 MB, free: 7.25 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001578/0.004683, allocations: 1.192 MB / 374.8 MB, free: 6.051 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001261/0.004809, allocations: 7.938 kB / 374.8 MB, free: 6.043 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005073/0.005316, allocations: 215.1 kB / 375 MB, free: 5.832 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004784/0.005794, allocations: 274.6 kB / 375.3 MB, free: 5.562 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002603/0.006055, allocations: 127.5 kB / 375.4 MB, free: 5.438 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003105/0.006365, allocations: 354.8 kB / 375.7 MB, free: 5.09 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001897/0.006555, allocations: 106.1 kB / 375.8 MB, free: 4.988 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002377/0.006793, allocations: 203.4 kB / 376 MB, free: 4.789 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001779/0.006971, allocations: 151.5 kB / 376.2 MB, free: 4.641 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.129e-05/0.006992, allocations: 16 kB / 376.2 MB, free: 4.625 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003118/0.007304, allocations: 275.2 kB / 376.5 MB, free: 4.355 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.253e-05/0.007396, allocations: 107.7 kB / 376.6 MB, free: 4.25 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.403e-05/0.00746, allocations: 75.78 kB / 376.6 MB, free: 4.176 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003112/0.007771, allocations: 326.9 kB / 377 MB, free: 3.855 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.753e-06/0.007773, allocations: 0 / 377 MB, free: 3.855 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.007774, allocations: 0 / 377 MB, free: 3.855 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.968e-06/0.007778, allocations: 0 / 377 MB, free: 3.855 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.0004946/0.008273, allocations: 0.5422 MB / 377.5 MB, free: 3.277 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.008318, allocations: 15.98 kB / 377.5 MB, free: 3.262 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005001/0.008818, allocations: 124.6 kB / 377.6 MB, free: 3.141 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002444/0.009062, allocations: 212.1 kB / 377.8 MB, free: 2.906 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.009078, allocations: 12.38 kB / 377.9 MB, free: 2.895 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.441e-05/0.009112, allocations: 20.38 kB / 377.9 MB, free: 2.875 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002392/0.009351, allocations: 211.7 kB / 378.1 MB, free: 2.641 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.009365, allocations: 4.125 kB / 378.1 MB, free: 2.637 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.489e-05/0.00938, allocations: 4.375 kB / 378.1 MB, free: 2.633 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.164e-05/0.009412, allocations: 23.92 kB / 378.1 MB, free: 2.609 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001242/0.009536, allocations: 95.83 kB / 378.2 MB, free: 2.516 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009289/0.01046, allocations: 1.2 MB / 379.4 MB, free: 1.246 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001751/0.01064, allocations: 130.1 kB / 379.5 MB, free: 1.094 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.634e-05/0.01069, allocations: 47.39 kB / 379.6 MB, free: 1.039 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.736e-05/0.0107, allocations: 4 kB / 379.6 MB, free: 1.035 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.43e-05/0.01073, allocations: 41.39 kB / 379.6 MB, free: 0.9844 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 1.643e-06/0.01073, allocations: 4 kB / 379.6 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003501/0.01108, allocations: 181.1 kB / 379.8 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.507e-05/0.01111, allocations: 85.05 kB / 379.9 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001223/0.01124, allocations: 238.5 kB / 380.1 MB, free: 456 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.439e-05/0.01125, allocations: 33.7 kB / 380.2 MB, free: 416 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.884e-05/0.01133, allocations: 210.9 kB / 380.4 MB, free: 200 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.613e-05/0.01137, allocations: 63.47 kB / 380.4 MB, free: 136 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.443e-05/0.01142, allocations: 51.58 kB / 380.5 MB, free: 76 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.01156, allocations: 0.5039 MB / 381 MB, free: 15.56 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.575e-05/0.01159, allocations: 28.39 kB / 381 MB, free: 15.53 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.738e-05/0.01168, allocations: 142.3 kB / 381.1 MB, free: 15.35 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001358/0.01181, allocations: 171.1 kB / 381.3 MB, free: 15.14 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.01182, allocations: 0 / 381.3 MB, free: 15.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0001959/0.01201, allocations: 181.3 kB / 381.5 MB, free: 14.96 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.01203, allocations: 7.984 kB / 381.5 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.01203, allocations: 4 kB / 381.5 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.01205, allocations: 4 kB / 381.5 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004767/0.01253, allocations: 43.92 kB / 381.5 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.076e-06/0.01254, allocations: 8 kB / 381.6 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.49e-05/0.0126, allocations: 8.281 kB / 381.6 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.517e-05/0.01262, allocations: 15.98 kB / 381.6 MB, free: 14.87 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 9.532e-05/0.01271, allocations: 172.4 kB / 381.7 MB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.953e-05/0.01274, allocations: 27.86 kB / 381.8 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001657/0.01291, allocations: 126.1 kB / 381.9 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.277e-06/0.01291, allocations: 4 kB / 381.9 MB, free: 14.53 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.01291, allocations: 3.984 kB / 381.9 MB, free: 14.53 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.01292, allocations: 0 / 381.9 MB, free: 14.53 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000534/0.01345, allocations: 0.6139 MB / 382.5 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.01345, allocations: 4 kB / 382.5 MB, free: 13.81 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.858e-05/0.01351, allocations: 31.92 kB / 382.6 MB, free: 13.78 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/0.01352, allocations: 8 kB / 382.6 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.01353, allocations: 4.5 kB / 382.6 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.01353, allocations: 8 kB / 382.6 MB, free: 13.76 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.01353, allocations: 4 kB / 382.6 MB, free: 13.76 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002244/0.01376, allocations: 426.5 kB / 383 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.565e-05/0.01378, allocations: 23.86 kB / 383 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.89e-05/0.0138, allocations: 11.98 kB / 383 MB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.684e-05/0.01388, allocations: 8 kB / 383 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.544e-05/0.0139, allocations: 23.86 kB / 383.1 MB, free: 13.19 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.09e-05/0.01392, allocations: 11.98 kB / 383.1 MB, free: 13.18 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.381e-05/0.01398, allocations: 170.9 kB / 383.2 MB, free: 13.01 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01398, allocations: 0 / 383.2 MB, free: 13.01 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002181/0.0142, allocations: 52 kB / 383.3 MB, free: 12.96 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 7.011e-05/0.01427, allocations: 107.1 kB / 383.4 MB, free: 12.84 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001428/0.01441, allocations: 115.4 kB / 383.5 MB, free: 12.73 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.01441, allocations: 0.5625 kB / 383.5 MB, free: 12.73 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.627e-05/0.01447, allocations: 67.45 kB / 383.6 MB, free: 12.66 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002719/0.01474, allocations: 32.77 kB / 383.6 MB, free: 12.62 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008182/0.01556, allocations: 0.5531 MB / 384.2 MB, free: 11.98 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.459e-05/0.01562, allocations: 91.97 kB / 384.2 MB, free: 11.87 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.619e-05/0.0157, allocations: 29.61 kB / 384.3 MB, free: 11.84 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.355e-05/0.01579, allocations: 94.2 kB / 384.4 MB, free: 11.75 MB / 362.7 MB Notification: Performance of SimCode: time 6.81e-07/0.01579, allocations: 0 / 384.4 MB, free: 11.75 MB / 362.7 MB Notification: Performance of Templates: time 0.003469/0.01926, allocations: 1.971 MB / 386.3 MB, free: 9.801 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: 2.8413989758118987]