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.0008656/0.0008656, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.004713/0.004713, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.199/1.199, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1644/0.1644, allocations: 16.76 MB / 308.2 MB, free: 15.55 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002689/0.0002689, allocations: 8 kB / 373.5 MB, free: 3.164 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2254/0.2257, allocations: 54.55 MB / 428.1 MB, free: 37.86 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad): time 0.003445/0.2292, allocations: 4.652 MB / 432.7 MB, free: 36.26 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00267/0.2319, allocations: 2.326 MB / 435.1 MB, free: 35.05 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004653/0.2324, allocations: 12.59 kB / 435.1 MB, free: 35.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005627/0.2329, allocations: 204.7 kB / 435.3 MB, free: 34.97 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001957/0.2349, allocations: 1.082 MB / 436.4 MB, free: 34.49 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005611/0.2355, allocations: 333 kB / 436.7 MB, free: 34.38 MB / 350.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1117:9-1117:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘slack.UStartPF / 1.732050807568877‘ [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1117:9-1117:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘load.UStartPF / 1.732050807568877‘ Notification: Performance of NFFlatten.flatten: time 0.0008194/0.2363, allocations: 0.9258 MB / 437.6 MB, free: 34.12 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001318/0.2364, allocations: 73.45 kB / 437.7 MB, free: 34.1 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002388/0.2367, allocations: 304.1 kB / 438 MB, free: 33.96 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002463/0.2369, allocations: 335.9 kB / 438.3 MB, free: 33.8 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.192e-05/0.237, allocations: 17.78 kB / 438.3 MB, free: 33.8 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003838/0.2374, allocations: 230.6 kB / 438.5 MB, free: 33.74 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.334e-05/0.2374, allocations: 89.27 kB / 438.6 MB, free: 33.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00019/0.2376, allocations: 338.8 kB / 439 MB, free: 33.46 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005676/0.2382, allocations: 0.8175 MB / 439.8 MB, free: 33.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.345e-06/0.2382, allocations: 0 / 439.8 MB, free: 33.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.2382, allocations: 0 / 439.8 MB, free: 33.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.2382, allocations: 3.844 kB / 439.8 MB, free: 33.18 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.003214/0.2415, allocations: 1.181 MB / 441 MB, free: 32.49 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.894e-05/0.2415, allocations: 12.75 kB / 441 MB, free: 32.49 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002949/0.2418, allocations: 94.19 kB / 441.1 MB, free: 32.45 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004903/0.2423, allocations: 487.4 kB / 441.5 MB, free: 32.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.094e-05/0.2423, allocations: 36.47 kB / 441.6 MB, free: 32.07 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.131e-05/0.2424, allocations: 44.5 kB / 441.6 MB, free: 32.05 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005056/0.2429, allocations: 0.5172 MB / 442.1 MB, free: 31.69 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.2429, allocations: 3.938 kB / 442.1 MB, free: 31.68 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.582e-05/0.243, allocations: 19.34 kB / 442.2 MB, free: 31.67 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.243, allocations: 10.69 kB / 442.2 MB, free: 31.67 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004134/0.2434, allocations: 351 kB / 442.5 MB, free: 31.55 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.001837/0.2452, allocations: 3.357 MB / 445.9 MB, free: 28.64 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004559/0.2457, allocations: 282.9 kB / 446.2 MB, free: 28.51 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001203/0.2458, allocations: 98.72 kB / 446.2 MB, free: 28.46 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.885e-05/0.2459, allocations: 5.75 kB / 446.3 MB, free: 28.46 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.323e-05/0.2459, allocations: 34.56 kB / 446.3 MB, free: 28.42 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.312e-06/0.2459, allocations: 3.938 kB / 446.3 MB, free: 28.42 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.0007792/0.2467, allocations: 476 kB / 446.8 MB, free: 28.14 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.894e-05/0.2467, allocations: 58.28 kB / 446.8 MB, free: 28.08 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004542/0.2472, allocations: 0.5727 MB / 447.4 MB, free: 27.8 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.763e-05/0.2472, allocations: 32.7 kB / 447.4 MB, free: 27.77 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001458/0.2473, allocations: 321.8 kB / 447.7 MB, free: 27.51 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.055e-05/0.2474, allocations: 126.5 kB / 447.9 MB, free: 27.42 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.979e-05/0.2475, allocations: 118.6 kB / 448 MB, free: 27.36 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.205e-05/0.2476, allocations: 381.4 kB / 448.3 MB, free: 27.02 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003742/0.248, allocations: 299.6 kB / 448.6 MB, free: 26.9 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004142/0.2484, allocations: 411.3 kB / 449 MB, free: 26.72 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006684/0.2491, allocations: 0.6021 MB / 449.6 MB, free: 26.4 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.2491, allocations: 0 / 449.6 MB, free: 26.4 MB / 350.1 MB Notification: Performance of matching and sorting (n=160) (initialization): time 0.001185/0.2503, allocations: 0.9909 MB / 450.6 MB, free: 25.96 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.2503, allocations: 6.969 kB / 450.6 MB, free: 25.96 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.2503, allocations: 4.125 kB / 450.6 MB, free: 25.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000189/0.2505, allocations: 35.2 kB / 450.7 MB, free: 25.95 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008196/0.2513, allocations: 261 kB / 450.9 MB, free: 25.92 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.196e-05/0.2514, allocations: 10.73 kB / 450.9 MB, free: 25.92 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005597/0.2519, allocations: 82.41 kB / 451 MB, free: 25.86 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.785e-05/0.252, allocations: 41.17 kB / 451.1 MB, free: 25.85 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.0001731/0.2522, allocations: 199.8 kB / 451.3 MB, free: 25.67 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.603e-05/0.2522, allocations: 60.62 kB / 451.3 MB, free: 25.64 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005044/0.2528, allocations: 328 kB / 451.6 MB, free: 25.45 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.2528, allocations: 3.156 kB / 451.6 MB, free: 25.45 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.2528, allocations: 3.188 kB / 451.6 MB, free: 25.45 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.2528, allocations: 0 / 451.6 MB, free: 25.45 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007963/0.2536, allocations: 0.9166 MB / 452.6 MB, free: 24.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.2536, allocations: 3.375 kB / 452.6 MB, free: 24.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002007/0.2538, allocations: 45.78 kB / 452.6 MB, free: 24.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001315/0.2539, allocations: 47.33 kB / 452.7 MB, free: 24.83 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.563e-05/0.254, allocations: 7.188 kB / 452.7 MB, free: 24.83 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.254, allocations: 3.938 kB / 452.7 MB, free: 24.82 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.254, allocations: 3.188 kB / 452.7 MB, free: 24.82 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004186/0.2544, allocations: 420.7 kB / 453.1 MB, free: 24.54 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001458/0.2546, allocations: 178 kB / 453.3 MB, free: 24.38 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.556e-05/0.2546, allocations: 7.312 kB / 453.3 MB, free: 24.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003548/0.255, allocations: 28.08 kB / 453.3 MB, free: 24.38 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.619e-05/0.255, allocations: 16.06 kB / 453.3 MB, free: 24.38 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/0.2551, allocations: 10.47 kB / 453.3 MB, free: 24.37 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003013/0.2554, allocations: 377.2 kB / 453.7 MB, free: 24.2 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2554, allocations: 0 / 453.7 MB, free: 24.2 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005278/0.2559, allocations: 241.9 kB / 453.9 MB, free: 24.15 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.000173/0.2561, allocations: 149.8 kB / 454.1 MB, free: 24.04 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007455/0.2568, allocations: 0.7044 MB / 454.8 MB, free: 23.71 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.2569, allocations: 2.969 kB / 454.8 MB, free: 23.71 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001581/0.257, allocations: 191.5 kB / 455 MB, free: 23.57 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005528/0.2576, allocations: 69.94 kB / 455 MB, free: 23.54 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.0009293/0.2585, allocations: 1.028 MB / 456.1 MB, free: 22.85 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001904/0.2587, allocations: 0.8452 MB / 456.9 MB, free: 22.13 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003193/0.259, allocations: 96.02 kB / 457 MB, free: 22.11 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001045/0.2592, allocations: 43.78 kB / 457 MB, free: 22.1 MB / 350.1 MB Notification: Performance of SimCode: time 7.11e-07/0.2592, allocations: 0 / 457 MB, free: 22.1 MB / 350.1 MB Notification: Performance of Templates: time 0.009682/0.2688, allocations: 6.302 MB / 463.3 MB, free: 21.64 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)