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.001396/0.001396, 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.001748/0.001748, allocations: 195.5 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.315/1.315, allocations: 222.9 MB / 239.8 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1742/0.1742, allocations: 16.78 MB / 306.7 MB, free: 14.95 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 63.89 kB / 371.1 MB, free: 4.051 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2436/0.2448, allocations: 53.55 MB / 424.7 MB, free: 38.91 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.HowToBuild.Examples.SimpleGrid): time 0.02093/0.2658, allocations: 36.11 MB / 460.8 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01109/0.2769, allocations: 8.405 MB / 469.2 MB, free: 7.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002876/0.2798, allocations: 78.97 kB / 469.3 MB, free: 7.562 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002552/0.2824, allocations: 0.9944 MB / 470.3 MB, free: 7.125 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006931/0.2894, allocations: 3.211 MB / 473.5 MB, free: 4.918 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003107/0.2925, allocations: 1.56 MB / 475 MB, free: 4.012 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 ‘GEN.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 ‘GEN.componentPF.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 ‘GRIDL.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 ‘GRIDL.componentPF.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 ‘line.componentPF.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.componentPF.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 ‘bus.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 ‘bus.componentPF.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 ‘infiniteBus.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 ‘infiniteBus.componentPF.UStartPF / 1.732050807568877‘ Notification: Performance of NFFlatten.flatten: time 0.007128/0.2996, allocations: 5.771 MB / 480.8 MB, free: 1.066 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002328/0.302, allocations: 1.028 MB / 481.8 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003266/0.3052, allocations: 1.79 MB / 483.6 MB, free: 15.72 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003159/0.3084, allocations: 2.029 MB / 485.7 MB, free: 14.8 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006091/0.309, allocations: 140.7 kB / 485.8 MB, free: 14.8 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002622/0.3117, allocations: 0.5976 MB / 486.4 MB, free: 14.67 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005084/0.3122, allocations: 0.5239 MB / 486.9 MB, free: 14.32 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003004/0.3152, allocations: 1.83 MB / 488.7 MB, free: 13.24 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006771/0.322, allocations: 5.023 MB / 493.8 MB, free: 11.24 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.322, allocations: 0 / 493.8 MB, free: 11.24 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.684e-06/0.322, allocations: 0.7969 kB / 493.8 MB, free: 11.24 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001332/0.3222, allocations: 5.062 kB / 493.8 MB, free: 11.24 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.0244/0.3466, allocations: 5.932 MB / 499.7 MB, free: 8.645 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.3467, allocations: 9.594 kB / 499.7 MB, free: 8.645 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005455/0.3521, allocations: 0.8635 MB / 0.4888 GB, free: 8.32 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00469/0.3568, allocations: 2.093 MB / 0.4909 GB, free: 6.664 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002252/0.3571, allocations: 211.5 kB / 0.4911 GB, free: 6.562 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005659/0.3577, allocations: 270.9 kB / 0.4913 GB, free: 6.477 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004752/0.3624, allocations: 2.888 MB / 0.4942 GB, free: 3.797 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.296e-05/0.3625, allocations: 19.81 kB / 0.4942 GB, free: 3.777 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002495/0.3628, allocations: 116 kB / 0.4943 GB, free: 3.664 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.279e-05/0.3628, allocations: 64 kB / 0.4944 GB, free: 3.602 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00373/0.3666, allocations: 2.299 MB / 0.4966 GB, free: 1.293 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.01989/0.3865, allocations: 19.2 MB / 0.5154 GB, free: 13.07 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004198/0.3907, allocations: 2.95 MB / 0.5182 GB, free: 9.926 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001289/0.392, allocations: 0.8556 MB / 0.5191 GB, free: 9.07 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001247/0.3921, allocations: 38.05 kB / 0.5191 GB, free: 9.031 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.28e-05/0.3922, allocations: 60.56 kB / 0.5192 GB, free: 8.965 MB / 398.1 MB Notification: Performance of pre-optimization done (n=227): time 4.228e-06/0.3922, allocations: 3.938 kB / 0.5192 GB, free: 8.961 MB / 398.1 MB Notification: Performance of matching and sorting (n=227): time 0.01244/0.4046, allocations: 4.193 MB / 0.5233 GB, free: 4.719 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.898e-05/0.4047, allocations: 99.11 kB / 0.5234 GB, free: 4.602 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003118/0.4078, allocations: 2.346 MB / 0.5256 GB, free: 2.234 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003716/0.4082, allocations: 81.7 kB / 0.5257 GB, free: 2.148 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001096/0.4093, allocations: 1.303 MB / 0.527 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009806/0.4103, allocations: 0.9026 MB / 0.5279 GB, free: 15.91 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001712/0.412, allocations: 1.265 MB / 0.5291 GB, free: 14.64 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.097e-05/0.4121, allocations: 309 kB / 0.5294 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003036/0.4152, allocations: 1.834 MB / 0.5312 GB, free: 12.5 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003577/0.4188, allocations: 2.46 MB / 0.5336 GB, free: 9.953 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00583/0.4246, allocations: 3.754 MB / 0.5373 GB, free: 6.082 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.53e-05/0.4246, allocations: 4 kB / 0.5373 GB, free: 6.078 MB / 414.1 MB Notification: Performance of matching and sorting (n=917) (initialization): time 0.01177/0.4364, allocations: 6.173 MB / 0.5433 GB, free: 15.86 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.571e-05/0.4365, allocations: 12 kB / 0.5433 GB, free: 15.84 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.552e-05/0.4365, allocations: 8 kB / 0.5433 GB, free: 15.84 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006164/0.4427, allocations: 1.088 MB / 0.5444 GB, free: 14.74 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005336/0.448, allocations: 1.369 MB / 0.5457 GB, free: 13.37 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01386/0.4619, allocations: 9.995 MB / 0.5555 GB, free: 2.832 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004592/0.4665, allocations: 463.5 kB / 0.5559 GB, free: 2.375 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004817/0.467, allocations: 224 kB / 0.5561 GB, free: 2.156 MB / 430.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.001355/0.4684, allocations: 0.6855 MB / 0.5568 GB, free: 1.461 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005583/0.469, allocations: 300.3 kB / 0.5571 GB, free: 1.164 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004444/0.4734, allocations: 2.365 MB / 0.5594 GB, free: 14.78 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-05/0.4734, allocations: 15.95 kB / 0.5594 GB, free: 14.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.4735, allocations: 0 / 0.5594 GB, free: 14.77 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001272/0.4747, allocations: 0.6141 MB / 0.56 GB, free: 14.13 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004017/0.4751, allocations: 43.94 kB / 0.5601 GB, free: 14.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001548/0.4767, allocations: 79.94 kB / 0.5601 GB, free: 14.01 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002871/0.477, allocations: 169.7 kB / 0.5603 GB, free: 13.84 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005118/0.4821, allocations: 2.417 MB / 0.5627 GB, free: 11.41 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004152/0.4863, allocations: 2.825 MB / 0.5654 GB, free: 8.566 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001017/0.4873, allocations: 0.7066 MB / 0.5661 GB, free: 7.859 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001978/0.4893, allocations: 1.405 MB / 0.5675 GB, free: 6.453 MB / 446.1 MB Notification: Performance of Backend: time 5.21e-07/0.4893, allocations: 0 / 0.5675 GB, free: 6.453 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01037/0.4997, allocations: 4.96 MB / 0.5723 GB, free: 1.449 MB / 446.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.008633/0.5084, allocations: 6.577 MB / 0.5787 GB, free: 10.84 MB / 462.1 MB Notification: Performance of Templates: time 0.3152/0.8236, allocations: 45.29 MB / 0.623 GB, free: 127.7 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)