Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.SimpleGrid.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.HowToBuild.Examples.SimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.SimpleGrid") translateModel(PowerGrids.Examples.Tutorial.HowToBuild.Examples.SimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.SimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001506/0.001506, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001586/0.001586, allocations: 194.2 kB / 16.25 MB, free: 6.633 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.348/1.348, allocations: 222.9 MB / 239.9 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1696/0.1696, allocations: 16.78 MB / 306.9 MB, free: 14.92 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 67.89 kB / 371.3 MB, free: 3.965 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2576/0.2589, allocations: 53.55 MB / 424.9 MB, free: 39.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.HowToBuild.Examples.SimpleGrid): time 0.02053/0.2795, allocations: 36.11 MB / 461 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01192/0.2915, allocations: 8.404 MB / 469.4 MB, free: 7.723 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003167/0.2947, allocations: 76.72 kB / 469.4 MB, free: 7.695 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003028/0.2978, allocations: 0.9868 MB / 470.4 MB, free: 7.266 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007644/0.3054, allocations: 3.178 MB / 473.6 MB, free: 5.082 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00314/0.3086, allocations: 1.55 MB / 475.2 MB, free: 4.18 MB / 350.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1126:9-1126:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘GEN.UStartPF / 1.732050807568877‘ [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1126:9-1126:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘GEN.componentPF.UStartPF / 1.732050807568877‘ [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1126:9-1126:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘GRIDL.UStartPF / 1.732050807568877‘ [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1126:9-1126:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘GRIDL.componentPF.UStartPF / 1.732050807568877‘ [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1126:9-1126: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:1126:9-1126: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:1126:9-1126:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘line.componentPF.UStartAPF / 1.732050807568877‘ [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1126:9-1126:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘line.componentPF.UStartBPF / 1.732050807568877‘ [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1126:9-1126:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘bus.UStartPF / 1.732050807568877‘ [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1126:9-1126:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘bus.componentPF.UStartPF / 1.732050807568877‘ [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1126:9-1126:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘infiniteBus.UStartPF / 1.732050807568877‘ [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1126:9-1126:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘infiniteBus.componentPF.UStartPF / 1.732050807568877‘ Notification: Performance of NFFlatten.flatten: time 0.007672/0.3163, allocations: 6.143 MB / 481.3 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00242/0.3187, allocations: 1.252 MB / 482.5 MB, free: 260 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004345/0.3231, allocations: 2.091 MB / 484.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00391/0.327, allocations: 2.209 MB / 486.8 MB, free: 14.04 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006478/0.3276, allocations: 260.6 kB / 487.1 MB, free: 14.04 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002552/0.3302, allocations: 0.8131 MB / 487.9 MB, free: 13.9 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005401/0.3308, allocations: 0.6384 MB / 488.6 MB, free: 13.44 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002813/0.3336, allocations: 2.037 MB / 490.6 MB, free: 12.15 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006876/0.3405, allocations: 5.119 MB / 495.7 MB, free: 10.1 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.3405, allocations: 0 / 495.7 MB, free: 10.1 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.3405, allocations: 1.781 kB / 495.7 MB, free: 10.1 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001026/0.3406, allocations: 3.938 kB / 495.7 MB, free: 10.09 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: 623 * Number of variables: 623 Notification: Performance of Generate backend data structure: time 0.02357/0.3642, allocations: 5.936 MB / 0.4899 GB, free: 7.496 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.3643, allocations: 10.28 kB / 0.4899 GB, free: 7.496 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004933/0.3692, allocations: 0.8638 MB / 0.4907 GB, free: 7.23 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004593/0.3738, allocations: 2.094 MB / 0.4928 GB, free: 5.582 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001476/0.374, allocations: 212.3 kB / 0.493 GB, free: 5.48 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004118/0.3744, allocations: 272.8 kB / 0.4933 GB, free: 5.387 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004189/0.3786, allocations: 2.885 MB / 0.4961 GB, free: 2.137 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.147e-05/0.3787, allocations: 15.88 kB / 0.4961 GB, free: 2.121 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002269/0.3789, allocations: 108 kB / 0.4962 GB, free: 2.016 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-05/0.379, allocations: 68 kB / 0.4963 GB, free: 1.949 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003459/0.3824, allocations: 2.292 MB / 0.4985 GB, free: 15.65 MB / 382.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.02039/0.4028, allocations: 19.2 MB / 0.5172 GB, free: 11.42 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00413/0.407, allocations: 2.958 MB / 0.5201 GB, free: 8.266 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001234/0.4082, allocations: 0.8594 MB / 0.521 GB, free: 7.406 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001376/0.4084, allocations: 34.06 kB / 0.521 GB, free: 7.371 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.631e-05/0.4084, allocations: 64.55 kB / 0.5211 GB, free: 7.301 MB / 398.1 MB Notification: Performance of pre-optimization done (n=227): time 4.628e-06/0.4085, allocations: 0 / 0.5211 GB, free: 7.301 MB / 398.1 MB Notification: Performance of matching and sorting (n=227): time 0.01254/0.421, allocations: 4.189 MB / 0.5252 GB, free: 3.062 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.246e-05/0.4211, allocations: 99.11 kB / 0.5253 GB, free: 2.945 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003669/0.4248, allocations: 2.35 MB / 0.5275 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006142/0.4254, allocations: 77.7 kB / 0.5276 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00125/0.4267, allocations: 1.311 MB / 0.5289 GB, free: 15.16 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001111/0.4278, allocations: 0.8948 MB / 0.5298 GB, free: 14.26 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001909/0.4297, allocations: 1.265 MB / 0.531 GB, free: 12.98 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001346/0.4299, allocations: 309.1 kB / 0.5313 GB, free: 12.68 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002967/0.4328, allocations: 1.834 MB / 0.5331 GB, free: 10.84 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003459/0.4363, allocations: 2.464 MB / 0.5355 GB, free: 8.293 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005714/0.442, allocations: 3.75 MB / 0.5392 GB, free: 4.426 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.765e-05/0.4421, allocations: 4 kB / 0.5392 GB, free: 4.422 MB / 414.1 MB Notification: Performance of matching and sorting (n=917) (initialization): time 0.01086/0.4529, allocations: 6.173 MB / 0.5452 GB, free: 14.2 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.037e-05/0.453, allocations: 8 kB / 0.5452 GB, free: 14.2 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.429e-05/0.453, allocations: 8 kB / 0.5452 GB, free: 14.19 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005993/0.459, allocations: 1.097 MB / 0.5463 GB, free: 13.08 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005214/0.4642, allocations: 1.377 MB / 0.5476 GB, free: 11.7 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01419/0.4784, allocations: 10.84 MB / 0.5582 GB, free: 308 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005045/0.4835, allocations: 467.5 kB / 0.5587 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000689/0.4842, allocations: 223.9 kB / 0.5589 GB, free: 15.62 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 5 (infiniteBus.componentPF.isSlackBus,bus.componentPF.isSlackBus,GRIDL.componentPF.isSlackBus,GEN.componentPF.isSlackBus,GEN.isSlackBus) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (862): * Single equations (assignments): 858 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,0,100.0%), (2,0,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(23,0), (32,0)} Notification: Performance of prepare postOptimizeDAE: time 0.001628/0.4859, allocations: 0.6878 MB / 0.5595 GB, free: 14.92 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007392/0.4866, allocations: 292.4 kB / 0.5598 GB, free: 14.63 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00471/0.4913, allocations: 2.364 MB / 0.5621 GB, free: 12.25 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.063e-05/0.4914, allocations: 15.95 kB / 0.5622 GB, free: 12.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.4914, allocations: 3.938 kB / 0.5622 GB, free: 12.23 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00139/0.4928, allocations: 0.6142 MB / 0.5628 GB, free: 11.59 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006799/0.4935, allocations: 36 kB / 0.5628 GB, free: 11.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001879/0.4953, allocations: 83.89 kB / 0.5629 GB, free: 11.47 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002874/0.4956, allocations: 169.7 kB / 0.563 GB, free: 11.31 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005062/0.5007, allocations: 2.427 MB / 0.5654 GB, free: 8.875 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00391/0.5046, allocations: 2.818 MB / 0.5682 GB, free: 6.027 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009919/0.5056, allocations: 0.7028 MB / 0.5688 GB, free: 5.324 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002068/0.5077, allocations: 1.406 MB / 0.5702 GB, free: 3.914 MB / 446.1 MB Notification: Performance of Backend: time 3.41e-07/0.5077, allocations: 0 / 0.5702 GB, free: 3.914 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01128/0.519, allocations: 5.065 MB / 0.5752 GB, free: 14.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.00906/0.5281, allocations: 6.564 MB / 0.5816 GB, free: 8.211 MB / 462.1 MB Notification: Performance of Templates: time 0.2342/0.7623, allocations: 48.62 MB / 0.6291 GB, free: 125.8 MB / 462.1 MB make -j1 -f PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.SimpleGrid.makefile (rm -f PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.SimpleGrid.pipe ; mkfifo PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.SimpleGrid.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.SimpleGrid.pipe >> ../files/PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.SimpleGrid.sim & ./PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.SimpleGrid -abortSlowSimulation -alarm=50 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.SimpleGrid.pipe 2>&1)