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.001276/0.001276, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00137/0.00137, allocations: 193.2 kB / 16.25 MB, free: 6.629 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.393/1.393, allocations: 222.9 MB / 239.9 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.2405/0.2405, allocations: 16.79 MB / 306.9 MB, free: 14.82 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001424, allocations: 63.91 kB / 371.3 MB, free: 3.895 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3404/0.3418, allocations: 53.55 MB / 424.8 MB, free: 39.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad): time 0.006497/0.3484, allocations: 5.103 MB / 429.9 MB, free: 36.48 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003427/0.3518, allocations: 2.498 MB / 432.4 MB, free: 35 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003865/0.3523, allocations: 16.34 kB / 432.4 MB, free: 34.99 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006384/0.3529, allocations: 221.3 kB / 432.6 MB, free: 34.89 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002118/0.355, allocations: 1.073 MB / 433.7 MB, free: 34.2 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007608/0.3558, allocations: 456.2 kB / 434.2 MB, free: 33.95 MB / 350.1 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1126:9-1126: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:1126:9-1126:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘load.UStartPF / 1.732050807568877‘ Notification: Performance of NFFlatten.flatten: time 0.0009451/0.3568, allocations: 0.9797 MB / 435.1 MB, free: 33.44 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000163/0.3569, allocations: 73.92 kB / 435.2 MB, free: 33.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003048/0.3572, allocations: 345.9 kB / 435.6 MB, free: 33.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003011/0.3576, allocations: 366.9 kB / 435.9 MB, free: 33.05 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.15e-05/0.3576, allocations: 35.69 kB / 435.9 MB, free: 33.05 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005536/0.3582, allocations: 296.1 kB / 436.2 MB, free: 32.97 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.329e-05/0.3583, allocations: 107.9 kB / 436.3 MB, free: 32.9 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002371/0.3585, allocations: 346.7 kB / 436.7 MB, free: 32.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000748/0.3593, allocations: 0.8767 MB / 437.6 MB, free: 32.31 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3593, allocations: 0 / 437.6 MB, free: 32.31 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.3593, allocations: 0 / 437.6 MB, free: 32.31 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.966e-06/0.3593, allocations: 0 / 437.6 MB, free: 32.31 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.003934/0.3632, allocations: 1.382 MB / 438.9 MB, free: 31.53 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.308e-05/0.3633, allocations: 8.719 kB / 438.9 MB, free: 31.53 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003393/0.3636, allocations: 94.2 kB / 439 MB, free: 31.49 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006406/0.3643, allocations: 486.2 kB / 439.5 MB, free: 31.13 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.143e-05/0.3643, allocations: 37.88 kB / 439.6 MB, free: 31.11 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.754e-05/0.3644, allocations: 44.84 kB / 439.6 MB, free: 31.1 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006553/0.3651, allocations: 0.5197 MB / 440.1 MB, free: 30.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.714e-05/0.3651, allocations: 2.875 kB / 440.1 MB, free: 30.73 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.96e-05/0.3651, allocations: 25.5 kB / 440.1 MB, free: 30.71 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/0.3652, allocations: 10.47 kB / 440.2 MB, free: 30.71 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004626/0.3656, allocations: 375.6 kB / 440.5 MB, free: 30.58 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.002131/0.3678, allocations: 3.383 MB / 443.9 MB, free: 27.65 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005524/0.3683, allocations: 304.9 kB / 444.2 MB, free: 27.52 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001481/0.3685, allocations: 110.6 kB / 444.3 MB, free: 27.46 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.901e-05/0.3685, allocations: 3.531 kB / 444.3 MB, free: 27.46 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.056e-05/0.3686, allocations: 38.16 kB / 444.3 MB, free: 27.42 MB / 350.1 MB Notification: Performance of pre-optimization done (n=33): time 1.623e-06/0.3686, allocations: 0 / 444.3 MB, free: 27.42 MB / 350.1 MB Notification: Performance of matching and sorting (n=33): time 0.0008932/0.3695, allocations: 0.495 MB / 444.8 MB, free: 27.13 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.769e-05/0.3695, allocations: 66.34 kB / 444.9 MB, free: 27.06 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000456/0.37, allocations: 0.5546 MB / 445.5 MB, free: 26.79 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.309e-05/0.37, allocations: 36.95 kB / 445.5 MB, free: 26.75 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001619/0.3702, allocations: 311.2 kB / 445.8 MB, free: 26.5 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.261e-05/0.3703, allocations: 131.5 kB / 445.9 MB, free: 26.4 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002456/0.3705, allocations: 244.6 kB / 446.2 MB, free: 26.28 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.204e-05/0.3706, allocations: 381.1 kB / 446.5 MB, free: 25.94 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003903/0.371, allocations: 325.8 kB / 446.9 MB, free: 25.81 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004442/0.3715, allocations: 430.7 kB / 447.3 MB, free: 25.62 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006967/0.3722, allocations: 0.6372 MB / 447.9 MB, free: 25.27 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.3722, allocations: 7.406 kB / 447.9 MB, free: 25.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.001295/0.3735, allocations: 1.018 MB / 448.9 MB, free: 24.83 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.3735, allocations: 3.312 kB / 448.9 MB, free: 24.83 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.3735, allocations: 3.375 kB / 449 MB, free: 24.83 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001871/0.3737, allocations: 39.36 kB / 449 MB, free: 24.81 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008552/0.3746, allocations: 267.4 kB / 449.3 MB, free: 24.78 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008448/0.3754, allocations: 1.433 MB / 450.7 MB, free: 23.33 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006273/0.3761, allocations: 88.91 kB / 450.8 MB, free: 23.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.137e-05/0.3761, allocations: 46.91 kB / 450.8 MB, free: 23.25 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.0002123/0.3764, allocations: 202.5 kB / 451 MB, free: 23.07 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.71e-05/0.3765, allocations: 53.69 kB / 451.1 MB, free: 23.05 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005213/0.377, allocations: 363.5 kB / 451.4 MB, free: 22.85 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.377, allocations: 3.188 kB / 451.4 MB, free: 22.85 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.377, allocations: 1 kB / 451.4 MB, free: 22.85 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.377, allocations: 7.266 kB / 451.4 MB, free: 22.85 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008933/0.3779, allocations: 0.9516 MB / 452.4 MB, free: 22.24 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.3779, allocations: 7.312 kB / 452.4 MB, free: 22.24 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002145/0.3782, allocations: 52.88 kB / 452.4 MB, free: 22.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001/0.3783, allocations: 32.8 kB / 452.5 MB, free: 22.22 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.107e-05/0.3783, allocations: 6.688 kB / 452.5 MB, free: 22.21 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006761/0.379, allocations: 1.425 MB / 453.9 MB, free: 20.78 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.379, allocations: 3.938 kB / 453.9 MB, free: 20.77 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00052/0.3795, allocations: 452.3 kB / 454.4 MB, free: 20.47 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000155/0.3797, allocations: 169.7 kB / 454.5 MB, free: 20.32 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.724e-05/0.3798, allocations: 14.97 kB / 454.5 MB, free: 20.31 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000345/0.3801, allocations: 35.14 kB / 454.6 MB, free: 20.29 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.045e-05/0.3801, allocations: 16 kB / 454.6 MB, free: 20.29 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.251e-05/0.3802, allocations: 13.28 kB / 454.6 MB, free: 20.29 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003224/0.3805, allocations: 360.7 kB / 454.9 MB, free: 20.12 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3805, allocations: 0 / 454.9 MB, free: 20.12 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006259/0.3811, allocations: 241 kB / 455.2 MB, free: 20.09 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.0002366/0.3814, allocations: 152.4 kB / 455.3 MB, free: 19.97 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001033/0.3824, allocations: 0.7927 MB / 456.1 MB, free: 19.61 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.3824, allocations: 0 / 456.1 MB, free: 19.61 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002647/0.3827, allocations: 248.8 kB / 456.4 MB, free: 19.45 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005498/0.3833, allocations: 63.56 kB / 456.4 MB, free: 19.41 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.001117/0.3844, allocations: 1.04 MB / 457.5 MB, free: 18.7 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002203/0.3846, allocations: 0.8485 MB / 458.3 MB, free: 17.99 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003545/0.385, allocations: 95.22 kB / 458.4 MB, free: 17.96 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001075/0.3851, allocations: 51.12 kB / 458.5 MB, free: 17.95 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3851, allocations: 0 / 458.5 MB, free: 17.95 MB / 350.1 MB Notification: Performance of Templates: time 0.01487/0.4, allocations: 7.271 MB / 465.7 MB, free: 17.41 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)