Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoadWithOneLine.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.OneSlackOneLoadWithOneLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoadWithOneLine") translateModel(PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoadWithOneLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoadWithOneLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001725/0.00173, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002403/0.002403, allocations: 193.7 kB / 16.14 MB, free: 6.719 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.426/1.426, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.2182/0.2182, allocations: 16.78 MB / 306.7 MB, free: 15.03 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 63.91 kB / 371.1 MB, free: 4.105 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.322/0.3233, allocations: 53.56 MB / 424.6 MB, free: 39.11 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoadWithOneLine): time 0.009118/0.3324, allocations: 10.97 MB / 435.6 MB, free: 32.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005201/0.3377, allocations: 3.52 MB / 439.1 MB, free: 29.9 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007254/0.3384, allocations: 22.59 kB / 439.2 MB, free: 29.89 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009197/0.3394, allocations: 359.1 kB / 439.5 MB, free: 29.74 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002979/0.3424, allocations: 1.534 MB / 441 MB, free: 28.73 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001084/0.3435, allocations: 0.6418 MB / 441.7 MB, free: 28.36 MB / 350.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1125:9-1125: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:1125:9-1125:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘load.UStartPF / 1.732050807568877‘ [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1125:9-1125:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘line.UStartAPF / 1.732050807568877‘ [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1125:9-1125:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘line.UStartBPF / 1.732050807568877‘ Notification: Performance of NFFlatten.flatten: time 0.001625/0.3451, allocations: 1.812 MB / 443.5 MB, free: 27.44 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002191/0.3454, allocations: 131.6 kB / 443.6 MB, free: 27.38 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005423/0.3459, allocations: 0.5617 MB / 444.2 MB, free: 27.11 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004808/0.3464, allocations: 0.6575 MB / 444.8 MB, free: 26.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.51e-05/0.3465, allocations: 39.59 kB / 444.9 MB, free: 26.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007201/0.3472, allocations: 340.7 kB / 445.2 MB, free: 26.72 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001062/0.3473, allocations: 171.2 kB / 445.4 MB, free: 26.61 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003991/0.3477, allocations: 0.5868 MB / 446 MB, free: 26.27 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001104/0.3489, allocations: 1.532 MB / 447.5 MB, free: 25.62 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.73e-06/0.3489, allocations: 3.25 kB / 447.5 MB, free: 25.62 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.3489, allocations: 0 / 447.5 MB, free: 25.62 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.125e-05/0.3489, allocations: 0 / 447.5 MB, free: 25.62 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: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.007523/0.3564, allocations: 2.363 MB / 449.9 MB, free: 24.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.3565, allocations: 9.938 kB / 449.9 MB, free: 24.5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006071/0.3571, allocations: 174.9 kB / 450 MB, free: 24.43 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009278/0.358, allocations: 0.7442 MB / 450.8 MB, free: 23.91 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.264e-05/0.3581, allocations: 67.69 kB / 450.9 MB, free: 23.88 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.159e-05/0.3582, allocations: 93.25 kB / 450.9 MB, free: 23.85 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00113/0.3593, allocations: 1.025 MB / 452 MB, free: 23.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.023e-05/0.3594, allocations: 7.219 kB / 452 MB, free: 23.15 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.047e-05/0.3594, allocations: 40.25 kB / 452 MB, free: 23.12 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.789e-05/0.3595, allocations: 26.3 kB / 452 MB, free: 23.12 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001018/0.3605, allocations: 0.7982 MB / 452.8 MB, free: 22.82 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.004459/0.3649, allocations: 6.483 MB / 459.3 MB, free: 17.43 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00129/0.3662, allocations: 0.7289 MB / 460.1 MB, free: 17.13 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003412/0.3666, allocations: 286.5 kB / 460.3 MB, free: 17 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.361e-05/0.3667, allocations: 17.5 kB / 460.3 MB, free: 17 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.061e-05/0.3667, allocations: 42.34 kB / 460.4 MB, free: 16.95 MB / 350.1 MB Notification: Performance of pre-optimization done (n=75): time 2.455e-06/0.3667, allocations: 0 / 460.4 MB, free: 16.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=75): time 0.002839/0.3695, allocations: 1.233 MB / 461.6 MB, free: 16.43 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.115e-05/0.3696, allocations: 58.12 kB / 461.7 MB, free: 16.37 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009797/0.3706, allocations: 0.9292 MB / 462.6 MB, free: 15.94 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.037e-05/0.3706, allocations: 44.83 kB / 462.7 MB, free: 15.89 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003287/0.371, allocations: 0.5052 MB / 463.2 MB, free: 15.48 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002215/0.3712, allocations: 306.5 kB / 463.5 MB, free: 15.26 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005296/0.3717, allocations: 478.1 kB / 463.9 MB, free: 15.03 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.727e-05/0.3718, allocations: 344.5 kB / 464.3 MB, free: 14.71 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009344/0.3728, allocations: 0.6398 MB / 464.9 MB, free: 14.45 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001134/0.3739, allocations: 0.857 MB / 465.8 MB, free: 14.07 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001929/0.3758, allocations: 1.294 MB / 467.1 MB, free: 13.36 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.007e-06/0.3759, allocations: 1.156 kB / 467.1 MB, free: 13.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=338) (initialization): time 0.003527/0.3794, allocations: 2.127 MB / 469.2 MB, free: 12.45 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.45e-05/0.3794, allocations: 9.781 kB / 469.2 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/0.3794, allocations: 2.406 kB / 469.2 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006622/0.3801, allocations: 180.3 kB / 469.4 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001897/0.382, allocations: 0.5184 MB / 469.9 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03565/0.4177, allocations: 2.404 MB / 472.3 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002093/0.4198, allocations: 169.1 kB / 472.5 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003097/0.4201, allocations: 84.48 kB / 472.5 MB, free: 10.26 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (325): * Single equations (assignments): 324 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0005893/0.4207, allocations: 305.1 kB / 472.8 MB, free: 10 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002379/0.421, allocations: 107.7 kB / 472.9 MB, free: 9.949 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001447/0.4224, allocations: 0.7754 MB / 473.7 MB, free: 9.578 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.949e-06/0.4225, allocations: 15.33 kB / 473.7 MB, free: 9.574 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.4225, allocations: 0 / 473.7 MB, free: 9.574 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/0.4225, allocations: 4.203 kB / 473.7 MB, free: 9.574 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002474/0.425, allocations: 1.747 MB / 475.5 MB, free: 8.668 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.425, allocations: 0 / 475.5 MB, free: 8.668 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005221/0.4255, allocations: 125.5 kB / 475.6 MB, free: 8.652 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005819/0.4261, allocations: 160.8 kB / 475.8 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.626e-05/0.4262, allocations: 12.92 kB / 475.8 MB, free: 8.598 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002547/0.4287, allocations: 2.371 MB / 478.1 MB, free: 6.664 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.4287, allocations: 0 / 478.1 MB, free: 6.664 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001553/0.4303, allocations: 0.8586 MB / 479 MB, free: 6.207 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004653/0.4308, allocations: 267.3 kB / 479.3 MB, free: 5.988 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001305/0.4309, allocations: 12.44 kB / 479.3 MB, free: 5.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006061/0.4315, allocations: 33.94 kB / 479.3 MB, free: 5.965 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001161/0.4316, allocations: 42.72 kB / 479.4 MB, free: 5.961 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.724e-05/0.4317, allocations: 25.91 kB / 479.4 MB, free: 5.953 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007046/0.4324, allocations: 0.564 MB / 479.9 MB, free: 5.703 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4324, allocations: 0 / 479.9 MB, free: 5.703 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001426/0.4338, allocations: 494.8 kB / 480.4 MB, free: 5.637 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (62): * Single equations (assignments): 61 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000289/0.4341, allocations: 178.1 kB / 480.6 MB, free: 5.512 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002576/0.4367, allocations: 1.555 MB / 482.2 MB, free: 4.867 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/0.4367, allocations: 8 kB / 482.2 MB, free: 4.859 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006837/0.4374, allocations: 486.4 kB / 482.6 MB, free: 4.59 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007878/0.4382, allocations: 83.05 kB / 482.7 MB, free: 4.539 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.002432/0.4407, allocations: 1.89 MB / 484.6 MB, free: 3.332 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004909/0.4412, allocations: 0.9983 MB / 485.6 MB, free: 2.609 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0007753/0.4419, allocations: 181.8 kB / 485.8 MB, free: 2.555 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002384/0.4422, allocations: 88.47 kB / 485.9 MB, free: 2.539 MB / 350.1 MB Notification: Performance of SimCode: time 6.51e-07/0.4422, allocations: 0 / 485.9 MB, free: 2.539 MB / 350.1 MB Notification: Performance of Templates: time 0.02611/0.4683, allocations: 13.45 MB / 499.3 MB, free: 9.824 MB / 366.1 MB make -j1 -f PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoadWithOneLine.makefile (rm -f PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoadWithOneLine.pipe ; mkfifo PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoadWithOneLine.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoadWithOneLine.pipe >> ../files/PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoadWithOneLine.sim & ./PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoadWithOneLine -abortSlowSimulation -alarm=50 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoadWithOneLine.pipe 2>&1)