Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad.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/PowerGrids 2.0.0-develop/package.mo", uses=false) Using package PowerGrids with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/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(PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad") translateModel(PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001187/0.001187, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001165/0.001165, allocations: 191.8 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.192/1.192, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.163/0.163, allocations: 16.78 MB / 307.2 MB, free: 14.82 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 63.91 kB / 371.8 MB, free: 3.641 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2283/0.2296, allocations: 53.55 MB / 425.3 MB, free: 39.4 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad): time 0.003853/0.2335, allocations: 4.557 MB / 429.9 MB, free: 37 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002289/0.2358, allocations: 2.351 MB / 432.2 MB, free: 35.61 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001991/0.236, allocations: 12.59 kB / 432.2 MB, free: 35.6 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004143/0.2364, allocations: 230.7 kB / 432.5 MB, free: 35.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001666/0.2381, allocations: 1.171 MB / 433.6 MB, free: 34.73 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005427/0.2386, allocations: 346 kB / 434 MB, free: 34.55 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007153/0.2394, allocations: 1.031 MB / 435 MB, free: 34.03 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001222/0.2395, allocations: 70.72 kB / 435.1 MB, free: 34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002415/0.2397, allocations: 357.7 kB / 435.4 MB, free: 33.83 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002756/0.24, allocations: 378.3 kB / 435.8 MB, free: 33.64 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.059e-05/0.2401, allocations: 41.5 kB / 435.8 MB, free: 33.64 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003752/0.2405, allocations: 257.4 kB / 436.1 MB, free: 33.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.697e-05/0.2406, allocations: 109.4 kB / 436.2 MB, free: 33.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002108/0.2408, allocations: 350.8 kB / 436.5 MB, free: 33.28 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005824/0.2414, allocations: 0.8408 MB / 437.4 MB, free: 32.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.2414, allocations: 0 / 437.4 MB, free: 32.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2414, allocations: 0 / 437.4 MB, free: 32.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.393e-06/0.2414, allocations: 3.938 kB / 437.4 MB, free: 32.93 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.002571/0.244, allocations: 1.219 MB / 438.6 MB, free: 32.17 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.797e-05/0.244, allocations: 8.094 kB / 438.6 MB, free: 32.17 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002921/0.2443, allocations: 95.62 kB / 438.7 MB, free: 32.13 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005353/0.2448, allocations: 0.4972 MB / 439.2 MB, free: 31.76 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.211e-05/0.2449, allocations: 37.72 kB / 439.2 MB, free: 31.74 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.05e-05/0.2449, allocations: 45.28 kB / 439.3 MB, free: 31.72 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004917/0.2454, allocations: 0.5076 MB / 439.8 MB, free: 31.36 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.2454, allocations: 2.875 kB / 439.8 MB, free: 31.36 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.589e-05/0.2455, allocations: 21.34 kB / 439.8 MB, free: 31.34 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/0.2455, allocations: 15.06 kB / 439.8 MB, free: 31.34 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004008/0.2459, allocations: 347.7 kB / 440.2 MB, free: 31.22 MB / 350.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002284/0.2482, allocations: 3.414 MB / 443.6 MB, free: 28.32 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004433/0.2486, allocations: 278.8 kB / 443.8 MB, free: 28.2 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001137/0.2488, allocations: 97.59 kB / 443.9 MB, free: 28.15 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.011e-05/0.2488, allocations: 10.02 kB / 443.9 MB, free: 28.14 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.377e-05/0.2488, allocations: 37.84 kB / 444 MB, free: 28.1 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.533e-06/0.2488, allocations: 4 kB / 444 MB, free: 28.1 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.0007712/0.2496, allocations: 475.6 kB / 444.5 MB, free: 27.82 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.043e-05/0.2496, allocations: 54.59 kB / 444.5 MB, free: 27.76 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004803/0.2501, allocations: 0.6069 MB / 445.1 MB, free: 27.46 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.062e-05/0.2502, allocations: 32.58 kB / 445.1 MB, free: 27.43 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001303/0.2503, allocations: 323.2 kB / 445.5 MB, free: 27.17 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.989e-05/0.2504, allocations: 127.2 kB / 445.6 MB, free: 27.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002258/0.2506, allocations: 239.4 kB / 445.8 MB, free: 26.96 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.776e-05/0.2507, allocations: 381.7 kB / 446.2 MB, free: 26.61 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003489/0.251, allocations: 302 kB / 446.5 MB, free: 26.5 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003944/0.2514, allocations: 413.6 kB / 446.9 MB, free: 26.31 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005607/0.252, allocations: 0.5646 MB / 447.5 MB, free: 26.01 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.252, allocations: 6.938 kB / 447.5 MB, free: 26.01 MB / 350.1 MB Notification: Performance of matching and sorting (n=160) (initialization): time 0.001152/0.2532, allocations: 0.9855 MB / 448.4 MB, free: 25.59 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.2532, allocations: 7.156 kB / 448.5 MB, free: 25.58 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.2532, allocations: 7.5 kB / 448.5 MB, free: 25.58 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001893/0.2534, allocations: 39.7 kB / 448.5 MB, free: 25.56 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007833/0.2542, allocations: 256.9 kB / 448.8 MB, free: 25.54 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.2542, allocations: 6.531 kB / 448.8 MB, free: 25.54 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000637/0.2548, allocations: 89.78 kB / 448.8 MB, free: 25.47 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.578e-05/0.2549, allocations: 34.31 kB / 448.9 MB, free: 25.46 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 2 (load.isSlackBus,slack.isSlackBus) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (159): * Single equations (assignments): 158 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001689/0.2551, allocations: 197.4 kB / 449.1 MB, free: 25.29 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.653e-05/0.2552, allocations: 64.39 kB / 449.1 MB, free: 25.26 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004651/0.2556, allocations: 325.7 kB / 449.5 MB, free: 25.07 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.2556, allocations: 3.25 kB / 449.5 MB, free: 25.07 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.2557, allocations: 7.406 kB / 449.5 MB, free: 25.07 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.2557, allocations: 0 / 449.5 MB, free: 25.07 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007851/0.2565, allocations: 0.9388 MB / 450.4 MB, free: 24.47 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.2565, allocations: 0 / 450.4 MB, free: 24.47 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001978/0.2567, allocations: 55.7 kB / 450.5 MB, free: 24.46 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001288/0.2568, allocations: 36.02 kB / 450.5 MB, free: 24.45 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.624e-05/0.2568, allocations: 7.219 kB / 450.5 MB, free: 24.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.2568, allocations: 7.875 kB / 450.5 MB, free: 24.44 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.2568, allocations: 6.641 kB / 450.5 MB, free: 24.44 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004131/0.2573, allocations: 414.8 kB / 450.9 MB, free: 24.16 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001549/0.2574, allocations: 188.6 kB / 451.1 MB, free: 23.99 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.794e-05/0.2575, allocations: 7.281 kB / 451.1 MB, free: 23.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004035/0.2579, allocations: 23.77 kB / 451.1 MB, free: 23.98 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.635e-05/0.258, allocations: 20.06 kB / 451.2 MB, free: 23.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.796e-05/0.258, allocations: 10.62 kB / 451.2 MB, free: 23.97 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003265/0.2583, allocations: 406.8 kB / 451.6 MB, free: 23.79 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.92e-07/0.2583, allocations: 0 / 451.6 MB, free: 23.79 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005097/0.2588, allocations: 241.2 kB / 451.8 MB, free: 23.74 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001668/0.259, allocations: 140.3 kB / 451.9 MB, free: 23.64 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000786/0.2598, allocations: 0.7237 MB / 452.7 MB, free: 23.3 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.2598, allocations: 0 / 452.7 MB, free: 23.3 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001526/0.26, allocations: 193.5 kB / 452.8 MB, free: 23.16 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004841/0.2605, allocations: 69.95 kB / 452.9 MB, free: 23.12 MB / 350.1 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008704/0.2613, allocations: 0.8091 MB / 453.7 MB, free: 22.62 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001877/0.2615, allocations: 0.8475 MB / 454.6 MB, free: 21.91 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003178/0.2619, allocations: 101.3 kB / 454.7 MB, free: 21.88 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001003/0.262, allocations: 50.28 kB / 454.7 MB, free: 21.88 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.262, allocations: 0 / 454.7 MB, free: 21.88 MB / 350.1 MB Notification: Performance of Templates: time 0.009585/0.2716, allocations: 6.851 MB / 461.6 MB, free: 21.36 MB / 350.1 MB make -j1 -f PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad.makefile (rm -f PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad.pipe ; mkfifo PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad.pipe >> ../files/PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad.sim & ./PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad -abortSlowSimulation -alarm=50 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad.pipe 2>&1)