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.0008319/0.0008322, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.0008602/0.0008602, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.141/1.141, allocations: 223.3 MB / 240 MB, free: 5.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1645/0.1645, allocations: 16.76 MB / 307.8 MB, free: 15.58 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002567/0.0002568, allocations: 8 kB / 372.9 MB, free: 3.531 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2157/0.216, allocations: 54.55 MB / 427.5 MB, free: 37.42 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow): time 0.01477/0.2308, allocations: 29.23 MB / 456.7 MB, free: 19.01 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008734/0.2395, allocations: 8.203 MB / 464.9 MB, free: 13 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001909/0.2415, allocations: 76.88 kB / 465 MB, free: 12.97 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001622/0.2431, allocations: 0.8319 MB / 465.8 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006017/0.2491, allocations: 3.005 MB / 468.8 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002294/0.2514, allocations: 1.35 MB / 470.2 MB, free: 9.852 MB / 350.1 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1092:9-1092: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:1092:9-1092: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:1092:9-1092: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:1092:9-1092: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:1092:9-1092: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:1092:9-1092: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:1092:9-1092: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:1092:9-1092: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:1092:9-1092: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:1092:9-1092: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:1092:9-1092: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:1092:9-1092: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:1092:9-1092: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:1092:9-1092:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘NTLV2.UStartPF / 1.732050807568877‘ Notification: Performance of NFFlatten.flatten: time 0.004997/0.2564, allocations: 5.882 MB / 476.1 MB, free: 6.793 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008825/0.2573, allocations: 453.1 kB / 476.5 MB, free: 6.582 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002541/0.2599, allocations: 1.848 MB / 478.4 MB, free: 5.754 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003042/0.2629, allocations: 2.158 MB / 480.5 MB, free: 4.809 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004667/0.2634, allocations: 126.7 kB / 480.6 MB, free: 4.809 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001866/0.2653, allocations: 0.5378 MB / 481.2 MB, free: 4.707 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003448/0.2656, allocations: 0.5329 MB / 481.7 MB, free: 4.363 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000779/0.2664, allocations: 0.7384 MB / 482.4 MB, free: 3.973 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003439/0.2698, allocations: 3.65 MB / 486.1 MB, free: 2.961 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.2699, allocations: 0 / 486.1 MB, free: 2.961 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2699, allocations: 4 kB / 486.1 MB, free: 2.957 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001053/0.27, allocations: 1.438 kB / 486.1 MB, free: 2.957 MB / 350.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.02217/0.2922, allocations: 6.319 MB / 492.4 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.2922, allocations: 9.719 kB / 492.4 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002759/0.295, allocations: 0.5962 MB / 493 MB, free: 316 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00427/0.2993, allocations: 2.011 MB / 495 MB, free: 15.1 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001675/0.2994, allocations: 234.9 kB / 495.3 MB, free: 14.99 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003691/0.2998, allocations: 306.4 kB / 495.6 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004573/0.3044, allocations: 3.38 MB / 498.9 MB, free: 12.27 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.746e-05/0.3045, allocations: 29.22 kB / 499 MB, free: 12.25 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002354/0.3047, allocations: 130.9 kB / 499.1 MB, free: 12.16 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.045e-05/0.3048, allocations: 76.16 kB / 499.2 MB, free: 12.16 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003968/0.3088, allocations: 2.669 MB / 0.4901 GB, free: 10.18 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.01846/0.3272, allocations: 21.93 MB / 0.5115 GB, free: 3.219 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003741/0.331, allocations: 2.412 MB / 0.5139 GB, free: 0.832 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001172/0.3322, allocations: 0.9082 MB / 0.5147 GB, free: 15.92 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001416/0.3323, allocations: 41.97 kB / 0.5148 GB, free: 15.88 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.236e-05/0.3324, allocations: 64.52 kB / 0.5149 GB, free: 15.81 MB / 398.1 MB Notification: Performance of pre-optimization done (n=251): time 4.328e-06/0.3324, allocations: 4 kB / 0.5149 GB, free: 15.8 MB / 398.1 MB Notification: Performance of matching and sorting (n=251): time 0.01167/0.344, allocations: 4.678 MB / 0.5194 GB, free: 11.05 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.764e-05/0.3441, allocations: 81.34 kB / 0.5195 GB, free: 10.96 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003356/0.3475, allocations: 2.927 MB / 0.5224 GB, free: 8.035 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002938/0.3478, allocations: 85.81 kB / 0.5224 GB, free: 7.945 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001157/0.3489, allocations: 1.595 MB / 0.524 GB, free: 6.332 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009866/0.3499, allocations: 1.007 MB / 0.525 GB, free: 5.312 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003233/0.3503, allocations: 180 kB / 0.5252 GB, free: 5.137 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000339/0.3506, allocations: 0.6472 MB / 0.5258 GB, free: 4.48 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003207/0.3538, allocations: 2.154 MB / 0.5279 GB, free: 2.32 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003732/0.3576, allocations: 2.902 MB / 0.5307 GB, free: 15.32 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003865/0.3614, allocations: 2.682 MB / 0.5333 GB, free: 12.61 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.297e-05/0.3615, allocations: 0 / 0.5333 GB, free: 12.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=1174) (initialization): time 0.01046/0.3719, allocations: 7.219 MB / 0.5404 GB, free: 5.305 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.113e-05/0.372, allocations: 7.953 kB / 0.5404 GB, free: 5.297 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.564e-05/0.372, allocations: 8 kB / 0.5404 GB, free: 5.289 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003815/0.3758, allocations: 0.8854 MB / 0.5413 GB, free: 4.395 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005749/0.3816, allocations: 1.744 MB / 0.543 GB, free: 2.648 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0102/0.3918, allocations: 8.207 MB / 0.551 GB, free: 10.05 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004974/0.3968, allocations: 0.5917 MB / 0.5516 GB, free: 9.449 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003982/0.3972, allocations: 276 kB / 0.5518 GB, free: 9.18 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 0} * Non-linear torn systems: 2 {17 0,39 0} Notification: Performance of prepare postOptimizeDAE: time 0.001385/0.3986, allocations: 0.7209 MB / 0.5525 GB, free: 8.449 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004613/0.399, allocations: 363.6 kB / 0.5529 GB, free: 8.09 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004268/0.4033, allocations: 2.57 MB / 0.5554 GB, free: 5.496 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.773e-05/0.4033, allocations: 11.95 kB / 0.5554 GB, free: 5.484 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.4034, allocations: 0 / 0.5554 GB, free: 5.484 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00114/0.4045, allocations: 0.7031 MB / 0.5561 GB, free: 4.758 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003761/0.4049, allocations: 40 kB / 0.5561 GB, free: 4.719 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001512/0.4064, allocations: 119.9 kB / 0.5562 GB, free: 4.602 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002138/0.4066, allocations: 177.7 kB / 0.5564 GB, free: 4.43 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004689/0.4113, allocations: 2.496 MB / 0.5588 GB, free: 1.914 MB / 430.1 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003776/0.4151, allocations: 3.055 MB / 0.5618 GB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009661/0.4161, allocations: 0.7614 MB / 0.5626 GB, free: 14.08 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002033/0.4181, allocations: 1.707 MB / 0.5642 GB, free: 12.38 MB / 446.1 MB Notification: Performance of Backend: time 4.81e-07/0.4181, allocations: 0 / 0.5642 GB, free: 12.38 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008703/0.4268, allocations: 5.519 MB / 0.5696 GB, free: 6.836 MB / 446.1 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is set to 'isProtected' (=false) by default. Notification: Performance of SimCode: time 0.00734/0.4342, allocations: 6.711 MB / 0.5762 GB, free: 108 kB / 446.1 MB Notification: Performance of Templates: time 0.213/0.6472, allocations: 48.65 MB / 0.6237 GB, free: 124.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)