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.001241/0.001241, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002172/0.002171, allocations: 193 kB / 16.14 MB, free: 6.711 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.317/1.317, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1838/0.1838, allocations: 16.78 MB / 306.7 MB, free: 14.94 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 59.91 kB / 371.1 MB, free: 4.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2478/0.2491, allocations: 53.54 MB / 424.7 MB, free: 39.2 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow): time 0.02217/0.2713, allocations: 32.31 MB / 457 MB, free: 16.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01212/0.2834, allocations: 8.724 MB / 465.7 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004814/0.2883, allocations: 77.44 kB / 465.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003503/0.2919, allocations: 0.9764 MB / 466.7 MB, free: 10 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008658/0.3005, allocations: 3.408 MB / 470.1 MB, free: 7.684 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003214/0.3038, allocations: 1.455 MB / 471.6 MB, free: 6.879 MB / 350.1 MB [/var/lib/jenkins1/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/jenkins1/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/jenkins1/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/jenkins1/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/jenkins1/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/jenkins1/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/jenkins1/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/jenkins1/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/jenkins1/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/jenkins1/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/jenkins1/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/jenkins1/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/jenkins1/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/jenkins1/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.006806/0.3106, allocations: 6.163 MB / 477.8 MB, free: 3.766 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000965/0.3116, allocations: 465.9 kB / 478.2 MB, free: 3.559 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00331/0.3149, allocations: 1.911 MB / 480.1 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003794/0.3187, allocations: 2.262 MB / 482.4 MB, free: 1.645 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001043/0.3198, allocations: 141.1 kB / 482.5 MB, free: 1.641 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00329/0.3231, allocations: 0.5521 MB / 483.1 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001071/0.3241, allocations: 0.5719 MB / 483.7 MB, free: 1.156 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004058/0.3282, allocations: 2.002 MB / 485.7 MB, free: 15.98 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006379/0.3346, allocations: 4.739 MB / 490.4 MB, free: 14 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.3346, allocations: 5.719 kB / 490.4 MB, free: 14 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.3346, allocations: 0 / 490.4 MB, free: 14 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001121/0.3348, allocations: 0 / 490.4 MB, free: 14 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.03044/0.3652, allocations: 7.242 MB / 497.6 MB, free: 11.09 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.3653, allocations: 8.812 kB / 497.7 MB, free: 11.09 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00296/0.3682, allocations: 0.576 MB / 498.2 MB, free: 10.82 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004467/0.3727, allocations: 2.09 MB / 0.4886 GB, free: 9.199 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001848/0.3729, allocations: 236 kB / 0.4888 GB, free: 9.09 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004297/0.3734, allocations: 313.7 kB / 0.4891 GB, free: 8.984 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005078/0.3784, allocations: 3.401 MB / 0.4924 GB, free: 5.453 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.122e-05/0.3785, allocations: 31.73 kB / 0.4925 GB, free: 5.422 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002669/0.3788, allocations: 128 kB / 0.4926 GB, free: 5.297 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.512e-05/0.3789, allocations: 80 kB / 0.4927 GB, free: 5.219 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004223/0.3831, allocations: 2.69 MB / 0.4953 GB, free: 2.512 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.02118/0.4043, allocations: 21.97 MB / 0.5168 GB, free: 11.5 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004409/0.4087, allocations: 2.445 MB / 0.5191 GB, free: 9.086 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00138/0.4101, allocations: 0.9121 MB / 0.52 GB, free: 8.168 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001592/0.4103, allocations: 46.06 kB / 0.5201 GB, free: 8.125 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.895e-05/0.4103, allocations: 66.59 kB / 0.5201 GB, free: 8.051 MB / 398.1 MB Notification: Performance of pre-optimization done (n=251): time 4.498e-06/0.4103, allocations: 0 / 0.5201 GB, free: 8.051 MB / 398.1 MB Notification: Performance of matching and sorting (n=251): time 0.0141/0.4245, allocations: 4.744 MB / 0.5248 GB, free: 3.234 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.106e-05/0.4245, allocations: 77.41 kB / 0.5248 GB, free: 3.148 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004056/0.4286, allocations: 2.947 MB / 0.5277 GB, free: 208 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005037/0.4291, allocations: 89.7 kB / 0.5278 GB, free: 112 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00142/0.4305, allocations: 1.587 MB / 0.5294 GB, free: 14.5 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00123/0.4318, allocations: 1.003 MB / 0.5303 GB, free: 13.49 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002284/0.4341, allocations: 1.616 MB / 0.5319 GB, free: 11.86 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.495e-05/0.4342, allocations: 305.1 kB / 0.5322 GB, free: 11.56 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003623/0.4378, allocations: 2.189 MB / 0.5343 GB, free: 9.363 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004295/0.4421, allocations: 2.938 MB / 0.5372 GB, free: 6.332 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007043/0.4492, allocations: 4.457 MB / 0.5416 GB, free: 1.734 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.005e-05/0.4492, allocations: 4 kB / 0.5416 GB, free: 1.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=1174) (initialization): time 0.01269/0.4619, allocations: 7.29 MB / 0.5487 GB, free: 10.36 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.27e-05/0.462, allocations: 8 kB / 0.5487 GB, free: 10.35 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.649e-05/0.462, allocations: 4 kB / 0.5487 GB, free: 10.34 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004676/0.4667, allocations: 0.886 MB / 0.5496 GB, free: 9.449 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006962/0.4737, allocations: 1.744 MB / 0.5513 GB, free: 7.703 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01167/0.4854, allocations: 8.198 MB / 0.5593 GB, free: 15.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006587/0.492, allocations: 0.5919 MB / 0.5599 GB, free: 14.51 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009528/0.493, allocations: 284 kB / 0.5601 GB, free: 14.23 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.001874/0.4948, allocations: 0.7202 MB / 0.5608 GB, free: 13.5 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009061/0.4957, allocations: 363.6 kB / 0.5612 GB, free: 13.14 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004983/0.5007, allocations: 2.586 MB / 0.5637 GB, free: 10.54 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.352e-05/0.5008, allocations: 15.95 kB / 0.5637 GB, free: 10.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.5008, allocations: 0 / 0.5637 GB, free: 10.52 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002064/0.5029, allocations: 0.6915 MB / 0.5644 GB, free: 9.805 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007314/0.5036, allocations: 47.94 kB / 0.5644 GB, free: 9.758 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002115/0.5057, allocations: 91.94 kB / 0.5645 GB, free: 9.668 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003212/0.5061, allocations: 177.7 kB / 0.5647 GB, free: 9.496 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005775/0.5119, allocations: 2.509 MB / 0.5671 GB, free: 6.969 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005014/0.5169, allocations: 3.079 MB / 0.5701 GB, free: 3.867 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001199/0.5181, allocations: 0.7769 MB / 0.5709 GB, free: 3.09 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002788/0.5209, allocations: 1.734 MB / 0.5726 GB, free: 1.367 MB / 446.1 MB Notification: Performance of Backend: time 4.2e-07/0.5209, allocations: 0 / 0.5726 GB, free: 1.367 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01241/0.5333, allocations: 5.529 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.01062/0.544, allocations: 7.077 MB / 0.5849 GB, free: 4.703 MB / 462.1 MB Notification: Performance of Templates: time 0.2661/0.8101, allocations: 50.84 MB / 0.6346 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=50 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.pipe 2>&1)