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.001556/0.001556, allocations: 110.7 kB / 16.37 MB, free: 6.004 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.001688/0.001688, allocations: 195.8 kB / 17.31 MB, free: 5.613 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.367/1.367, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.07416/0.07416, allocations: 16.74 MB / 307.9 MB, free: 14.48 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 62.31 kB / 373.2 MB, free: 48.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08869/0.08994, allocations: 53.57 MB / 426.7 MB, free: 12 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.HowToBuild.Examples.SimpleGrid): time 0.02574/0.1157, allocations: 33.45 MB / 460.2 MB, free: 10.41 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01976/0.1355, allocations: 8.298 MB / 468.5 MB, free: 2.086 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007219/0.1428, allocations: 63.69 kB / 468.5 MB, free: 2.023 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006054/0.149, allocations: 1.153 MB / 469.7 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01728/0.1663, allocations: 3.437 MB / 473.1 MB, free: 13.45 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007034/0.1734, allocations: 1.536 MB / 474.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0154/0.1888, allocations: 6.425 MB / 481.1 MB, free: 5.488 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003216/0.1921, allocations: 1.098 MB / 482.2 MB, free: 4.363 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006359/0.1985, allocations: 2.136 MB / 484.3 MB, free: 2.219 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006455/0.205, allocations: 2.264 MB / 486.6 MB, free: 15.95 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00122/0.2062, allocations: 284 kB / 486.9 MB, free: 15.67 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004703/0.2109, allocations: 0.8083 MB / 487.7 MB, free: 14.86 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001181/0.2122, allocations: 0.6533 MB / 488.3 MB, free: 14.2 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005696/0.2179, allocations: 2.029 MB / 490.4 MB, free: 12.16 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01063/0.2285, allocations: 5.132 MB / 495.5 MB, free: 7.016 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.2286, allocations: 4 kB / 495.5 MB, free: 7.012 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.375e-06/0.2286, allocations: 0 / 495.5 MB, free: 7.012 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001251/0.2287, allocations: 0 / 495.5 MB, free: 7.012 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: 599 * Number of variables: 599 Notification: Performance of Generate backend data structure: time 0.02663/0.2554, allocations: 4.666 MB / 0.4884 GB, free: 2.273 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.085e-05/0.2555, allocations: 8.031 kB / 0.4884 GB, free: 2.266 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006219/0.2617, allocations: 0.8516 MB / 0.4893 GB, free: 1.41 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006204/0.2679, allocations: 2.283 MB / 0.4915 GB, free: 15.05 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00016/0.2681, allocations: 192.8 kB / 0.4917 GB, free: 14.86 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003611/0.2685, allocations: 248 kB / 0.4919 GB, free: 14.62 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004474/0.273, allocations: 2.768 MB / 0.4946 GB, free: 11.48 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.481e-05/0.273, allocations: 15.81 kB / 0.4946 GB, free: 11.46 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002039/0.2733, allocations: 108 kB / 0.4947 GB, free: 11.36 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.451e-05/0.2733, allocations: 64 kB / 0.4948 GB, free: 11.3 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003615/0.2769, allocations: 2.15 MB / 0.4969 GB, free: 9.141 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.232/0.509, allocations: 19.2 MB / 0.5157 GB, free: 65.75 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003741/0.5128, allocations: 3.383 MB / 0.519 GB, free: 63.89 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001034/0.5138, allocations: 0.8159 MB / 0.5198 GB, free: 63.87 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001124/0.5139, allocations: 25.27 kB / 0.5198 GB, free: 63.87 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.997e-05/0.514, allocations: 63.58 kB / 0.5198 GB, free: 63.83 MB / 382.1 MB Notification: Performance of pre-optimization done (n=216): time 5.601e-06/0.514, allocations: 0.5625 kB / 0.5198 GB, free: 63.83 MB / 382.1 MB Notification: Performance of matching and sorting (n=216): time 0.008443/0.5224, allocations: 3.342 MB / 0.5231 GB, free: 63.06 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.992e-05/0.5225, allocations: 104.2 kB / 0.5232 GB, free: 62.96 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004071/0.5266, allocations: 2.457 MB / 0.5256 GB, free: 62.03 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003955/0.527, allocations: 75.44 kB / 0.5257 GB, free: 61.96 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009877/0.528, allocations: 1.291 MB / 0.5269 GB, free: 61.23 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00103/0.5291, allocations: 0.8609 MB / 0.5278 GB, free: 60.62 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002073/0.5312, allocations: 1.2 MB / 0.5289 GB, free: 60.04 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.555e-05/0.5312, allocations: 306.4 kB / 0.5292 GB, free: 59.73 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002829/0.5341, allocations: 1.684 MB / 0.5309 GB, free: 59.06 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002702/0.5368, allocations: 2.332 MB / 0.5332 GB, free: 57.91 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003829/0.5406, allocations: 3.309 MB / 0.5364 GB, free: 56.07 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-05/0.5406, allocations: 3.938 kB / 0.5364 GB, free: 56.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=859) (initialization): time 0.008668/0.5493, allocations: 5.712 MB / 0.542 GB, free: 53.26 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.306e-05/0.5494, allocations: 11.94 kB / 0.542 GB, free: 53.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.739e-05/0.5494, allocations: 9.281 kB / 0.542 GB, free: 53.24 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004943/0.5544, allocations: 1.032 MB / 0.543 GB, free: 52.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005687/0.5601, allocations: 1.299 MB / 0.5443 GB, free: 50.9 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01038/0.5705, allocations: 9.744 MB / 0.5538 GB, free: 40.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005674/0.5762, allocations: 425.1 kB / 0.5542 GB, free: 40.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006471/0.5769, allocations: 212 kB / 0.5544 GB, free: 40 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (814): * Single equations (assignments): 810 * 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), (22,0)} Notification: Performance of prepare postOptimizeDAE: time 0.001432/0.5784, allocations: 0.6647 MB / 0.555 GB, free: 39.32 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006722/0.579, allocations: 285.4 kB / 0.5553 GB, free: 39.04 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003343/0.5824, allocations: 2.137 MB / 0.5574 GB, free: 36.89 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.801e-05/0.5824, allocations: 15.95 kB / 0.5574 GB, free: 36.87 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.5824, allocations: 0 / 0.5574 GB, free: 36.87 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001414/0.5839, allocations: 0.6181 MB / 0.558 GB, free: 36.23 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003808/0.5842, allocations: 41.98 kB / 0.5581 GB, free: 36.19 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001767/0.586, allocations: 87.95 kB / 0.5581 GB, free: 36.11 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002425/0.5863, allocations: 157.7 kB / 0.5583 GB, free: 35.95 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003635/0.5899, allocations: 2.131 MB / 0.5604 GB, free: 33.86 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003238/0.5932, allocations: 2.589 MB / 0.5629 GB, free: 31.24 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007264/0.5939, allocations: 0.6364 MB / 0.5635 GB, free: 30.61 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002239/0.5962, allocations: 1.497 MB / 0.565 GB, free: 29.1 MB / 382.1 MB Notification: Performance of Backend: time 8.01e-07/0.5962, allocations: 2.297 kB / 0.565 GB, free: 29.1 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.01045/0.6066, allocations: 4.613 MB / 0.5695 GB, free: 24.5 MB / 382.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.007704/0.6144, allocations: 5.134 MB / 0.5745 GB, free: 19.39 MB / 382.1 MB Notification: Performance of Templates: time 0.06528/0.6797, allocations: 41.81 MB / 0.6153 GB, free: 9.738 MB / 414.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 -s cvode -lv LOG_STATS > PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.SimpleGrid.pipe 2>&1)