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.001667/0.001667, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.002241/0.00224, allocations: 195.3 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.362/1.362, allocations: 222.9 MB / 239.9 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.2065/0.2065, allocations: 16.78 MB / 306.8 MB, free: 14.9 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 59.91 kB / 371.3 MB, free: 3.969 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.357/0.3584, allocations: 53.56 MB / 424.8 MB, free: 39.12 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow): time 0.01966/0.3781, allocations: 32.3 MB / 457.1 MB, free: 16.64 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01275/0.3909, allocations: 8.723 MB / 465.9 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004916/0.3959, allocations: 80.69 kB / 465.9 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003784/0.3997, allocations: 0.9723 MB / 466.9 MB, free: 9.875 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01039/0.4102, allocations: 3.38 MB / 470.3 MB, free: 7.578 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004097/0.4143, allocations: 1.439 MB / 471.7 MB, free: 6.785 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 ‘GEN1.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 ‘GEN2.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 ‘GRIDL1.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 ‘GRIDL2.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 ‘NTLV1.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 ‘TGEN1.UStartAPF / 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 ‘TGEN1.UStartBPF / 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 ‘NTHV1.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 ‘LINE.UStartAPF / 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 ‘LINE.UStartBPF / 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 ‘NTHV2.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 ‘TGEN2.UStartAPF / 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 ‘TGEN2.UStartBPF / 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 ‘NTLV2.UStartPF / 1.732050807568877‘ Notification: Performance of NFFlatten.flatten: time 0.008288/0.4226, allocations: 6.489 MB / 478.2 MB, free: 3.398 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001172/0.4238, allocations: 495.3 kB / 478.7 MB, free: 3.18 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004338/0.4281, allocations: 2.185 MB / 480.9 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004287/0.4324, allocations: 2.428 MB / 483.3 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009162/0.4333, allocations: 234.7 kB / 483.5 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003554/0.4369, allocations: 0.7432 MB / 484.3 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005566/0.4375, allocations: 0.6618 MB / 484.9 MB, free: 280 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004676/0.4422, allocations: 2.18 MB / 487.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009896/0.4521, allocations: 4.844 MB / 492 MB, free: 12.89 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.055e-06/0.4521, allocations: 1.219 kB / 492 MB, free: 12.89 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.4521, allocations: 0 / 492 MB, free: 12.89 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001965/0.4523, allocations: 0 / 492 MB, free: 12.89 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.0337/0.486, allocations: 7.241 MB / 499.2 MB, free: 9.977 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.914e-05/0.4861, allocations: 9.625 kB / 499.2 MB, free: 9.977 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003688/0.4898, allocations: 0.5738 MB / 499.8 MB, free: 9.742 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005939/0.4958, allocations: 2.094 MB / 0.4901 GB, free: 8.242 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00024/0.496, allocations: 238.6 kB / 0.4903 GB, free: 8.129 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006138/0.4967, allocations: 310.3 kB / 0.4906 GB, free: 7.871 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005213/0.5019, allocations: 3.398 MB / 0.494 GB, free: 3.98 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.015e-05/0.502, allocations: 27.75 kB / 0.494 GB, free: 3.953 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002829/0.5023, allocations: 128 kB / 0.4941 GB, free: 3.828 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.868e-05/0.5023, allocations: 76 kB / 0.4942 GB, free: 3.754 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004121/0.5065, allocations: 2.694 MB / 0.4968 GB, free: 1.043 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.02275/0.5292, allocations: 21.98 MB / 0.5183 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00427/0.5335, allocations: 2.439 MB / 0.5207 GB, free: 7.629 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001316/0.5349, allocations: 0.916 MB / 0.5216 GB, free: 6.707 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001412/0.535, allocations: 42.06 kB / 0.5216 GB, free: 6.668 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.122e-05/0.5351, allocations: 66.59 kB / 0.5217 GB, free: 6.594 MB / 398.1 MB Notification: Performance of pre-optimization done (n=251): time 5.661e-06/0.5351, allocations: 0 / 0.5217 GB, free: 6.594 MB / 398.1 MB Notification: Performance of matching and sorting (n=251): time 0.01434/0.5494, allocations: 4.744 MB / 0.5263 GB, free: 1.777 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.59e-05/0.5495, allocations: 77.41 kB / 0.5264 GB, free: 1.691 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004148/0.5537, allocations: 2.955 MB / 0.5293 GB, free: 14.74 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005073/0.5542, allocations: 85.7 kB / 0.5293 GB, free: 14.65 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001387/0.5556, allocations: 1.583 MB / 0.5309 GB, free: 13.05 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00124/0.5569, allocations: 1.007 MB / 0.5319 GB, free: 12.03 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002133/0.559, allocations: 1.612 MB / 0.5334 GB, free: 10.4 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.757e-05/0.5591, allocations: 309.1 kB / 0.5337 GB, free: 10.1 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003249/0.5624, allocations: 2.189 MB / 0.5359 GB, free: 7.902 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003798/0.5662, allocations: 2.938 MB / 0.5387 GB, free: 4.867 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006306/0.5725, allocations: 4.453 MB / 0.5431 GB, free: 280 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.998e-05/0.5725, allocations: 4 kB / 0.5431 GB, free: 276 kB / 414.1 MB Notification: Performance of matching and sorting (n=1174) (initialization): time 0.01243/0.585, allocations: 7.294 MB / 0.5502 GB, free: 8.887 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.259e-05/0.585, allocations: 11.98 kB / 0.5502 GB, free: 8.875 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.159e-05/0.5851, allocations: 4 kB / 0.5502 GB, free: 8.871 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004323/0.5894, allocations: 0.897 MB / 0.5511 GB, free: 7.969 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00667/0.5961, allocations: 1.736 MB / 0.5528 GB, free: 6.23 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01182/0.6079, allocations: 8.912 MB / 0.5615 GB, free: 12.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007078/0.615, allocations: 0.5957 MB / 0.5621 GB, free: 12.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008387/0.6159, allocations: 276 kB / 0.5623 GB, free: 12.03 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.001909/0.6178, allocations: 0.7165 MB / 0.563 GB, free: 11.3 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008689/0.6187, allocations: 367.5 kB / 0.5634 GB, free: 10.94 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005081/0.6238, allocations: 2.59 MB / 0.5659 GB, free: 8.324 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.343e-05/0.6238, allocations: 11.95 kB / 0.5659 GB, free: 8.312 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/0.6238, allocations: 0 / 0.5659 GB, free: 8.312 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002005/0.6258, allocations: 0.6915 MB / 0.5666 GB, free: 7.598 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006418/0.6265, allocations: 40 kB / 0.5667 GB, free: 7.559 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002061/0.6285, allocations: 95.94 kB / 0.5667 GB, free: 7.465 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000298/0.6289, allocations: 181.6 kB / 0.5669 GB, free: 7.289 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00533/0.6342, allocations: 2.516 MB / 0.5694 GB, free: 4.754 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004631/0.6388, allocations: 3.071 MB / 0.5724 GB, free: 1.66 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001076/0.6399, allocations: 0.7731 MB / 0.5731 GB, free: 0.8867 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002611/0.6426, allocations: 1.727 MB / 0.5748 GB, free: 15.17 MB / 462.1 MB Notification: Performance of Backend: time 6.11e-07/0.6426, allocations: 0 / 0.5748 GB, free: 15.17 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01359/0.6562, allocations: 5.627 MB / 0.5803 GB, free: 9.512 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.0124/0.6686, allocations: 7.084 MB / 0.5872 GB, free: 2.406 MB / 462.1 MB Notification: Performance of Templates: time 0.2918/0.9604, allocations: 54.85 MB / 0.6408 GB, free: 116.2 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=480 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.pipe 2>&1)