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.0008957/0.0008957, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001073/0.001073, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.235/1.235, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1798/0.1798, allocations: 16.76 MB / 307.8 MB, free: 15.58 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002733/0.0002733, allocations: 12 kB / 372.9 MB, free: 3.598 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.237/0.2373, allocations: 54.56 MB / 427.5 MB, free: 37.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad): time 0.003171/0.2405, allocations: 4.433 MB / 431.9 MB, free: 37.12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002101/0.2426, allocations: 2.319 MB / 434.2 MB, free: 35.67 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001911/0.2428, allocations: 16.69 kB / 434.2 MB, free: 35.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003578/0.2432, allocations: 199.9 kB / 434.4 MB, free: 35.56 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001409/0.2446, allocations: 0.9411 MB / 435.4 MB, free: 34.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006115/0.2452, allocations: 401.7 kB / 435.8 MB, free: 34.72 MB / 350.1 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1092:9-1092: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:1092:9-1092:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘load.UStartPF / 1.732050807568877‘ Notification: Performance of NFFlatten.flatten: time 0.0007056/0.2459, allocations: 0.8963 MB / 436.7 MB, free: 34.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001261/0.246, allocations: 68.81 kB / 436.7 MB, free: 34.22 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002185/0.2463, allocations: 290.1 kB / 437 MB, free: 34.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002508/0.2465, allocations: 330.8 kB / 437.3 MB, free: 33.95 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.383e-05/0.2466, allocations: 21.78 kB / 437.4 MB, free: 33.95 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003611/0.2469, allocations: 252.8 kB / 437.6 MB, free: 33.88 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.29e-05/0.247, allocations: 92.22 kB / 437.7 MB, free: 33.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.917e-05/0.2471, allocations: 137.8 kB / 437.8 MB, free: 33.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004361/0.2475, allocations: 0.6465 MB / 438.5 MB, free: 33.53 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.2475, allocations: 0 / 438.5 MB, free: 33.53 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2476, allocations: 2.812 kB / 438.5 MB, free: 33.53 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.091e-06/0.2476, allocations: 0 / 438.5 MB, free: 33.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.003099/0.2507, allocations: 1.23 MB / 439.7 MB, free: 32.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.727e-05/0.2507, allocations: 11.31 kB / 439.7 MB, free: 32.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002796/0.251, allocations: 92.22 kB / 439.8 MB, free: 32.8 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004875/0.2515, allocations: 473.6 kB / 440.3 MB, free: 32.45 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.376e-05/0.2515, allocations: 36.12 kB / 440.3 MB, free: 32.43 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.506e-05/0.2516, allocations: 46.38 kB / 440.4 MB, free: 32.41 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005063/0.2521, allocations: 0.523 MB / 440.9 MB, free: 32.04 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.2521, allocations: 6.938 kB / 440.9 MB, free: 32.04 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.386e-05/0.2521, allocations: 17.88 kB / 440.9 MB, free: 32.02 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.126e-05/0.2522, allocations: 8.844 kB / 440.9 MB, free: 32.02 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004288/0.2526, allocations: 381.5 kB / 441.3 MB, free: 31.89 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.001769/0.2544, allocations: 3.357 MB / 444.6 MB, free: 28.98 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004748/0.2548, allocations: 301.7 kB / 444.9 MB, free: 28.84 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001292/0.255, allocations: 107.5 kB / 445 MB, free: 28.79 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.944e-05/0.255, allocations: 7.094 kB / 445.1 MB, free: 28.79 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.405e-05/0.255, allocations: 38.47 kB / 445.1 MB, free: 28.75 MB / 350.1 MB Notification: Performance of pre-optimization done (n=33): time 1.353e-06/0.255, allocations: 4 kB / 445.1 MB, free: 28.74 MB / 350.1 MB Notification: Performance of matching and sorting (n=33): time 0.0007127/0.2558, allocations: 0.502 MB / 445.6 MB, free: 28.44 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.433e-05/0.2558, allocations: 58.59 kB / 445.7 MB, free: 28.38 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004109/0.2562, allocations: 0.5425 MB / 446.2 MB, free: 28.11 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.735e-05/0.2562, allocations: 36.73 kB / 446.2 MB, free: 28.07 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000142/0.2564, allocations: 312.9 kB / 446.5 MB, free: 27.82 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.624e-05/0.2565, allocations: 139.1 kB / 446.7 MB, free: 27.72 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.2e-05/0.2565, allocations: 26.09 kB / 446.7 MB, free: 27.7 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.289e-05/0.2566, allocations: 380.9 kB / 447.1 MB, free: 27.36 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003775/0.257, allocations: 309 kB / 447.4 MB, free: 27.23 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004258/0.2574, allocations: 430.6 kB / 447.8 MB, free: 27.04 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004577/0.2579, allocations: 397.3 kB / 448.2 MB, free: 26.84 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.2579, allocations: 7.875 kB / 448.2 MB, free: 26.83 MB / 350.1 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.001157/0.2591, allocations: 1.019 MB / 449.2 MB, free: 26.38 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.2591, allocations: 6.156 kB / 449.2 MB, free: 26.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.2591, allocations: 7.219 kB / 449.2 MB, free: 26.38 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001456/0.2592, allocations: 27.98 kB / 449.2 MB, free: 26.36 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008219/0.2601, allocations: 269.7 kB / 449.5 MB, free: 26.33 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006464/0.2607, allocations: 1.333 MB / 450.8 MB, free: 24.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000484/0.2612, allocations: 84.39 kB / 450.9 MB, free: 24.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.055e-05/0.2613, allocations: 41.34 kB / 451 MB, free: 24.91 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001767/0.2615, allocations: 204.6 kB / 451.2 MB, free: 24.73 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.437e-05/0.2615, allocations: 60.81 kB / 451.2 MB, free: 24.7 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004794/0.262, allocations: 348.3 kB / 451.6 MB, free: 24.51 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.262, allocations: 2.969 kB / 451.6 MB, free: 24.51 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-06/0.2621, allocations: 0 / 451.6 MB, free: 24.51 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.2621, allocations: 3.281 kB / 451.6 MB, free: 24.51 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007704/0.2628, allocations: 0.9485 MB / 452.5 MB, free: 23.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.2628, allocations: 3.312 kB / 452.5 MB, free: 23.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002048/0.2631, allocations: 54.31 kB / 452.6 MB, free: 23.9 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.023e-05/0.2631, allocations: 32.72 kB / 452.6 MB, free: 23.89 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.748e-05/0.2632, allocations: 7.125 kB / 452.6 MB, free: 23.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005568/0.2637, allocations: 1.336 MB / 454 MB, free: 22.53 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.2637, allocations: 3.219 kB / 454 MB, free: 22.53 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004014/0.2642, allocations: 441.3 kB / 454.4 MB, free: 22.23 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001429/0.2643, allocations: 181 kB / 454.6 MB, free: 22.07 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.084e-05/0.2644, allocations: 7.312 kB / 454.6 MB, free: 22.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003177/0.2647, allocations: 30.58 kB / 454.6 MB, free: 22.06 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.145e-05/0.2647, allocations: 20.05 kB / 454.6 MB, free: 22.06 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.105e-05/0.2648, allocations: 17.47 kB / 454.6 MB, free: 22.05 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002712/0.265, allocations: 355.2 kB / 455 MB, free: 21.88 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.265, allocations: 0 / 455 MB, free: 21.88 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005305/0.2656, allocations: 237 kB / 455.2 MB, free: 21.85 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001663/0.2658, allocations: 160.3 kB / 455.4 MB, free: 21.73 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008332/0.2666, allocations: 0.7773 MB / 456.1 MB, free: 21.38 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.2666, allocations: 3.938 kB / 456.2 MB, free: 21.37 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002398/0.2669, allocations: 245 kB / 456.4 MB, free: 21.21 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004525/0.2673, allocations: 57.69 kB / 456.4 MB, free: 21.18 MB / 350.1 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is set to 'isProtected' (=false) by default. Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000948/0.2683, allocations: 1.008 MB / 457.5 MB, free: 20.52 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001928/0.2685, allocations: 0.8455 MB / 458.3 MB, free: 19.8 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003378/0.2688, allocations: 102.3 kB / 458.4 MB, free: 19.77 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001082/0.2689, allocations: 48.84 kB / 458.4 MB, free: 19.76 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2689, allocations: 0 / 458.4 MB, free: 19.76 MB / 350.1 MB Notification: Performance of Templates: time 0.009529/0.2785, allocations: 6.483 MB / 464.9 MB, free: 19.27 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)