Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.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.Examples.Tutorial.IslandOperation.PowerFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow") translateModel(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001184/0.001184, 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.001156/0.001156, allocations: 195.9 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.307/1.307, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1709/0.1709, allocations: 16.77 MB / 306.9 MB, free: 14.85 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001946/0.001946, allocations: 59.91 kB / 371.3 MB, free: 3.961 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.261/0.2629, allocations: 53.54 MB / 424.8 MB, free: 39 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow): time 0.01836/0.2813, allocations: 32.3 MB / 457.1 MB, free: 16.54 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01111/0.2925, allocations: 8.72 MB / 465.8 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003398/0.2959, allocations: 83.09 kB / 465.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003036/0.299, allocations: 0.9737 MB / 466.9 MB, free: 9.754 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008699/0.3077, allocations: 3.383 MB / 470.3 MB, free: 7.457 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003262/0.311, allocations: 1.447 MB / 471.7 MB, free: 6.652 MB / 350.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1126:9-1126:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘GEN1.UStartPF / 1.732050807568877‘ [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1126:9-1126:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘GEN2.UStartPF / 1.732050807568877‘ [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1126:9-1126:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘GRIDL1.UStartPF / 1.732050807568877‘ [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1126:9-1126:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘GRIDL2.UStartPF / 1.732050807568877‘ [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1126:9-1126:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘NTLV1.UStartPF / 1.732050807568877‘ [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1126:9-1126:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘TGEN1.UStartAPF / 1.732050807568877‘ [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1126:9-1126:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘TGEN1.UStartBPF / 1.732050807568877‘ [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1126:9-1126:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘NTHV1.UStartPF / 1.732050807568877‘ [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1126:9-1126: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:1126:9-1126:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘LINE.UStartBPF / 1.732050807568877‘ [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1126:9-1126:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘NTHV2.UStartPF / 1.732050807568877‘ [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1126:9-1126:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘TGEN2.UStartAPF / 1.732050807568877‘ [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1126:9-1126:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘TGEN2.UStartBPF / 1.732050807568877‘ [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1126:9-1126:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘NTLV2.UStartPF / 1.732050807568877‘ Notification: Performance of NFFlatten.flatten: time 0.007045/0.318, allocations: 6.49 MB / 478.2 MB, free: 3.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001021/0.319, allocations: 495.7 kB / 478.7 MB, free: 3.051 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003334/0.3224, allocations: 2.179 MB / 480.9 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003637/0.326, allocations: 2.418 MB / 483.3 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008625/0.3269, allocations: 235.2 kB / 483.5 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002971/0.3299, allocations: 0.7469 MB / 484.3 MB, free: 0.625 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007989/0.3307, allocations: 0.6642 MB / 484.9 MB, free: 156 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00451/0.3352, allocations: 2.18 MB / 487.1 MB, free: 14.8 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008288/0.3435, allocations: 4.84 MB / 492 MB, free: 12.77 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.3436, allocations: 0 / 492 MB, free: 12.77 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.3436, allocations: 0.7969 kB / 492 MB, free: 12.77 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001715/0.3437, allocations: 4 kB / 492 MB, free: 12.77 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 710 * Number of variables: 710 Notification: Performance of Generate backend data structure: time 0.03183/0.3756, allocations: 7.234 MB / 499.2 MB, free: 9.863 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.3756, allocations: 8.25 kB / 499.2 MB, free: 9.863 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003074/0.3787, allocations: 0.5852 MB / 499.8 MB, free: 9.617 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004952/0.3837, allocations: 2.09 MB / 0.4901 GB, free: 8.227 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000214/0.3839, allocations: 235.5 kB / 0.4903 GB, free: 8.117 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006555/0.3846, allocations: 306.7 kB / 0.4906 GB, free: 7.883 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005437/0.39, allocations: 3.402 MB / 0.494 GB, free: 3.988 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.752e-05/0.3901, allocations: 27.69 kB / 0.494 GB, free: 3.965 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003081/0.3904, allocations: 128 kB / 0.4941 GB, free: 3.84 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.089e-05/0.3905, allocations: 76 kB / 0.4942 GB, free: 3.766 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004234/0.3947, allocations: 2.698 MB / 0.4968 GB, free: 1.051 MB / 366.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.02064/0.4154, allocations: 21.98 MB / 0.5183 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004418/0.4198, allocations: 2.434 MB / 0.5207 GB, free: 7.641 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00138/0.4212, allocations: 0.916 MB / 0.5216 GB, free: 6.719 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001557/0.4214, allocations: 46 kB / 0.5216 GB, free: 6.676 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.273e-05/0.4215, allocations: 66.59 kB / 0.5217 GB, free: 6.602 MB / 398.1 MB Notification: Performance of pre-optimization done (n=251): time 5.15e-06/0.4215, allocations: 0 / 0.5217 GB, free: 6.602 MB / 398.1 MB Notification: Performance of matching and sorting (n=251): time 0.01408/0.4356, allocations: 4.74 MB / 0.5263 GB, free: 1.789 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.468e-05/0.4356, allocations: 77.41 kB / 0.5264 GB, free: 1.703 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004669/0.4403, allocations: 2.955 MB / 0.5292 GB, free: 14.75 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004443/0.4408, allocations: 85.81 kB / 0.5293 GB, free: 14.66 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001488/0.4423, allocations: 1.591 MB / 0.5309 GB, free: 13.05 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001261/0.4435, allocations: 1.011 MB / 0.5319 GB, free: 12.03 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003102/0.4466, allocations: 1.608 MB / 0.5334 GB, free: 10.41 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.728e-05/0.4467, allocations: 309.1 kB / 0.5337 GB, free: 10.1 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003841/0.4506, allocations: 2.189 MB / 0.5359 GB, free: 7.906 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004431/0.455, allocations: 2.934 MB / 0.5387 GB, free: 4.875 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007302/0.4624, allocations: 4.449 MB / 0.5431 GB, free: 292 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.396e-05/0.4624, allocations: 4 kB / 0.5431 GB, free: 288 kB / 414.1 MB Notification: Performance of matching and sorting (n=1174) (initialization): time 0.01454/0.4769, allocations: 7.294 MB / 0.5502 GB, free: 8.906 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.716e-05/0.477, allocations: 8 kB / 0.5502 GB, free: 8.898 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.803e-05/0.4771, allocations: 7.938 kB / 0.5502 GB, free: 8.891 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004587/0.4816, allocations: 0.8932 MB / 0.5511 GB, free: 7.988 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006868/0.4885, allocations: 1.736 MB / 0.5528 GB, free: 6.25 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01278/0.5013, allocations: 8.921 MB / 0.5615 GB, free: 12.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00666/0.508, allocations: 0.5957 MB / 0.5621 GB, free: 12.31 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009074/0.5089, allocations: 276 kB / 0.5623 GB, free: 12.04 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 8 (NTLV2.isSlackBus,NTHV2.isSlackBus,NTHV1.isSlackBus,NTLV1.isSlackBus,GRIDL2.isSlackBus,GRIDL1.isSlackBus,GEN2.isSlackBus,GEN1.isSlackBus) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1119): * Single equations (assignments): 1116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,0,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(17,0), (39,0)} Notification: Performance of prepare postOptimizeDAE: time 0.002022/0.511, allocations: 0.7205 MB / 0.5631 GB, free: 11.31 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001176/0.5122, allocations: 367.5 kB / 0.5634 GB, free: 10.95 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005049/0.5172, allocations: 2.59 MB / 0.5659 GB, free: 8.336 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-05/0.5173, allocations: 11.95 kB / 0.5659 GB, free: 8.324 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.5173, allocations: 0 / 0.5659 GB, free: 8.324 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001817/0.5191, allocations: 0.6915 MB / 0.5666 GB, free: 7.609 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007037/0.5198, allocations: 44 kB / 0.5667 GB, free: 7.566 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002205/0.522, allocations: 91.94 kB / 0.5667 GB, free: 7.477 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003133/0.5223, allocations: 185.6 kB / 0.5669 GB, free: 7.297 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005733/0.5281, allocations: 2.512 MB / 0.5694 GB, free: 4.766 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004759/0.5329, allocations: 3.067 MB / 0.5724 GB, free: 1.676 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001076/0.534, allocations: 0.7731 MB / 0.5731 GB, free: 0.9023 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002365/0.5363, allocations: 1.73 MB / 0.5748 GB, free: 15.18 MB / 462.1 MB Notification: Performance of Backend: time 4.9e-07/0.5363, allocations: 4 kB / 0.5748 GB, free: 15.18 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01089/0.5472, allocations: 5.623 MB / 0.5803 GB, free: 9.523 MB / 462.1 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of SimCode: time 0.008657/0.5559, allocations: 7.073 MB / 0.5872 GB, free: 2.43 MB / 462.1 MB Notification: Performance of Templates: time 0.2305/0.7864, allocations: 54.86 MB / 0.6408 GB, free: 116.6 MB / 462.1 MB make -j1 -f PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.makefile (rm -f PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.pipe ; mkfifo PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.pipe >> ../files/PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.sim & ./PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow -abortSlowSimulation -alarm=50 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.pipe 2>&1)