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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Generic.Test.FixedCurrentTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest") translateModel(PowerSystems.Examples.Generic.Test.FixedCurrentTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002017/0.002017, allocations: 111.8 kB / 17.29 MB, free: 6.219 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002842/0.002842, allocations: 197.3 kB / 18.21 MB, free: 5.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.602/2.602, allocations: 222.9 MB / 241.9 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.4055/0.4055, allocations: 38.03 MB / 330.1 MB, free: 9 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002715/0.002715, allocations: 66.25 kB / 398.9 MB, free: 34.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.185/0.1877, allocations: 58.06 MB / 457 MB, free: 8.445 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedCurrentTest): time 0.009237/0.197, allocations: 3.713 MB / 460.7 MB, free: 4.711 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003736/0.2009, allocations: 1.543 MB / 462.2 MB, free: 3.16 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003961/0.2013, allocations: 11.94 kB / 462.3 MB, free: 3.148 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001363/0.2027, allocations: 242.5 kB / 462.5 MB, free: 2.914 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001182/0.2039, allocations: 259.1 kB / 462.8 MB, free: 2.66 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006244/0.2046, allocations: 115.8 kB / 462.9 MB, free: 2.547 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007935/0.2054, allocations: 350.9 kB / 463.2 MB, free: 2.203 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005778/0.206, allocations: 149.9 kB / 463.4 MB, free: 2.055 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004951/0.2065, allocations: 147.4 kB / 463.5 MB, free: 1.91 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004537/0.207, allocations: 175.4 kB / 463.7 MB, free: 1.738 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.935e-05/0.207, allocations: 12 kB / 463.7 MB, free: 1.727 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008998/0.2079, allocations: 327.2 kB / 464 MB, free: 1.406 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002151/0.2082, allocations: 103.7 kB / 464.1 MB, free: 1.305 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002095/0.2084, allocations: 107.5 kB / 464.2 MB, free: 1.199 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007483/0.2091, allocations: 267.5 kB / 464.5 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/0.2092, allocations: 0 / 464.5 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.2092, allocations: 0 / 464.5 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.575e-05/0.2092, allocations: 0 / 464.5 MB, free: 0.9375 MB / 334.1 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.001256/0.2105, allocations: 0.5219 MB / 465 MB, free: 376 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.628e-05/0.2106, allocations: 11.89 kB / 465 MB, free: 364 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001576/0.2121, allocations: 88.64 kB / 465.1 MB, free: 276 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005819/0.2128, allocations: 274.5 kB / 465.4 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.611e-05/0.2128, allocations: 16.33 kB / 465.4 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.238e-05/0.2129, allocations: 20.38 kB / 465.4 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000873/0.2138, allocations: 322 kB / 465.7 MB, free: 15.59 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.994e-05/0.2139, allocations: 4 kB / 465.7 MB, free: 15.59 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.943e-05/0.2139, allocations: 8 kB / 465.7 MB, free: 15.58 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.955e-05/0.214, allocations: 19.98 kB / 465.7 MB, free: 15.56 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007997/0.2148, allocations: 287.8 kB / 466 MB, free: 15.28 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002985/0.2178, allocations: 1.275 MB / 467.3 MB, free: 13.91 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007406/0.2186, allocations: 229.1 kB / 467.5 MB, free: 13.67 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00024/0.2189, allocations: 97.73 kB / 467.6 MB, free: 13.57 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.19e-05/0.2189, allocations: 3.984 kB / 467.6 MB, free: 13.57 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.829e-05/0.219, allocations: 42.56 kB / 467.7 MB, free: 13.52 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 3.817e-06/0.219, allocations: 0 / 467.7 MB, free: 13.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001486/0.2205, allocations: 443 kB / 468.1 MB, free: 13.08 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.658e-05/0.2206, allocations: 81.11 kB / 468.2 MB, free: 12.98 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000347/0.221, allocations: 198.3 kB / 468.4 MB, free: 12.77 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.177e-05/0.221, allocations: 29.64 kB / 468.4 MB, free: 12.74 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000168/0.2212, allocations: 159.8 kB / 468.5 MB, free: 12.58 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.388e-05/0.2213, allocations: 59.31 kB / 468.6 MB, free: 12.52 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001634/0.2215, allocations: 53.69 kB / 468.7 MB, free: 12.46 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001944/0.2217, allocations: 326.8 kB / 469 MB, free: 12.13 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002688/0.222, allocations: 91.89 kB / 469.1 MB, free: 12.04 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003421/0.2224, allocations: 154.2 kB / 469.2 MB, free: 11.86 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000577/0.223, allocations: 268.2 kB / 469.5 MB, free: 11.57 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.764e-06/0.223, allocations: 4 kB / 469.5 MB, free: 11.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007956/0.2238, allocations: 295.5 kB / 469.8 MB, free: 11.27 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.804e-05/0.2238, allocations: 4 kB / 469.8 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.372e-05/0.2239, allocations: 4.281 kB / 469.8 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.777e-05/0.2239, allocations: 11.94 kB / 469.8 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000415/0.2243, allocations: 51.91 kB / 469.8 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.635e-05/0.2244, allocations: 4 kB / 469.8 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002782/0.2247, allocations: 15.98 kB / 469.9 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.043e-05/0.2247, allocations: 8 kB / 469.9 MB, free: 11.18 MB / 350.1 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.0002637/0.225, allocations: 153.8 kB / 470 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.426e-05/0.2251, allocations: 19.72 kB / 470 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005901/0.2257, allocations: 239.3 kB / 470.3 MB, free: 10.76 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.243e-06/0.2257, allocations: 4 kB / 470.3 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.323e-06/0.2257, allocations: 0 / 470.3 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.2258, allocations: 0 / 470.3 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002025/0.2278, allocations: 0.9518 MB / 471.2 MB, free: 9.699 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.194e-05/0.2278, allocations: 8.094 kB / 471.2 MB, free: 9.691 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002067/0.228, allocations: 35.92 kB / 471.3 MB, free: 9.656 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.171e-05/0.2281, allocations: 4 kB / 471.3 MB, free: 9.652 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.019e-05/0.2281, allocations: 11.98 kB / 471.3 MB, free: 9.641 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.387e-05/0.2281, allocations: 11.94 kB / 471.3 MB, free: 9.629 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.514e-06/0.2281, allocations: 4 kB / 471.3 MB, free: 9.625 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006679/0.2288, allocations: 419.2 kB / 471.7 MB, free: 9.152 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001043/0.2289, allocations: 96.91 kB / 471.8 MB, free: 9.039 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.379e-05/0.229, allocations: 12 kB / 471.8 MB, free: 9.027 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002518/0.2293, allocations: 11.92 kB / 471.8 MB, free: 9.016 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.835e-05/0.2293, allocations: 31.86 kB / 471.9 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.242e-05/0.2294, allocations: 11.94 kB / 471.9 MB, free: 8.973 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002204/0.2296, allocations: 151 kB / 472 MB, free: 8.824 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.2296, allocations: 0 / 472 MB, free: 8.824 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000622/0.2303, allocations: 56 kB / 472.1 MB, free: 8.77 MB / 350.1 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.0001858/0.2305, allocations: 107.2 kB / 472.2 MB, free: 8.656 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005411/0.231, allocations: 219.7 kB / 472.4 MB, free: 8.441 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.231, allocations: 0 / 472.4 MB, free: 8.441 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002136/0.2312, allocations: 101.3 kB / 472.5 MB, free: 8.344 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006661/0.2319, allocations: 40.05 kB / 472.5 MB, free: 8.305 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001506/0.2335, allocations: 0.6911 MB / 473.2 MB, free: 7.535 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005387/0.234, allocations: 0.7554 MB / 474 MB, free: 6.75 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001233/0.2342, allocations: 23.42 kB / 474 MB, free: 6.727 MB / 350.1 MB Notification: Performance of SimCode: time 1.152e-06/0.2342, allocations: 0 / 474 MB, free: 6.727 MB / 350.1 MB Notification: Performance of Templates: time 0.007623/0.2418, allocations: 2.622 MB / 476.6 MB, free: 4.098 MB / 350.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.makefile (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=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe 2>&1)