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.0013/0.0013, allocations: 99.36 kB / 15.33 MB, free: 0.5078 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.001565/0.001566, allocations: 192 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.532/1.532, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.228/0.228, allocations: 16.78 MB / 306.9 MB, free: 14.94 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 63.91 kB / 371.3 MB, free: 3.941 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4388/0.4401, allocations: 53.54 MB / 424.8 MB, free: 38.98 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.HowToBuild.Examples.SimpleGrid): time 0.02903/0.4692, allocations: 36.11 MB / 460.9 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01796/0.4872, allocations: 8.403 MB / 469.4 MB, free: 7.645 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006847/0.4942, allocations: 77.88 kB / 469.4 MB, free: 7.617 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005146/0.4994, allocations: 0.9893 MB / 470.4 MB, free: 7.188 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01335/0.5128, allocations: 3.172 MB / 473.6 MB, free: 5.008 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005175/0.518, allocations: 1.551 MB / 475.1 MB, free: 4.105 MB / 350.1 MB [/var/lib/jenkins/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/jenkins/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/jenkins/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/jenkins/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/jenkins/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/jenkins/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/jenkins/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/jenkins/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/jenkins/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/jenkins/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/jenkins/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/jenkins/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.01376/0.5317, allocations: 6.141 MB / 481.3 MB, free: 0.832 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004486/0.5362, allocations: 1.251 MB / 482.5 MB, free: 184 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008218/0.5445, allocations: 2.081 MB / 484.6 MB, free: 15.07 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007895/0.5524, allocations: 2.218 MB / 486.8 MB, free: 13.96 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002423/0.5549, allocations: 261.2 kB / 487.1 MB, free: 13.96 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00739/0.5623, allocations: 0.8126 MB / 487.9 MB, free: 13.83 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002494/0.5648, allocations: 0.6415 MB / 488.5 MB, free: 13.36 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.011/0.5759, allocations: 2.041 MB / 490.6 MB, free: 12.07 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01717/0.5931, allocations: 5.118 MB / 495.7 MB, free: 10.02 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.268e-06/0.5931, allocations: 0.75 kB / 495.7 MB, free: 10.02 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.5931, allocations: 0 / 495.7 MB, free: 10.02 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002566/0.5934, allocations: 5.094 kB / 495.7 MB, free: 10.02 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.04583/0.6392, allocations: 5.933 MB / 0.4899 GB, free: 7.395 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.154e-05/0.6393, allocations: 8.25 kB / 0.4899 GB, free: 7.395 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01218/0.6515, allocations: 0.8672 MB / 0.4907 GB, free: 6.996 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01359/0.6652, allocations: 2.09 MB / 0.4928 GB, free: 5.348 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008383/0.6661, allocations: 207.4 kB / 0.493 GB, free: 5.25 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002321/0.6684, allocations: 277.8 kB / 0.4932 GB, free: 5.156 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01481/0.6833, allocations: 2.891 MB / 0.4961 GB, free: 1.961 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002664/0.6836, allocations: 15.81 kB / 0.4961 GB, free: 1.945 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001364/0.685, allocations: 112 kB / 0.4962 GB, free: 1.836 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001298/0.6852, allocations: 64 kB / 0.4962 GB, free: 1.773 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006645/0.6919, allocations: 2.296 MB / 0.4985 GB, free: 15.47 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.03364/0.7256, allocations: 19.2 MB / 0.5172 GB, free: 11.25 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005736/0.7313, allocations: 2.96 MB / 0.5201 GB, free: 8.094 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001915/0.7333, allocations: 0.8595 MB / 0.521 GB, free: 7.234 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000224/0.7336, allocations: 26 kB / 0.521 GB, free: 7.207 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.755e-05/0.7337, allocations: 64.56 kB / 0.5211 GB, free: 7.137 MB / 398.1 MB Notification: Performance of pre-optimization done (n=227): time 5.33e-06/0.7337, allocations: 0 / 0.5211 GB, free: 7.137 MB / 398.1 MB Notification: Performance of matching and sorting (n=227): time 0.01492/0.7486, allocations: 4.185 MB / 0.5251 GB, free: 2.902 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.754e-05/0.7487, allocations: 107.1 kB / 0.5252 GB, free: 2.777 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006044/0.7548, allocations: 2.35 MB / 0.5275 GB, free: 416 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007842/0.7556, allocations: 81.7 kB / 0.5276 GB, free: 328 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00183/0.7574, allocations: 1.307 MB / 0.5289 GB, free: 15 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001696/0.7592, allocations: 0.8948 MB / 0.5298 GB, free: 14.09 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0046/0.7638, allocations: 1.261 MB / 0.531 GB, free: 12.82 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.7639, allocations: 305.1 kB / 0.5313 GB, free: 12.52 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004558/0.7685, allocations: 1.838 MB / 0.5331 GB, free: 10.68 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004999/0.7735, allocations: 2.464 MB / 0.5355 GB, free: 8.129 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007889/0.7814, allocations: 3.755 MB / 0.5392 GB, free: 4.258 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.744e-05/0.7815, allocations: 4 kB / 0.5392 GB, free: 4.254 MB / 414.1 MB Notification: Performance of matching and sorting (n=917) (initialization): time 0.01496/0.7965, allocations: 6.173 MB / 0.5452 GB, free: 14.04 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.99e-05/0.7965, allocations: 8.938 kB / 0.5452 GB, free: 14.03 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.24e-05/0.7966, allocations: 8 kB / 0.5452 GB, free: 14.02 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005737/0.8023, allocations: 1.095 MB / 0.5463 GB, free: 12.91 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006008/0.8083, allocations: 1.365 MB / 0.5476 GB, free: 11.55 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01532/0.8237, allocations: 10.85 MB / 0.5582 GB, free: 140 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00658/0.8303, allocations: 467.4 kB / 0.5586 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001289/0.8316, allocations: 224 kB / 0.5589 GB, free: 15.46 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.002762/0.8344, allocations: 0.6819 MB / 0.5595 GB, free: 14.77 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001447/0.8358, allocations: 296.4 kB / 0.5598 GB, free: 14.47 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005519/0.8414, allocations: 2.372 MB / 0.5621 GB, free: 12.08 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.583e-05/0.8414, allocations: 11.95 kB / 0.5621 GB, free: 12.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/0.8414, allocations: 4 kB / 0.5621 GB, free: 12.07 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002674/0.8441, allocations: 0.6103 MB / 0.5627 GB, free: 11.43 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001158/0.8453, allocations: 44 kB / 0.5628 GB, free: 11.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00269/0.848, allocations: 83.88 kB / 0.5629 GB, free: 11.31 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003589/0.8483, allocations: 165.7 kB / 0.563 GB, free: 11.15 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005623/0.854, allocations: 2.428 MB / 0.5654 GB, free: 8.707 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00498/0.859, allocations: 2.825 MB / 0.5681 GB, free: 5.852 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001112/0.8601, allocations: 0.6988 MB / 0.5688 GB, free: 5.152 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003109/0.8632, allocations: 1.402 MB / 0.5702 GB, free: 3.746 MB / 446.1 MB Notification: Performance of Backend: time 5.21e-07/0.8633, allocations: 0 / 0.5702 GB, free: 3.746 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01422/0.8775, allocations: 5.068 MB / 0.5751 GB, free: 14.63 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.01077/0.8883, allocations: 6.563 MB / 0.5816 GB, free: 8.047 MB / 462.1 MB Notification: Performance of Templates: time 0.3348/1.223, allocations: 48.63 MB / 0.629 GB, free: 125.9 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=480 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.SimpleGrid.pipe 2>&1)