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.001797/0.001797, 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.002363/0.002363, allocations: 195.2 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.398/1.398, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.2056/0.2056, allocations: 16.79 MB / 307.2 MB, free: 14.88 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001395, allocations: 63.89 kB / 371.8 MB, free: 3.617 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.361/0.3625, allocations: 53.55 MB / 425.3 MB, free: 39.14 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad): time 0.005056/0.3676, allocations: 4.558 MB / 429.9 MB, free: 36.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003152/0.3708, allocations: 2.353 MB / 432.2 MB, free: 35.33 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002971/0.3711, allocations: 12.44 kB / 432.2 MB, free: 35.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005735/0.3717, allocations: 236.6 kB / 432.5 MB, free: 35.2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002238/0.3739, allocations: 1.166 MB / 433.6 MB, free: 34.45 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008426/0.3748, allocations: 348 kB / 434 MB, free: 34.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001712/0.3765, allocations: 1.027 MB / 435 MB, free: 33.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002771/0.3768, allocations: 76.69 kB / 435.1 MB, free: 33.72 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000556/0.3774, allocations: 364.2 kB / 435.4 MB, free: 33.54 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004977/0.3779, allocations: 373.7 kB / 435.8 MB, free: 33.36 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.231e-05/0.378, allocations: 39.81 kB / 435.8 MB, free: 33.36 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008398/0.3788, allocations: 251.4 kB / 436.1 MB, free: 33.3 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001214/0.3789, allocations: 119.7 kB / 436.2 MB, free: 33.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003746/0.3793, allocations: 339.2 kB / 436.5 MB, free: 33.01 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001275/0.3806, allocations: 0.8535 MB / 437.4 MB, free: 32.64 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.706e-06/0.3806, allocations: 0 / 437.4 MB, free: 32.64 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.544e-06/0.3806, allocations: 0 / 437.4 MB, free: 32.64 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.243e-05/0.3807, allocations: 0 / 437.4 MB, free: 32.64 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.003462/0.3841, allocations: 1.211 MB / 438.6 MB, free: 31.89 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.416e-05/0.3842, allocations: 8.438 kB / 438.6 MB, free: 31.89 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00035/0.3845, allocations: 95.66 kB / 438.7 MB, free: 31.86 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007011/0.3853, allocations: 0.5023 MB / 439.2 MB, free: 31.48 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.783e-05/0.3853, allocations: 31.41 kB / 439.2 MB, free: 31.46 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.51e-05/0.3854, allocations: 44.44 kB / 439.3 MB, free: 31.45 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006172/0.386, allocations: 0.5115 MB / 439.8 MB, free: 31.08 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.685e-05/0.386, allocations: 6.688 kB / 439.8 MB, free: 31.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.997e-05/0.3861, allocations: 21.38 kB / 439.8 MB, free: 31.06 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.246e-05/0.3861, allocations: 11.03 kB / 439.8 MB, free: 31.06 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000461/0.3865, allocations: 355.2 kB / 440.2 MB, free: 30.93 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.002718/0.3893, allocations: 3.408 MB / 443.6 MB, free: 28.04 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005037/0.3898, allocations: 285.3 kB / 443.9 MB, free: 27.91 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001243/0.3899, allocations: 91.77 kB / 443.9 MB, free: 27.86 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.62e-05/0.39, allocations: 9.062 kB / 444 MB, free: 27.86 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.028e-05/0.39, allocations: 41.7 kB / 444 MB, free: 27.82 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.623e-06/0.39, allocations: 0 / 444 MB, free: 27.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.0009695/0.391, allocations: 475.6 kB / 444.5 MB, free: 27.54 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.897e-05/0.391, allocations: 58.5 kB / 444.5 MB, free: 27.47 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006491/0.3917, allocations: 0.6078 MB / 445.1 MB, free: 27.18 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.951e-05/0.3917, allocations: 29.7 kB / 445.2 MB, free: 27.14 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002085/0.3919, allocations: 326.5 kB / 445.5 MB, free: 26.88 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.27e-05/0.392, allocations: 119.6 kB / 445.6 MB, free: 26.8 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002875/0.3923, allocations: 238.2 kB / 445.8 MB, free: 26.68 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.3925, allocations: 386.3 kB / 446.2 MB, free: 26.33 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004142/0.3929, allocations: 300.2 kB / 446.5 MB, free: 26.21 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000497/0.3934, allocations: 412.8 kB / 446.9 MB, free: 26.03 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006858/0.3941, allocations: 0.5654 MB / 447.5 MB, free: 25.73 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.3941, allocations: 1.625 kB / 447.5 MB, free: 25.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=160) (initialization): time 0.001461/0.3956, allocations: 0.9871 MB / 448.4 MB, free: 25.3 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.551e-05/0.3956, allocations: 6.75 kB / 448.5 MB, free: 25.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/0.3956, allocations: 0 / 448.5 MB, free: 25.3 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002639/0.3959, allocations: 49.58 kB / 448.5 MB, free: 25.28 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008448/0.3967, allocations: 250.4 kB / 448.7 MB, free: 25.26 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.582e-05/0.3968, allocations: 9.656 kB / 448.8 MB, free: 25.26 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007007/0.3975, allocations: 81.88 kB / 448.8 MB, free: 25.2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.968e-05/0.3975, allocations: 40.56 kB / 448.9 MB, free: 25.19 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.0002213/0.3978, allocations: 204.7 kB / 449.1 MB, free: 25.01 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.515e-05/0.3979, allocations: 59.72 kB / 449.1 MB, free: 24.98 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005803/0.3985, allocations: 327.5 kB / 449.5 MB, free: 24.79 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-06/0.3985, allocations: 3.188 kB / 449.5 MB, free: 24.79 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.812e-06/0.3985, allocations: 0 / 449.5 MB, free: 24.79 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.3985, allocations: 0 / 449.5 MB, free: 24.79 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009912/0.3995, allocations: 0.9495 MB / 450.4 MB, free: 24.19 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.3995, allocations: 2.844 kB / 450.4 MB, free: 24.19 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002027/0.3997, allocations: 48.55 kB / 450.5 MB, free: 24.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001413/0.3999, allocations: 43.09 kB / 450.5 MB, free: 24.16 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.059e-05/0.3999, allocations: 7.125 kB / 450.5 MB, free: 24.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.037e-06/0.3999, allocations: 14.75 kB / 450.5 MB, free: 24.15 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.3999, allocations: 0 / 450.5 MB, free: 24.15 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004894/0.4004, allocations: 415.3 kB / 450.9 MB, free: 23.87 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001844/0.4006, allocations: 194.6 kB / 451.1 MB, free: 23.7 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.167e-05/0.4007, allocations: 4 kB / 451.1 MB, free: 23.7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004/0.4011, allocations: 20.17 kB / 451.1 MB, free: 23.69 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.059e-05/0.4011, allocations: 16.89 kB / 451.2 MB, free: 23.69 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.411e-05/0.4012, allocations: 17.02 kB / 451.2 MB, free: 23.69 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004412/0.4016, allocations: 402 kB / 451.6 MB, free: 23.5 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.4016, allocations: 4 kB / 451.6 MB, free: 23.5 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006362/0.4023, allocations: 236.5 kB / 451.8 MB, free: 23.46 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.0002323/0.4025, allocations: 144 kB / 451.9 MB, free: 23.36 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009009/0.4034, allocations: 0.7202 MB / 452.7 MB, free: 23.02 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.4034, allocations: 0 / 452.7 MB, free: 23.02 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001726/0.4036, allocations: 199.4 kB / 452.9 MB, free: 22.87 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005435/0.4042, allocations: 54.56 kB / 452.9 MB, free: 22.84 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.00111/0.4053, allocations: 0.8166 MB / 453.7 MB, free: 22.34 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002693/0.4056, allocations: 0.8481 MB / 454.6 MB, free: 21.63 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003288/0.4059, allocations: 97.14 kB / 454.7 MB, free: 21.6 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001087/0.406, allocations: 44.19 kB / 454.7 MB, free: 21.59 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.406, allocations: 0 / 454.7 MB, free: 21.59 MB / 350.1 MB Notification: Performance of Templates: time 0.01364/0.4197, allocations: 6.86 MB / 461.6 MB, free: 21.08 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=480 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad.pipe 2>&1)