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.00081/0.0008101, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.004912/0.004912, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.15/1.15, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1649/0.1649, allocations: 16.77 MB / 308.2 MB, free: 15.6 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002614/0.0002614, allocations: 8 kB / 373.5 MB, free: 3.145 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2321/0.2324, allocations: 54.55 MB / 428.1 MB, free: 37.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow): time 0.01603/0.2485, allocations: 31.27 MB / 459.4 MB, free: 17.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009468/0.258, allocations: 8.613 MB / 468 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001912/0.2599, allocations: 73.78 kB / 468.1 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0017/0.2616, allocations: 0.9691 MB / 469 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006179/0.2678, allocations: 3.4 MB / 472.4 MB, free: 8.023 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002346/0.2701, allocations: 1.442 MB / 473.9 MB, free: 7.219 MB / 350.1 MB [/var/lib/jenkins/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/jenkins/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/jenkins/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/jenkins/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/jenkins/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/jenkins/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/jenkins/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/jenkins/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/jenkins/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/jenkins/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/jenkins/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/jenkins/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/jenkins/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/jenkins/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.005214/0.2754, allocations: 6.158 MB / 480 MB, free: 4.117 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000628/0.276, allocations: 458.6 kB / 480.5 MB, free: 3.91 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002374/0.2784, allocations: 1.9 MB / 482.4 MB, free: 3.031 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001966/0.2804, allocations: 2.248 MB / 484.6 MB, free: 2.012 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002809/0.2806, allocations: 126.3 kB / 484.7 MB, free: 2.012 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001447/0.2821, allocations: 0.55 MB / 485.3 MB, free: 1.898 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003131/0.2824, allocations: 0.5531 MB / 485.9 MB, free: 1.539 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001464/0.2839, allocations: 2.005 MB / 487.9 MB, free: 364 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004593/0.2885, allocations: 4.634 MB / 492.5 MB, free: 14.8 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2885, allocations: 0 / 492.5 MB, free: 14.8 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2885, allocations: 1.031 kB / 492.5 MB, free: 14.8 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.383e-05/0.2886, allocations: 0 / 492.5 MB, free: 14.8 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.02421/0.3128, allocations: 6.287 MB / 498.8 MB, free: 12.4 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.3129, allocations: 8.031 kB / 498.8 MB, free: 12.4 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002643/0.3155, allocations: 0.5873 MB / 499.4 MB, free: 12.15 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003656/0.3192, allocations: 2.092 MB / 0.4897 GB, free: 10.62 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001539/0.3193, allocations: 235.4 kB / 0.4899 GB, free: 10.51 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004101/0.3198, allocations: 306.4 kB / 0.4902 GB, free: 10.41 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004804/0.3246, allocations: 3.403 MB / 0.4936 GB, free: 7.062 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.665e-05/0.3246, allocations: 23.75 kB / 0.4936 GB, free: 7.039 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002279/0.3249, allocations: 132 kB / 0.4937 GB, free: 6.91 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.587e-05/0.3249, allocations: 76 kB / 0.4938 GB, free: 6.836 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003721/0.3287, allocations: 2.69 MB / 0.4964 GB, free: 4.129 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.01751/0.3462, allocations: 21.95 MB / 0.5178 GB, free: 13.15 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003904/0.3501, allocations: 2.44 MB / 0.5202 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001209/0.3513, allocations: 0.9082 MB / 0.5211 GB, free: 9.82 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000114/0.3514, allocations: 46.06 kB / 0.5212 GB, free: 9.777 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.195e-05/0.3515, allocations: 64.56 kB / 0.5212 GB, free: 9.703 MB / 398.1 MB Notification: Performance of pre-optimization done (n=251): time 4.077e-06/0.3515, allocations: 0 / 0.5212 GB, free: 9.703 MB / 398.1 MB Notification: Performance of matching and sorting (n=251): time 0.01233/0.3638, allocations: 4.732 MB / 0.5258 GB, free: 4.895 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.988e-05/0.3639, allocations: 77.41 kB / 0.5259 GB, free: 4.809 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003136/0.367, allocations: 2.955 MB / 0.5288 GB, free: 1.855 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001856/0.3672, allocations: 89.81 kB / 0.5289 GB, free: 1.762 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001069/0.3683, allocations: 1.579 MB / 0.5304 GB, free: 168 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008788/0.3692, allocations: 1.015 MB / 0.5314 GB, free: 15.13 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007679/0.37, allocations: 0.8004 MB / 0.5322 GB, free: 14.32 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 7.524e-05/0.37, allocations: 305.1 kB / 0.5325 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003172/0.3732, allocations: 2.193 MB / 0.5346 GB, free: 11.82 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003792/0.377, allocations: 2.934 MB / 0.5375 GB, free: 8.793 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00619/0.3832, allocations: 4.453 MB / 0.5418 GB, free: 4.199 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.279e-05/0.3832, allocations: 3.938 kB / 0.5418 GB, free: 4.195 MB / 414.1 MB Notification: Performance of matching and sorting (n=1174) (initialization): time 0.01105/0.3943, allocations: 7.297 MB / 0.549 GB, free: 12.82 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.063e-05/0.3943, allocations: 8 kB / 0.549 GB, free: 12.81 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.544e-05/0.3944, allocations: 4 kB / 0.549 GB, free: 12.8 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004145/0.3985, allocations: 0.8908 MB / 0.5499 GB, free: 11.91 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005779/0.4043, allocations: 1.74 MB / 0.5516 GB, free: 10.16 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01077/0.4151, allocations: 8.237 MB / 0.5596 GB, free: 1.527 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005157/0.4203, allocations: 0.5917 MB / 0.5602 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005645/0.4208, allocations: 276 kB / 0.5604 GB, free: 0.6602 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.001609/0.4225, allocations: 0.7267 MB / 0.5611 GB, free: 15.92 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008039/0.4233, allocations: 355.7 kB / 0.5615 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004945/0.4282, allocations: 2.59 MB / 0.564 GB, free: 12.95 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.181e-05/0.4283, allocations: 11.95 kB / 0.564 GB, free: 12.94 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.4283, allocations: 0 / 0.564 GB, free: 12.94 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001571/0.4298, allocations: 0.6953 MB / 0.5647 GB, free: 12.22 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007272/0.4306, allocations: 43.94 kB / 0.5647 GB, free: 12.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002283/0.4329, allocations: 111.9 kB / 0.5649 GB, free: 12.07 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002767/0.4332, allocations: 185.6 kB / 0.565 GB, free: 11.89 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005537/0.4387, allocations: 2.517 MB / 0.5675 GB, free: 9.355 MB / 446.1 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.004199/0.4429, allocations: 3.067 MB / 0.5705 GB, free: 6.266 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001023/0.4439, allocations: 0.7808 MB / 0.5712 GB, free: 5.484 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002664/0.4466, allocations: 1.73 MB / 0.5729 GB, free: 3.766 MB / 446.1 MB Notification: Performance of Backend: time 3.21e-07/0.4466, allocations: 0 / 0.5729 GB, free: 3.766 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01155/0.4582, allocations: 5.555 MB / 0.5784 GB, free: 14.18 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.009787/0.468, allocations: 7.096 MB / 0.5853 GB, free: 7.062 MB / 462.1 MB Notification: Performance of Templates: time 0.2241/0.6921, 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=480 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.pipe 2>&1)