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.001558/0.001558, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001796/0.001796, allocations: 193.7 kB / 16.14 MB, free: 6.66 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.346/1.346, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1779/0.1779, allocations: 16.77 MB / 306.7 MB, free: 14.96 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001889/0.001889, allocations: 71.89 kB / 371.1 MB, free: 4.074 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2947/0.2966, allocations: 53.53 MB / 424.6 MB, free: 39.05 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow): time 0.01953/0.3162, allocations: 32.31 MB / 456.9 MB, free: 16.62 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0128/0.329, allocations: 8.725 MB / 465.7 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004196/0.3333, allocations: 78.69 kB / 465.7 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003295/0.3366, allocations: 0.9706 MB / 466.7 MB, free: 9.855 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009052/0.3457, allocations: 3.414 MB / 470.1 MB, free: 7.539 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003957/0.3497, allocations: 1.452 MB / 471.6 MB, free: 6.738 MB / 350.1 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1125:9-1125: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:1125:9-1125: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:1125:9-1125: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:1125:9-1125: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:1125:9-1125: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:1125:9-1125: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:1125:9-1125: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:1125:9-1125: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:1125:9-1125: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:1125:9-1125: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:1125:9-1125: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:1125:9-1125: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:1125:9-1125: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:1125:9-1125:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘NTLV2.UStartPF / 1.732050807568877‘ Notification: Performance of NFFlatten.flatten: time 0.009055/0.3587, allocations: 6.159 MB / 477.7 MB, free: 3.633 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001235/0.36, allocations: 462.2 kB / 478.2 MB, free: 3.426 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004034/0.364, allocations: 1.924 MB / 480.1 MB, free: 2.531 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003712/0.3677, allocations: 2.265 MB / 482.4 MB, free: 1.5 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001088/0.3688, allocations: 136.2 kB / 482.5 MB, free: 1.5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003169/0.372, allocations: 0.5549 MB / 483.1 MB, free: 1.391 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000873/0.3729, allocations: 0.5661 MB / 483.6 MB, free: 1.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003875/0.3768, allocations: 1.999 MB / 485.6 MB, free: 15.85 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00776/0.3846, allocations: 4.745 MB / 490.4 MB, free: 13.86 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.3846, allocations: 1.125 kB / 490.4 MB, free: 13.86 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3846, allocations: 7.938 kB / 490.4 MB, free: 13.86 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000162/0.3848, allocations: 0 / 490.4 MB, free: 13.86 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.03038/0.4152, allocations: 7.234 MB / 497.6 MB, free: 10.95 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.4153, allocations: 12.56 kB / 497.6 MB, free: 10.95 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003012/0.4183, allocations: 0.5758 MB / 498.2 MB, free: 10.71 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005257/0.4235, allocations: 2.094 MB / 0.4886 GB, free: 9.18 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000244/0.4238, allocations: 235.9 kB / 0.4888 GB, free: 9.07 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008196/0.4247, allocations: 310.7 kB / 0.4891 GB, free: 8.969 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00668/0.4313, allocations: 3.402 MB / 0.4924 GB, free: 5.457 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.549e-05/0.4314, allocations: 19.81 kB / 0.4924 GB, free: 5.438 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003428/0.4318, allocations: 132 kB / 0.4926 GB, free: 5.309 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.097e-05/0.4319, allocations: 76 kB / 0.4926 GB, free: 5.234 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00498/0.4368, allocations: 2.69 MB / 0.4953 GB, free: 2.527 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.02447/0.4613, allocations: 21.98 MB / 0.5167 GB, free: 11.52 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004682/0.466, allocations: 2.435 MB / 0.5191 GB, free: 9.113 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001421/0.4675, allocations: 0.916 MB / 0.52 GB, free: 8.191 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001523/0.4677, allocations: 42.06 kB / 0.52 GB, free: 8.152 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.042e-05/0.4677, allocations: 66.59 kB / 0.5201 GB, free: 8.078 MB / 398.1 MB Notification: Performance of pre-optimization done (n=251): time 4.849e-06/0.4677, allocations: 4 kB / 0.5201 GB, free: 8.074 MB / 398.1 MB Notification: Performance of matching and sorting (n=251): time 0.01399/0.4817, allocations: 4.749 MB / 0.5247 GB, free: 3.254 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.301e-05/0.4818, allocations: 81.52 kB / 0.5248 GB, free: 3.164 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004124/0.4859, allocations: 2.955 MB / 0.5277 GB, free: 216 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003808/0.4863, allocations: 89.7 kB / 0.5278 GB, free: 120 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001367/0.4877, allocations: 1.583 MB / 0.5293 GB, free: 14.52 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001125/0.4888, allocations: 1.007 MB / 0.5303 GB, free: 13.5 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002122/0.491, allocations: 1.608 MB / 0.5319 GB, free: 11.88 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.668e-05/0.4911, allocations: 313.1 kB / 0.5322 GB, free: 11.57 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003486/0.4946, allocations: 2.185 MB / 0.5343 GB, free: 9.375 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004149/0.4987, allocations: 2.934 MB / 0.5372 GB, free: 6.344 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006878/0.5056, allocations: 4.461 MB / 0.5416 GB, free: 1.742 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-05/0.5056, allocations: 0 / 0.5416 GB, free: 1.742 MB / 414.1 MB Notification: Performance of matching and sorting (n=1174) (initialization): time 0.01251/0.5182, allocations: 7.286 MB / 0.5487 GB, free: 10.38 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.456e-05/0.5182, allocations: 8.625 kB / 0.5487 GB, free: 10.37 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.955e-05/0.5183, allocations: 8 kB / 0.5487 GB, free: 10.36 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004803/0.5231, allocations: 0.8902 MB / 0.5496 GB, free: 9.461 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006699/0.5298, allocations: 1.74 MB / 0.5513 GB, free: 7.719 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01189/0.5417, allocations: 8.205 MB / 0.5593 GB, free: 15.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00599/0.5477, allocations: 0.588 MB / 0.5598 GB, free: 14.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008513/0.5486, allocations: 284 kB / 0.5601 GB, free: 14.25 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.001757/0.5504, allocations: 0.7226 MB / 0.5608 GB, free: 13.51 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000876/0.5512, allocations: 363.6 kB / 0.5612 GB, free: 13.15 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005088/0.5563, allocations: 2.59 MB / 0.5637 GB, free: 10.54 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.312e-05/0.5564, allocations: 11.95 kB / 0.5637 GB, free: 10.53 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.5564, allocations: 0 / 0.5637 GB, free: 10.53 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001937/0.5583, allocations: 0.6876 MB / 0.5644 GB, free: 9.816 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006641/0.559, allocations: 47.94 kB / 0.5644 GB, free: 9.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002047/0.5611, allocations: 99.92 kB / 0.5645 GB, free: 9.672 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003001/0.5614, allocations: 177.7 kB / 0.5647 GB, free: 9.5 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005711/0.5671, allocations: 2.501 MB / 0.5671 GB, free: 6.98 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005237/0.5724, allocations: 3.079 MB / 0.5701 GB, free: 3.879 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001165/0.5735, allocations: 0.7769 MB / 0.5709 GB, free: 3.102 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002704/0.5763, allocations: 1.734 MB / 0.5726 GB, free: 1.379 MB / 446.1 MB Notification: Performance of Backend: time 9.32e-07/0.5763, allocations: 4 kB / 0.5726 GB, free: 1.375 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01315/0.5894, allocations: 5.534 MB / 0.578 GB, free: 11.8 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.01054/0.6, allocations: 7.067 MB / 0.5849 GB, free: 4.719 MB / 462.1 MB Notification: Performance of Templates: time 0.2306/0.8306, allocations: 50.84 MB / 0.6345 GB, free: 122.3 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)