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.0007896/0.0007898, allocations: 92 kB / 15.36 MB, free: 0.7383 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.004538/0.004538, allocations: 170.2 kB / 16.26 MB, free: 6.613 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.148/1.148, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1632/0.1632, allocations: 16.76 MB / 308.2 MB, free: 15.55 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002907/0.0002907, allocations: 8 kB / 373.5 MB, free: 3.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2133/0.2136, allocations: 54.56 MB / 428.1 MB, free: 37.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow): time 0.0154/0.229, allocations: 31.27 MB / 459.4 MB, free: 17.14 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008891/0.238, allocations: 8.615 MB / 468 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001892/0.2399, allocations: 75.81 kB / 468.1 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001687/0.2416, allocations: 0.9713 MB / 469 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00589/0.2475, allocations: 3.389 MB / 472.4 MB, free: 8.082 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002353/0.2498, allocations: 1.448 MB / 473.9 MB, free: 7.277 MB / 350.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1117:9-1117: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:1117:9-1117: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:1117:9-1117: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:1117:9-1117: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:1117:9-1117: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:1117:9-1117: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:1117:9-1117: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:1117:9-1117: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:1117:9-1117: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:1117:9-1117: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:1117:9-1117: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:1117:9-1117: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:1117:9-1117: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:1117:9-1117:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘NTLV2.UStartPF / 1.732050807568877‘ Notification: Performance of NFFlatten.flatten: time 0.005203/0.2551, allocations: 6.159 MB / 480 MB, free: 4.172 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006278/0.2557, allocations: 458.1 kB / 480.5 MB, free: 3.965 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002348/0.258, allocations: 1.906 MB / 482.4 MB, free: 3.082 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001857/0.2599, allocations: 2.238 MB / 484.6 MB, free: 2.07 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002627/0.2602, allocations: 126.2 kB / 484.8 MB, free: 2.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001371/0.2616, allocations: 0.5462 MB / 485.3 MB, free: 1.961 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003147/0.2619, allocations: 0.5549 MB / 485.9 MB, free: 1.598 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001416/0.2633, allocations: 2.013 MB / 487.9 MB, free: 416 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004614/0.2679, allocations: 4.632 MB / 492.5 MB, free: 14.85 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.2679, allocations: 5.406 kB / 492.5 MB, free: 14.85 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2679, allocations: 0 / 492.5 MB, free: 14.85 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.175e-05/0.268, allocations: 0 / 492.5 MB, free: 14.85 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.02342/0.2914, allocations: 6.283 MB / 498.8 MB, free: 12.45 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.2915, allocations: 9.188 kB / 498.8 MB, free: 12.45 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00228/0.2938, allocations: 0.5849 MB / 499.4 MB, free: 12.21 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003264/0.2971, allocations: 2.087 MB / 0.4897 GB, free: 10.59 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001453/0.2972, allocations: 235.8 kB / 0.4899 GB, free: 10.48 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003574/0.2976, allocations: 309.9 kB / 0.4902 GB, free: 10.38 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004243/0.3018, allocations: 3.404 MB / 0.4936 GB, free: 7.07 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.666e-05/0.3019, allocations: 19.81 kB / 0.4936 GB, free: 7.051 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002242/0.3021, allocations: 136 kB / 0.4937 GB, free: 6.918 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-05/0.3022, allocations: 76 kB / 0.4938 GB, free: 6.844 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003587/0.3058, allocations: 2.69 MB / 0.4964 GB, free: 4.137 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.01642/0.3222, allocations: 21.95 MB / 0.5178 GB, free: 13.16 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00386/0.3261, allocations: 2.436 MB / 0.5202 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001191/0.3273, allocations: 0.916 MB / 0.5211 GB, free: 9.832 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001138/0.3274, allocations: 42.06 kB / 0.5212 GB, free: 9.793 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.253e-05/0.3274, allocations: 68.56 kB / 0.5212 GB, free: 9.715 MB / 398.1 MB Notification: Performance of pre-optimization done (n=251): time 3.787e-06/0.3275, allocations: 0 / 0.5212 GB, free: 9.715 MB / 398.1 MB Notification: Performance of matching and sorting (n=251): time 0.01229/0.3398, allocations: 4.732 MB / 0.5258 GB, free: 4.906 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.752e-05/0.3398, allocations: 81.41 kB / 0.5259 GB, free: 4.816 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003182/0.343, allocations: 2.951 MB / 0.5288 GB, free: 1.867 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001924/0.3432, allocations: 85.81 kB / 0.5289 GB, free: 1.777 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001073/0.3443, allocations: 1.591 MB / 0.5304 GB, free: 172 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008666/0.3451, allocations: 1.007 MB / 0.5314 GB, free: 15.15 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000775/0.3459, allocations: 0.8004 MB / 0.5322 GB, free: 14.34 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.148e-05/0.346, allocations: 309.1 kB / 0.5325 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003146/0.3492, allocations: 2.189 MB / 0.5346 GB, free: 11.84 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003608/0.3528, allocations: 2.941 MB / 0.5375 GB, free: 8.801 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00591/0.3587, allocations: 4.453 MB / 0.5419 GB, free: 4.207 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-05/0.3587, allocations: 0 / 0.5419 GB, free: 4.207 MB / 414.1 MB Notification: Performance of matching and sorting (n=1174) (initialization): time 0.01051/0.3692, allocations: 7.293 MB / 0.549 GB, free: 12.83 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.91e-05/0.3693, allocations: 9.25 kB / 0.549 GB, free: 12.82 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.603e-05/0.3693, allocations: 8 kB / 0.549 GB, free: 12.81 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004029/0.3734, allocations: 0.8854 MB / 0.5499 GB, free: 11.92 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00548/0.3788, allocations: 1.736 MB / 0.5516 GB, free: 10.18 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01019/0.389, allocations: 8.239 MB / 0.5596 GB, free: 1.543 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004476/0.3935, allocations: 0.588 MB / 0.5602 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003758/0.3939, allocations: 287.9 kB / 0.5604 GB, free: 0.668 MB / 430.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.00125/0.3952, allocations: 0.715 MB / 0.5611 GB, free: 15.94 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004417/0.3956, allocations: 359.7 kB / 0.5615 GB, free: 15.58 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004501/0.4001, allocations: 2.586 MB / 0.564 GB, free: 12.97 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.802e-05/0.4002, allocations: 11.95 kB / 0.564 GB, free: 12.96 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.4002, allocations: 4 kB / 0.564 GB, free: 12.96 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001075/0.4012, allocations: 0.6992 MB / 0.5647 GB, free: 12.23 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003729/0.4016, allocations: 43.94 kB / 0.5648 GB, free: 12.19 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001799/0.4034, allocations: 115.9 kB / 0.5649 GB, free: 12.08 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002345/0.4037, allocations: 177.7 kB / 0.565 GB, free: 11.91 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005152/0.4088, allocations: 2.513 MB / 0.5675 GB, free: 9.375 MB / 446.1 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003911/0.4128, allocations: 3.075 MB / 0.5705 GB, free: 6.277 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001008/0.4138, allocations: 0.7769 MB / 0.5713 GB, free: 5.5 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002077/0.4159, allocations: 1.734 MB / 0.5729 GB, free: 3.777 MB / 446.1 MB Notification: Performance of Backend: time 3.21e-07/0.4159, allocations: 0 / 0.5729 GB, free: 3.777 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.009154/0.425, allocations: 5.548 MB / 0.5784 GB, free: 14.2 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.007524/0.4326, allocations: 7.104 MB / 0.5853 GB, free: 7.07 MB / 462.1 MB Notification: Performance of Templates: time 0.2082/0.6408, allocations: 50.08 MB / 0.6342 GB, free: 122.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)