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.0129/0.0129, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.002219/0.00222, allocations: 195.8 kB / 16.79 MB, free: 5.809 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.61/1.61, allocations: 222.9 MB / 240.5 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.2717/0.2717, allocations: 16.78 MB / 307.4 MB, free: 14.93 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 59.91 kB / 371.7 MB, free: 4.062 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3586/0.3599, allocations: 53.55 MB / 425.3 MB, free: 39.05 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad): time 0.005037/0.365, allocations: 5.1 MB / 430.4 MB, free: 36.38 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003255/0.3682, allocations: 2.507 MB / 432.9 MB, free: 34.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003602/0.3686, allocations: 12.88 kB / 432.9 MB, free: 34.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006184/0.3693, allocations: 215.8 kB / 433.1 MB, free: 34.83 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002025/0.3713, allocations: 1.112 MB / 434.2 MB, free: 34.11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007803/0.3721, allocations: 465 kB / 434.7 MB, free: 33.86 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‘ Notification: Performance of NFFlatten.flatten: time 0.0009815/0.3731, allocations: 0.9364 MB / 435.6 MB, free: 33.39 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001528/0.3733, allocations: 67.66 kB / 435.7 MB, free: 33.36 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002768/0.3736, allocations: 306.2 kB / 436 MB, free: 33.22 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002795/0.3738, allocations: 342.6 kB / 436.3 MB, free: 33.07 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.664e-05/0.3739, allocations: 19.78 kB / 436.3 MB, free: 33.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005621/0.3745, allocations: 265.3 kB / 436.6 MB, free: 32.99 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.241e-05/0.3746, allocations: 94.69 kB / 436.7 MB, free: 32.93 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002384/0.3748, allocations: 316.8 kB / 437 MB, free: 32.74 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005576/0.3754, allocations: 0.6601 MB / 437.7 MB, free: 32.48 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.3754, allocations: 4 kB / 437.7 MB, free: 32.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.3754, allocations: 0 / 437.7 MB, free: 32.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.336e-06/0.3754, allocations: 0 / 437.7 MB, free: 32.48 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.003999/0.3794, allocations: 1.37 MB / 439 MB, free: 31.71 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/0.3795, allocations: 11.44 kB / 439 MB, free: 31.71 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000343/0.3798, allocations: 98.58 kB / 439.1 MB, free: 31.66 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006258/0.3804, allocations: 486.1 kB / 439.6 MB, free: 31.3 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.221e-05/0.3805, allocations: 37.72 kB / 439.6 MB, free: 31.28 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.935e-05/0.3806, allocations: 40.25 kB / 439.7 MB, free: 31.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006157/0.3812, allocations: 0.5292 MB / 440.2 MB, free: 30.89 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.724e-05/0.3812, allocations: 2.875 kB / 440.2 MB, free: 30.89 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.228e-05/0.3812, allocations: 21.16 kB / 440.2 MB, free: 30.88 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.14e-05/0.3813, allocations: 12.09 kB / 440.3 MB, free: 30.88 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004994/0.3818, allocations: 378.5 kB / 440.6 MB, free: 30.75 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.002241/0.384, allocations: 3.379 MB / 444 MB, free: 27.83 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005615/0.3846, allocations: 305.4 kB / 444.3 MB, free: 27.69 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001477/0.3847, allocations: 114 kB / 444.4 MB, free: 27.63 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.467e-05/0.3848, allocations: 9.922 kB / 444.4 MB, free: 27.63 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.182e-05/0.3848, allocations: 38.06 kB / 444.5 MB, free: 27.59 MB / 350.1 MB Notification: Performance of pre-optimization done (n=33): time 1.974e-06/0.3848, allocations: 4 kB / 444.5 MB, free: 27.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=33): time 0.0008835/0.3857, allocations: 498.6 kB / 444.9 MB, free: 27.3 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.009e-05/0.3858, allocations: 58.5 kB / 445 MB, free: 27.23 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005253/0.3863, allocations: 0.56 MB / 445.6 MB, free: 26.96 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.525e-05/0.3863, allocations: 36.73 kB / 445.6 MB, free: 26.92 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001818/0.3865, allocations: 312.2 kB / 445.9 MB, free: 26.67 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001012/0.3866, allocations: 132.4 kB / 446 MB, free: 26.57 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002823/0.3869, allocations: 247.8 kB / 446.3 MB, free: 26.45 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001/0.387, allocations: 379.2 kB / 446.6 MB, free: 26.11 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004278/0.3875, allocations: 321.2 kB / 447 MB, free: 25.98 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000472/0.3879, allocations: 432.5 kB / 447.4 MB, free: 25.79 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008103/0.3888, allocations: 0.641 MB / 448 MB, free: 25.44 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.648e-06/0.3888, allocations: 3.469 kB / 448 MB, free: 25.44 MB / 350.1 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.001415/0.3902, allocations: 1.022 MB / 449 MB, free: 25 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.3902, allocations: 4.406 kB / 449.1 MB, free: 25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.228e-06/0.3902, allocations: 3.406 kB / 449.1 MB, free: 25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002016/0.3904, allocations: 44.2 kB / 449.1 MB, free: 24.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009125/0.3914, allocations: 258.5 kB / 449.4 MB, free: 24.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008305/0.3922, allocations: 1.342 MB / 450.7 MB, free: 23.6 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006573/0.3929, allocations: 84.89 kB / 450.8 MB, free: 23.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-05/0.3929, allocations: 47.31 kB / 450.8 MB, free: 23.52 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.0002313/0.3932, allocations: 195.2 kB / 451 MB, free: 23.35 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.183e-05/0.3933, allocations: 65.78 kB / 451.1 MB, free: 23.31 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00052/0.3938, allocations: 356.7 kB / 451.4 MB, free: 23.12 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.3938, allocations: 3.156 kB / 451.4 MB, free: 23.12 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.3938, allocations: 0 / 451.4 MB, free: 23.12 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.3938, allocations: 0 / 451.4 MB, free: 23.12 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009534/0.3948, allocations: 0.9637 MB / 452.4 MB, free: 22.51 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.3948, allocations: 0 / 452.4 MB, free: 22.51 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002258/0.395, allocations: 54.81 kB / 452.4 MB, free: 22.51 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001032/0.3952, allocations: 29.67 kB / 452.5 MB, free: 22.49 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.21e-05/0.3952, allocations: 11.97 kB / 452.5 MB, free: 22.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006725/0.3959, allocations: 1.321 MB / 453.8 MB, free: 21.15 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.3959, allocations: 2.906 kB / 453.8 MB, free: 21.15 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005025/0.3964, allocations: 449.4 kB / 454.3 MB, free: 20.85 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001805/0.3966, allocations: 170 kB / 454.4 MB, free: 20.7 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.163e-05/0.3967, allocations: 15.28 kB / 454.4 MB, free: 20.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003582/0.397, allocations: 24.05 kB / 454.5 MB, free: 20.68 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.225e-05/0.3971, allocations: 20.23 kB / 454.5 MB, free: 20.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.376e-05/0.3971, allocations: 17.61 kB / 454.5 MB, free: 20.67 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003387/0.3974, allocations: 363.2 kB / 454.8 MB, free: 20.5 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3974, allocations: 0 / 454.8 MB, free: 20.5 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000618/0.3981, allocations: 243.6 kB / 455.1 MB, free: 20.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 (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.0002209/0.3983, allocations: 154.3 kB / 455.2 MB, free: 20.34 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00102/0.3993, allocations: 0.7802 MB / 456 MB, free: 19.99 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.3993, allocations: 3.125 kB / 456 MB, free: 19.99 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002832/0.3996, allocations: 244.4 kB / 456.3 MB, free: 19.83 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000553/0.4002, allocations: 55.31 kB / 456.3 MB, free: 19.8 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.001204/0.4014, allocations: 1.075 MB / 457.4 MB, free: 19.05 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002343/0.4017, allocations: 0.8439 MB / 458.2 MB, free: 18.34 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001484/0.4018, allocations: 53.11 kB / 458.3 MB, free: 18.33 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.4018, allocations: 0 / 458.3 MB, free: 18.33 MB / 350.1 MB Notification: Performance of Templates: time 0.01461/0.4164, allocations: 10.23 MB / 468.5 MB, free: 17.3 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)