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.001375/0.001375, allocations: 108 kB / 15.6 MB, free: 132 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.001445/0.001445, allocations: 194.1 kB / 16.53 MB, free: 6.391 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.444/1.444, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1894/0.1894, allocations: 16.68 MB / 307.1 MB, free: 14.91 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001904/0.001904, allocations: 67.89 kB / 371.6 MB, free: 3.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2735/0.2754, allocations: 53.55 MB / 425.2 MB, free: 39.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad): time 0.004695/0.2801, allocations: 4.548 MB / 429.7 MB, free: 36.9 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002866/0.283, allocations: 2.354 MB / 432.1 MB, free: 35.51 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003055/0.2833, allocations: 12.5 kB / 432.1 MB, free: 35.51 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005401/0.2839, allocations: 231.2 kB / 432.3 MB, free: 35.39 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002072/0.286, allocations: 1.162 MB / 433.5 MB, free: 34.64 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006392/0.2867, allocations: 353.1 kB / 433.8 MB, free: 34.45 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008946/0.2876, allocations: 1.03 MB / 434.9 MB, free: 33.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001593/0.2878, allocations: 73.19 kB / 434.9 MB, free: 33.91 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003143/0.2881, allocations: 355.3 kB / 435.3 MB, free: 33.74 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003255/0.2884, allocations: 378.4 kB / 435.7 MB, free: 33.55 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.137e-05/0.2885, allocations: 42.25 kB / 435.7 MB, free: 33.55 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004875/0.289, allocations: 255.5 kB / 436 MB, free: 33.48 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.76e-05/0.2891, allocations: 114 kB / 436.1 MB, free: 33.4 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002494/0.2893, allocations: 348 kB / 436.4 MB, free: 33.19 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007325/0.2901, allocations: 0.8496 MB / 437.3 MB, free: 32.83 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.2901, allocations: 0 / 437.3 MB, free: 32.83 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2901, allocations: 0 / 437.3 MB, free: 32.83 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.329e-05/0.2901, allocations: 0 / 437.3 MB, free: 32.83 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.002872/0.293, allocations: 1.214 MB / 438.5 MB, free: 32.08 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.293, allocations: 8.25 kB / 438.5 MB, free: 32.08 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003329/0.2934, allocations: 94.72 kB / 438.6 MB, free: 32.04 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006041/0.294, allocations: 0.4923 MB / 439.1 MB, free: 31.67 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.772e-05/0.294, allocations: 37.89 kB / 439.1 MB, free: 31.65 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.633e-05/0.2941, allocations: 40.44 kB / 439.1 MB, free: 31.64 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005564/0.2946, allocations: 0.5174 MB / 439.7 MB, free: 31.27 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.2947, allocations: 0 / 439.7 MB, free: 31.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.115e-05/0.2947, allocations: 23.16 kB / 439.7 MB, free: 31.25 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.143e-05/0.2947, allocations: 13.78 kB / 439.7 MB, free: 31.25 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004418/0.2952, allocations: 351 kB / 440 MB, free: 31.12 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.002717/0.2979, allocations: 3.412 MB / 443.4 MB, free: 28.22 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005111/0.2984, allocations: 283.2 kB / 443.7 MB, free: 28.1 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001324/0.2986, allocations: 96.98 kB / 443.8 MB, free: 28.05 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.49e-05/0.2986, allocations: 5.375 kB / 443.8 MB, free: 28.05 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.987e-05/0.2986, allocations: 37.5 kB / 443.9 MB, free: 28.01 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.583e-06/0.2986, allocations: 0 / 443.9 MB, free: 28.01 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.0008983/0.2995, allocations: 477 kB / 444.3 MB, free: 27.73 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.812e-05/0.2996, allocations: 57.47 kB / 444.4 MB, free: 27.66 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005786/0.3002, allocations: 0.6062 MB / 445 MB, free: 27.37 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.641e-05/0.3002, allocations: 36.8 kB / 445 MB, free: 27.33 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001696/0.3004, allocations: 315.8 kB / 445.3 MB, free: 27.08 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.107e-05/0.3005, allocations: 126.7 kB / 445.5 MB, free: 26.99 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002583/0.3007, allocations: 238.3 kB / 445.7 MB, free: 26.87 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.842e-05/0.3008, allocations: 381.8 kB / 446.1 MB, free: 26.52 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000384/0.3012, allocations: 306.5 kB / 446.4 MB, free: 26.41 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004337/0.3017, allocations: 410.2 kB / 446.8 MB, free: 26.22 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006124/0.3023, allocations: 0.5619 MB / 447.3 MB, free: 25.93 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.3023, allocations: 0 / 447.3 MB, free: 25.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=160) (initialization): time 0.0013/0.3036, allocations: 0.9884 MB / 448.3 MB, free: 25.5 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.3036, allocations: 6.531 kB / 448.3 MB, free: 25.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.858e-06/0.3036, allocations: 6.438 kB / 448.3 MB, free: 25.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002373/0.3039, allocations: 46.95 kB / 448.4 MB, free: 25.47 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008342/0.3047, allocations: 253.9 kB / 448.6 MB, free: 25.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.391e-05/0.3047, allocations: 14.28 kB / 448.6 MB, free: 25.44 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007355/0.3055, allocations: 84.66 kB / 448.7 MB, free: 25.38 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.661e-05/0.3056, allocations: 37.53 kB / 448.7 MB, free: 25.38 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.0002195/0.3058, allocations: 199.5 kB / 448.9 MB, free: 25.2 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001008/0.3059, allocations: 67.78 kB / 449 MB, free: 25.16 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005271/0.3064, allocations: 325.2 kB / 449.3 MB, free: 24.98 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.3064, allocations: 3.344 kB / 449.3 MB, free: 24.98 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.3064, allocations: 0 / 449.3 MB, free: 24.98 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/0.3065, allocations: 3.469 kB / 449.3 MB, free: 24.98 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009125/0.3074, allocations: 0.9443 MB / 450.3 MB, free: 24.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.3074, allocations: 0 / 450.3 MB, free: 24.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002104/0.3076, allocations: 55.69 kB / 450.3 MB, free: 24.37 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001412/0.3078, allocations: 36.41 kB / 450.4 MB, free: 24.35 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.878e-05/0.3078, allocations: 7.312 kB / 450.4 MB, free: 24.35 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.3078, allocations: 3.938 kB / 450.4 MB, free: 24.34 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.3078, allocations: 7.125 kB / 450.4 MB, free: 24.34 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004717/0.3083, allocations: 422.2 kB / 450.8 MB, free: 24.05 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001769/0.3085, allocations: 183.8 kB / 451 MB, free: 23.89 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.294e-05/0.3085, allocations: 7.156 kB / 451 MB, free: 23.89 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004146/0.309, allocations: 20.28 kB / 451 MB, free: 23.88 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.424e-05/0.309, allocations: 20.58 kB / 451 MB, free: 23.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.148e-05/0.309, allocations: 10.59 kB / 451 MB, free: 23.88 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003714/0.3094, allocations: 409.3 kB / 451.4 MB, free: 23.69 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3094, allocations: 0 / 451.4 MB, free: 23.69 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005918/0.31, allocations: 241.9 kB / 451.7 MB, free: 23.65 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.0002094/0.3102, allocations: 139.5 kB / 451.8 MB, free: 23.54 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009147/0.3112, allocations: 0.727 MB / 452.5 MB, free: 23.2 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.3112, allocations: 0 / 452.5 MB, free: 23.2 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001772/0.3114, allocations: 188.2 kB / 452.7 MB, free: 23.06 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005498/0.3119, allocations: 67.84 kB / 452.8 MB, free: 23.03 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.001013/0.3129, allocations: 0.8111 MB / 453.6 MB, free: 22.53 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002132/0.3132, allocations: 0.8458 MB / 454.4 MB, free: 21.82 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003343/0.3135, allocations: 93.23 kB / 454.5 MB, free: 21.8 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001089/0.3136, allocations: 50.5 kB / 454.6 MB, free: 21.79 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3136, allocations: 0 / 454.6 MB, free: 21.79 MB / 350.1 MB Notification: Performance of Templates: time 0.01239/0.326, allocations: 6.862 MB / 461.4 MB, free: 21.28 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)