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.001415/0.001415, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001477/0.001477, allocations: 167.9 kB / 25.61 MB, free: 8.582 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.914/0.914, allocations: 177.2 MB / 206.1 MB, free: 4.469 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.1408/0.1408, allocations: 29.41 MB / 292 MB, free: 2.633 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.823e-06/1.823e-06, allocations: 0 / 370.9 MB, free: 32.32 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.884e-05/2.066e-05, allocations: 3.125 kB / 370.9 MB, free: 32.32 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedCurrentTest): time 0.003405/0.003426, allocations: 3.485 MB / 374.4 MB, free: 28.82 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001205/0.004631, allocations: 1.196 MB / 375.5 MB, free: 27.62 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001257/0.004757, allocations: 7.938 kB / 375.6 MB, free: 27.61 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005382/0.005295, allocations: 199.1 kB / 375.8 MB, free: 27.42 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004667/0.005761, allocations: 290.6 kB / 376 MB, free: 27.13 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002313/0.005993, allocations: 127.5 kB / 376.2 MB, free: 27.01 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003228/0.006316, allocations: 346.9 kB / 376.5 MB, free: 26.67 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002163/0.006532, allocations: 122.1 kB / 376.6 MB, free: 26.55 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002584/0.00679, allocations: 203.3 kB / 376.8 MB, free: 26.35 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001835/0.006974, allocations: 147.6 kB / 377 MB, free: 26.2 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.079e-05/0.006995, allocations: 16 kB / 377 MB, free: 26.19 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002924/0.007287, allocations: 275.1 kB / 377.2 MB, free: 25.92 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001024/0.007389, allocations: 115.7 kB / 377.4 MB, free: 25.8 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 6.347e-05/0.007453, allocations: 71.84 kB / 377.4 MB, free: 25.73 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003681/0.007821, allocations: 315 kB / 377.7 MB, free: 25.43 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.007826, allocations: 0 / 377.7 MB, free: 25.43 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.007827, allocations: 0 / 377.7 MB, free: 25.43 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.164e-06/0.007834, allocations: 0 / 377.7 MB, free: 25.43 MB / 314.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.0005829/0.008417, allocations: 0.5577 MB / 378.3 MB, free: 24.83 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.008461, allocations: 11.97 kB / 378.3 MB, free: 24.82 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005244/0.008985, allocations: 124.6 kB / 378.4 MB, free: 24.7 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001946/0.00918, allocations: 204.2 kB / 378.6 MB, free: 24.47 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.584e-05/0.009195, allocations: 16.36 kB / 378.6 MB, free: 24.46 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.214e-05/0.009228, allocations: 20.36 kB / 378.7 MB, free: 24.44 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001895/0.009417, allocations: 211.6 kB / 378.9 MB, free: 24.2 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.009428, allocations: 4.172 kB / 378.9 MB, free: 24.2 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.481e-05/0.009443, allocations: 8.375 kB / 378.9 MB, free: 24.19 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.569e-05/0.009469, allocations: 19.92 kB / 378.9 MB, free: 24.17 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001109/0.009579, allocations: 107.8 kB / 379 MB, free: 24.07 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007466/0.01033, allocations: 1.184 MB / 380.2 MB, free: 22.81 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001845/0.01051, allocations: 130.1 kB / 380.3 MB, free: 22.66 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.306e-05/0.01055, allocations: 39.7 kB / 380.4 MB, free: 22.61 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.761e-05/0.01057, allocations: 8 kB / 380.4 MB, free: 22.61 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.191e-05/0.01059, allocations: 49.27 kB / 380.4 MB, free: 22.55 MB / 314.7 MB Notification: Performance of pre-optimization done (n=16): time 1.502e-06/0.01059, allocations: 0 / 380.4 MB, free: 22.55 MB / 314.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003342/0.01093, allocations: 180.1 kB / 380.6 MB, free: 22.37 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.342e-05/0.01095, allocations: 81.05 kB / 380.7 MB, free: 22.27 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.535e-05/0.01104, allocations: 246.5 kB / 380.9 MB, free: 22.01 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.285e-06/0.01105, allocations: 25.7 kB / 380.9 MB, free: 21.98 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.171e-05/0.0111, allocations: 214.9 kB / 381.1 MB, free: 21.76 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.54e-05/0.01112, allocations: 59.47 kB / 381.2 MB, free: 21.7 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.191e-05/0.01118, allocations: 59.58 kB / 381.3 MB, free: 21.64 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.571e-05/0.01123, allocations: 0.504 MB / 381.8 MB, free: 21.12 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.23e-05/0.01126, allocations: 32.44 kB / 381.8 MB, free: 21.09 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.641e-05/0.01132, allocations: 129.2 kB / 381.9 MB, free: 20.92 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001084/0.01143, allocations: 176.6 kB / 382.1 MB, free: 20.71 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.01143, allocations: 4 kB / 382.1 MB, free: 20.7 MB / 314.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0001592/0.01159, allocations: 174.9 kB / 382.3 MB, free: 20.53 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.053e-05/0.0116, allocations: 7.938 kB / 382.3 MB, free: 20.52 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.0116, allocations: 7.938 kB / 382.3 MB, free: 20.51 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.157e-06/0.01161, allocations: 4 kB / 382.3 MB, free: 20.51 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001157/0.01173, allocations: 44.25 kB / 382.3 MB, free: 20.46 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.957e-06/0.01173, allocations: 11.94 kB / 382.3 MB, free: 20.45 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.957e-05/0.01179, allocations: 8 kB / 382.3 MB, free: 20.45 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.195e-05/0.0118, allocations: 8 kB / 382.4 MB, free: 20.44 MB / 314.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 5.721e-05/0.01186, allocations: 176.4 kB / 382.5 MB, free: 20.25 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.83e-05/0.01189, allocations: 19.91 kB / 382.5 MB, free: 20.23 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001375/0.01203, allocations: 133.8 kB / 382.7 MB, free: 20.1 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.01203, allocations: 0 / 382.7 MB, free: 20.1 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.01203, allocations: 4 kB / 382.7 MB, free: 20.09 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/0.01204, allocations: 3.984 kB / 382.7 MB, free: 20.09 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004471/0.01248, allocations: 0.5983 MB / 383.3 MB, free: 19.39 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.01249, allocations: 7.984 kB / 383.3 MB, free: 19.39 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.919e-05/0.01255, allocations: 36.44 kB / 383.3 MB, free: 19.35 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.01255, allocations: 11.98 kB / 383.3 MB, free: 19.34 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/0.01256, allocations: 4 kB / 383.3 MB, free: 19.34 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.01256, allocations: 11.94 kB / 383.4 MB, free: 19.32 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.01257, allocations: 4 kB / 383.4 MB, free: 19.32 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001561/0.01272, allocations: 410.6 kB / 383.8 MB, free: 18.83 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.103e-05/0.01274, allocations: 27.89 kB / 383.8 MB, free: 18.8 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.923e-05/0.01276, allocations: 7.984 kB / 383.8 MB, free: 18.8 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.238e-05/0.01284, allocations: 12 kB / 383.8 MB, free: 18.79 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.318e-05/0.01286, allocations: 31.86 kB / 383.8 MB, free: 18.75 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-06/0.01287, allocations: 4 kB / 383.8 MB, free: 18.75 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.027e-05/0.01291, allocations: 172.5 kB / 384 MB, free: 18.58 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01291, allocations: 0 / 384 MB, free: 18.58 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002305/0.01314, allocations: 48 kB / 384.1 MB, free: 18.54 MB / 314.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 6.202e-05/0.0132, allocations: 111.1 kB / 384.2 MB, free: 18.41 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001278/0.01333, allocations: 121.8 kB / 384.3 MB, free: 18.29 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.01333, allocations: 0 / 384.3 MB, free: 18.29 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.856e-05/0.01338, allocations: 59.47 kB / 384.3 MB, free: 18.23 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002743/0.01365, allocations: 48.28 kB / 384.4 MB, free: 18.19 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006844/0.01434, allocations: 0.5571 MB / 384.9 MB, free: 17.54 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.555e-05/0.01438, allocations: 99.95 kB / 385 MB, free: 17.43 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.677e-05/0.01444, allocations: 17.64 kB / 385.1 MB, free: 17.41 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.142e-05/0.01451, allocations: 98.19 kB / 385.2 MB, free: 17.31 MB / 314.7 MB Notification: Performance of SimCode: time 6.71e-07/0.01451, allocations: 3.938 kB / 385.2 MB, free: 17.31 MB / 314.7 MB Notification: Performance of Templates: time 0.003269/0.01778, allocations: 2.009 MB / 387.2 MB, free: 15.32 MB / 314.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.077834388241172]