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.0008636/0.0008636, allocations: 98.03 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.00497/0.00497, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.214/1.214, allocations: 223.3 MB / 240.3 MB, free: 5.238 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1645/0.1645, allocations: 16.75 MB / 308.2 MB, free: 15.53 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002697/0.0002697, allocations: 11.98 kB / 373.5 MB, free: 3.125 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2205/0.2207, allocations: 54.56 MB / 428.1 MB, free: 37.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad): time 0.003309/0.2241, allocations: 4.703 MB / 432.8 MB, free: 35.89 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002674/0.2268, allocations: 2.458 MB / 435.2 MB, free: 34.6 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003634/0.2272, allocations: 17.94 kB / 435.3 MB, free: 34.59 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000522/0.2277, allocations: 223 kB / 435.5 MB, free: 34.51 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00186/0.2296, allocations: 1.075 MB / 436.6 MB, free: 34.04 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007471/0.2303, allocations: 459.1 kB / 437 MB, free: 33.86 MB / 350.1 MB [/var/lib/jenkins/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/jenkins/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.0008963/0.2312, allocations: 0.9361 MB / 437.9 MB, free: 33.51 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001324/0.2314, allocations: 65.53 kB / 438 MB, free: 33.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003203/0.2317, allocations: 302 kB / 438.3 MB, free: 33.35 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003023/0.232, allocations: 344.1 kB / 438.6 MB, free: 33.19 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.769e-05/0.2321, allocations: 24.56 kB / 438.7 MB, free: 33.19 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004643/0.2325, allocations: 261.2 kB / 438.9 MB, free: 33.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.024e-05/0.2326, allocations: 96.33 kB / 439 MB, free: 33.05 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002241/0.2328, allocations: 339.2 kB / 439.3 MB, free: 32.83 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006484/0.2335, allocations: 0.8402 MB / 440.2 MB, free: 32.54 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.2335, allocations: 4 kB / 440.2 MB, free: 32.53 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.2335, allocations: 0 / 440.2 MB, free: 32.53 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.2335, allocations: 0 / 440.2 MB, free: 32.53 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.003526/0.2371, allocations: 1.225 MB / 441.4 MB, free: 31.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.918e-05/0.2371, allocations: 12.3 kB / 441.4 MB, free: 31.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003053/0.2374, allocations: 94.34 kB / 441.5 MB, free: 31.8 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004966/0.2379, allocations: 491.1 kB / 442 MB, free: 31.43 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.299e-05/0.2379, allocations: 37.59 kB / 442 MB, free: 31.41 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.918e-05/0.238, allocations: 46.25 kB / 442.1 MB, free: 31.39 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005207/0.2385, allocations: 0.5208 MB / 442.6 MB, free: 31.03 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.2385, allocations: 3.938 kB / 442.6 MB, free: 31.02 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.758e-05/0.2386, allocations: 17.44 kB / 442.6 MB, free: 31.01 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.849e-06/0.2386, allocations: 12.62 kB / 442.6 MB, free: 31.01 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004494/0.2391, allocations: 377.4 kB / 443 MB, free: 30.88 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.001869/0.2409, allocations: 3.37 MB / 446.4 MB, free: 27.96 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005096/0.2415, allocations: 307.7 kB / 446.7 MB, free: 27.82 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001405/0.2416, allocations: 110 kB / 446.8 MB, free: 27.77 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.674e-05/0.2416, allocations: 6.281 kB / 446.8 MB, free: 27.77 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.605e-05/0.2417, allocations: 48 kB / 446.8 MB, free: 27.71 MB / 350.1 MB Notification: Performance of pre-optimization done (n=33): time 1.513e-06/0.2417, allocations: 0 / 446.8 MB, free: 27.71 MB / 350.1 MB Notification: Performance of matching and sorting (n=33): time 0.0007686/0.2424, allocations: 0.4975 MB / 447.3 MB, free: 27.42 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.925e-05/0.2425, allocations: 58.62 kB / 447.4 MB, free: 27.36 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004327/0.2429, allocations: 0.5571 MB / 447.9 MB, free: 27.09 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.105e-05/0.2429, allocations: 32.92 kB / 448 MB, free: 27.05 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001383/0.2431, allocations: 311.2 kB / 448.3 MB, free: 26.8 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.684e-05/0.2432, allocations: 135.7 kB / 448.4 MB, free: 26.7 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001046/0.2433, allocations: 122.9 kB / 448.5 MB, free: 26.64 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.077e-05/0.2434, allocations: 386.6 kB / 448.9 MB, free: 26.29 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003981/0.2438, allocations: 320.5 kB / 449.2 MB, free: 26.17 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004435/0.2442, allocations: 435.3 kB / 449.6 MB, free: 25.98 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007186/0.2449, allocations: 0.6391 MB / 450.3 MB, free: 25.63 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.245, allocations: 0 / 450.3 MB, free: 25.63 MB / 350.1 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.001186/0.2461, allocations: 1.027 MB / 451.3 MB, free: 25.18 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.2462, allocations: 6.25 kB / 451.3 MB, free: 25.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.2462, allocations: 0 / 451.3 MB, free: 25.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000154/0.2463, allocations: 38.42 kB / 451.3 MB, free: 25.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008699/0.2472, allocations: 272 kB / 451.6 MB, free: 25.13 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006686/0.2479, allocations: 1.329 MB / 452.9 MB, free: 23.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005961/0.2485, allocations: 84.84 kB / 453 MB, free: 23.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.045e-05/0.2486, allocations: 38.19 kB / 453.1 MB, free: 23.71 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.0001804/0.2487, allocations: 203.4 kB / 453.3 MB, free: 23.54 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.096e-05/0.2488, allocations: 64.03 kB / 453.3 MB, free: 23.5 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000498/0.2493, allocations: 356.7 kB / 453.7 MB, free: 23.31 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.2493, allocations: 7.156 kB / 453.7 MB, free: 23.3 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.2494, allocations: 0 / 453.7 MB, free: 23.3 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.636e-06/0.2494, allocations: 0 / 453.7 MB, free: 23.3 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008068/0.2502, allocations: 0.9559 MB / 454.6 MB, free: 22.7 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.2502, allocations: 7.984 kB / 454.6 MB, free: 22.69 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002228/0.2504, allocations: 48.58 kB / 454.7 MB, free: 22.69 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.324e-05/0.2505, allocations: 39.88 kB / 454.7 MB, free: 22.67 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.848e-05/0.2505, allocations: 10.09 kB / 454.7 MB, free: 22.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005894/0.2511, allocations: 1.323 MB / 456.1 MB, free: 21.33 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.2512, allocations: 3.938 kB / 456.1 MB, free: 21.32 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004212/0.2516, allocations: 445.1 kB / 456.5 MB, free: 21.03 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001498/0.2517, allocations: 180.6 kB / 456.7 MB, free: 20.87 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.319e-05/0.2518, allocations: 7 kB / 456.7 MB, free: 20.86 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003728/0.2522, allocations: 26.42 kB / 456.7 MB, free: 20.86 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.566e-05/0.2522, allocations: 22.95 kB / 456.7 MB, free: 20.86 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.093e-05/0.2523, allocations: 13.25 kB / 456.7 MB, free: 20.85 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000288/0.2526, allocations: 367.1 kB / 457.1 MB, free: 20.68 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2526, allocations: 0 / 457.1 MB, free: 20.68 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005411/0.2531, allocations: 241.5 kB / 457.3 MB, free: 20.64 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.0001656/0.2533, allocations: 149.5 kB / 457.5 MB, free: 20.53 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008713/0.2542, allocations: 0.7828 MB / 458.3 MB, free: 20.17 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.2542, allocations: 0 / 458.3 MB, free: 20.17 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002437/0.2544, allocations: 240.6 kB / 458.5 MB, free: 20.01 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005519/0.255, allocations: 58.34 kB / 458.6 MB, free: 19.98 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.0009604/0.256, allocations: 1.077 MB / 459.6 MB, free: 19.26 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000185/0.2561, allocations: 0.848 MB / 460.5 MB, free: 18.55 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003386/0.2565, allocations: 99.64 kB / 460.6 MB, free: 18.52 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001122/0.2566, allocations: 44.75 kB / 460.6 MB, free: 18.51 MB / 350.1 MB Notification: Performance of SimCode: time 2e-07/0.2566, allocations: 0 / 460.6 MB, free: 18.51 MB / 350.1 MB Notification: Performance of Templates: time 0.01011/0.2667, allocations: 6.694 MB / 467.3 MB, free: 18.03 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=480 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad.pipe 2>&1)