Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad.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.OneSlackOneZLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad") translateModel(PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008428/0.0008428, allocations: 92.23 kB / 15.36 MB, free: 0.7383 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.003886/0.003886, allocations: 169.5 kB / 16.26 MB, free: 6.613 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.196/1.196, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1662/0.1662, allocations: 16.75 MB / 308.2 MB, free: 15.5 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002621/0.0002622, allocations: 8 kB / 373.5 MB, free: 3.152 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2149/0.2152, allocations: 54.56 MB / 428.1 MB, free: 37.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad): time 0.003183/0.2184, allocations: 4.695 MB / 432.8 MB, free: 36.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002536/0.2209, allocations: 2.458 MB / 435.2 MB, free: 34.78 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002486/0.2212, allocations: 12.34 kB / 435.3 MB, free: 34.78 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004392/0.2217, allocations: 221 kB / 435.5 MB, free: 34.7 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00161/0.2233, allocations: 1.089 MB / 436.6 MB, free: 34.21 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006894/0.224, allocations: 454.4 kB / 437 MB, free: 34.04 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.0007486/0.2247, allocations: 0.932 MB / 437.9 MB, free: 33.71 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001181/0.2249, allocations: 72.7 kB / 438 MB, free: 33.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002228/0.2251, allocations: 298.9 kB / 438.3 MB, free: 33.54 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000246/0.2253, allocations: 334.3 kB / 438.6 MB, free: 33.39 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.475e-05/0.2254, allocations: 20.31 kB / 438.6 MB, free: 33.39 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003629/0.2258, allocations: 269 kB / 438.9 MB, free: 33.31 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.476e-05/0.2258, allocations: 97.66 kB / 439 MB, free: 33.24 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001921/0.226, allocations: 338.4 kB / 439.3 MB, free: 33.03 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005615/0.2266, allocations: 0.8415 MB / 440.2 MB, free: 32.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.2266, allocations: 0 / 440.2 MB, free: 32.73 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2266, allocations: 0 / 440.2 MB, free: 32.73 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.622e-06/0.2266, allocations: 3.938 kB / 440.2 MB, free: 32.73 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.00345/0.2301, allocations: 1.228 MB / 441.4 MB, free: 32.03 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.699e-05/0.2301, allocations: 11.06 kB / 441.4 MB, free: 32.03 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002975/0.2304, allocations: 89.55 kB / 441.5 MB, free: 31.99 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004858/0.2309, allocations: 495.9 kB / 442 MB, free: 31.62 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.306e-05/0.2309, allocations: 41.08 kB / 442 MB, free: 31.6 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.819e-05/0.231, allocations: 42.84 kB / 442.1 MB, free: 31.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000501/0.2315, allocations: 0.5284 MB / 442.6 MB, free: 31.21 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.2315, allocations: 3.5 kB / 442.6 MB, free: 31.21 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.567e-05/0.2316, allocations: 22.19 kB / 442.6 MB, free: 31.2 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/0.2316, allocations: 11.31 kB / 442.6 MB, free: 31.2 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000435/0.232, allocations: 370.2 kB / 443 MB, free: 31.07 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.001767/0.2338, allocations: 3.369 MB / 446.4 MB, free: 28.15 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004886/0.2343, allocations: 303.8 kB / 446.7 MB, free: 28.01 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001366/0.2344, allocations: 120 kB / 446.8 MB, free: 27.95 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.658e-05/0.2345, allocations: 7.562 kB / 446.8 MB, free: 27.95 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.548e-05/0.2345, allocations: 38.19 kB / 446.8 MB, free: 27.91 MB / 350.1 MB Notification: Performance of pre-optimization done (n=33): time 1.303e-06/0.2345, allocations: 0 / 446.8 MB, free: 27.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=33): time 0.0007315/0.2352, allocations: 0.4958 MB / 447.3 MB, free: 27.61 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.709e-05/0.2353, allocations: 58.53 kB / 447.4 MB, free: 27.55 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004233/0.2357, allocations: 0.5587 MB / 447.9 MB, free: 27.27 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.043e-05/0.2357, allocations: 36.92 kB / 448 MB, free: 27.23 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001302/0.2359, allocations: 307.5 kB / 448.3 MB, free: 26.99 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.266e-05/0.2359, allocations: 138.9 kB / 448.4 MB, free: 26.89 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/0.236, allocations: 124.7 kB / 448.5 MB, free: 26.83 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.546e-05/0.2361, allocations: 379.1 kB / 448.9 MB, free: 26.48 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003914/0.2365, allocations: 324.5 kB / 449.2 MB, free: 26.36 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004303/0.2369, allocations: 434.1 kB / 449.6 MB, free: 26.17 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007025/0.2377, allocations: 0.6391 MB / 450.3 MB, free: 25.82 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.2377, allocations: 4 kB / 450.3 MB, free: 25.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.001187/0.2389, allocations: 1.023 MB / 451.3 MB, free: 25.37 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.2389, allocations: 7.656 kB / 451.3 MB, free: 25.37 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.2389, allocations: 0 / 451.3 MB, free: 25.37 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001459/0.239, allocations: 42.42 kB / 451.4 MB, free: 25.35 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008607/0.2399, allocations: 257.7 kB / 451.6 MB, free: 25.33 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006438/0.2406, allocations: 1.341 MB / 452.9 MB, free: 23.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005795/0.2412, allocations: 89.64 kB / 453 MB, free: 23.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.912e-05/0.2412, allocations: 36.75 kB / 453.1 MB, free: 23.9 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 (165): * Single equations (assignments): 164 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001722/0.2414, allocations: 206.4 kB / 453.3 MB, free: 23.72 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.469e-05/0.2415, allocations: 64 kB / 453.3 MB, free: 23.69 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000484/0.242, allocations: 350.1 kB / 453.7 MB, free: 23.5 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.242, allocations: 9.969 kB / 453.7 MB, free: 23.49 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/0.242, allocations: 7.938 kB / 453.7 MB, free: 23.48 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.242, allocations: 0 / 453.7 MB, free: 23.48 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007788/0.2428, allocations: 0.9506 MB / 454.6 MB, free: 22.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.2428, allocations: 0 / 454.6 MB, free: 22.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000218/0.243, allocations: 56.22 kB / 454.7 MB, free: 22.88 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.689e-05/0.2431, allocations: 35.58 kB / 454.7 MB, free: 22.86 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.626e-05/0.2431, allocations: 7.938 kB / 454.7 MB, free: 22.85 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005658/0.2437, allocations: 1.326 MB / 456.1 MB, free: 21.51 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.2437, allocations: 3.375 kB / 456.1 MB, free: 21.51 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004081/0.2441, allocations: 439.5 kB / 456.5 MB, free: 21.22 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001467/0.2443, allocations: 187.1 kB / 456.7 MB, free: 21.05 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.983e-05/0.2443, allocations: 10.88 kB / 456.7 MB, free: 21.05 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003666/0.2447, allocations: 23.14 kB / 456.7 MB, free: 21.04 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.521e-05/0.2448, allocations: 22.83 kB / 456.7 MB, free: 21.04 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.151e-05/0.2448, allocations: 16.44 kB / 456.8 MB, free: 21.04 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000286/0.2451, allocations: 362.4 kB / 457.1 MB, free: 20.86 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2451, allocations: 4 kB / 457.1 MB, free: 20.86 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005259/0.2456, allocations: 241 kB / 457.3 MB, free: 20.82 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 (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000149/0.2458, allocations: 153.7 kB / 457.5 MB, free: 20.71 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000856/0.2466, allocations: 0.78 MB / 458.3 MB, free: 20.35 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.2467, allocations: 0 / 458.3 MB, free: 20.35 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000246/0.2469, allocations: 245.2 kB / 458.5 MB, free: 20.19 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005309/0.2474, allocations: 55.06 kB / 458.6 MB, free: 20.16 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.0009245/0.2484, allocations: 1.076 MB / 459.6 MB, free: 19.45 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001801/0.2486, allocations: 0.8479 MB / 460.5 MB, free: 18.73 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003319/0.2489, allocations: 95.22 kB / 460.6 MB, free: 18.71 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001103/0.249, allocations: 46.56 kB / 460.6 MB, free: 18.7 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.249, allocations: 4 kB / 460.6 MB, free: 18.7 MB / 350.1 MB Notification: Performance of Templates: time 0.009934/0.259, allocations: 6.682 MB / 467.3 MB, free: 18.22 MB / 350.1 MB make -j1 -f PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad.makefile (rm -f PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad.pipe ; mkfifo PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad.pipe >> ../files/PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad.sim & ./PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad -abortSlowSimulation -alarm=50 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad.pipe 2>&1)