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.001557/0.001557, allocations: 105.3 kB / 16.27 MB, free: 6.414 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.001497/0.001497, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.563/1.563, allocations: 222.9 MB / 240.9 MB, free: 15.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.07901/0.07901, allocations: 16.68 MB / 307.7 MB, free: 14.61 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002018/0.002018, allocations: 63.25 kB / 372.3 MB, free: 48.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1426/0.1446, allocations: 53.56 MB / 425.9 MB, free: 12.85 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.HowToBuild.Examples.SimpleGrid): time 0.03243/0.1771, allocations: 33.71 MB / 459.6 MB, free: 11 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01861/0.1958, allocations: 8.361 MB / 468 MB, free: 2.605 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005777/0.2016, allocations: 67.69 kB / 468 MB, free: 2.539 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005003/0.2067, allocations: 1.157 MB / 469.2 MB, free: 1.375 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01359/0.2203, allocations: 3.459 MB / 472.6 MB, free: 13.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005041/0.2254, allocations: 1.646 MB / 474.3 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01232/0.2377, allocations: 6.536 MB / 480.8 MB, free: 5.762 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002682/0.2404, allocations: 1.126 MB / 482 MB, free: 4.605 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005238/0.2457, allocations: 2.187 MB / 484.1 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004988/0.2507, allocations: 2.334 MB / 486.5 MB, free: 68 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000797/0.2515, allocations: 300 kB / 486.8 MB, free: 15.77 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003011/0.2545, allocations: 0.82 MB / 487.6 MB, free: 14.95 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006876/0.2552, allocations: 0.6922 MB / 488.3 MB, free: 14.26 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003105/0.2583, allocations: 2.08 MB / 490.4 MB, free: 12.17 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007297/0.2656, allocations: 5.23 MB / 495.6 MB, free: 6.922 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.2656, allocations: 0 / 495.6 MB, free: 6.922 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.2657, allocations: 0 / 495.6 MB, free: 6.922 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.789e-05/0.2658, allocations: 0 / 495.6 MB, free: 6.922 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.01901/0.2848, allocations: 5.217 MB / 0.4891 GB, free: 1.633 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.031e-05/0.2849, allocations: 8.031 kB / 0.4891 GB, free: 1.625 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005025/0.2899, allocations: 0.8554 MB / 0.4899 GB, free: 0.7656 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00659/0.2965, allocations: 2.248 MB / 0.4921 GB, free: 14.44 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001965/0.2967, allocations: 201 kB / 0.4923 GB, free: 14.24 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000398/0.2971, allocations: 256 kB / 0.4925 GB, free: 13.99 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004982/0.3021, allocations: 2.888 MB / 0.4954 GB, free: 10.74 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.721e-05/0.3022, allocations: 15.88 kB / 0.4954 GB, free: 10.72 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002413/0.3024, allocations: 112 kB / 0.4955 GB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.455e-05/0.3025, allocations: 64 kB / 0.4955 GB, free: 10.55 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00414/0.3067, allocations: 2.295 MB / 0.4978 GB, free: 8.25 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.3378/0.6445, allocations: 19.44 MB / 0.5168 GB, free: 66.29 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00471/0.6493, allocations: 2.951 MB / 0.5197 GB, free: 65.16 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001296/0.6506, allocations: 0.8651 MB / 0.5205 GB, free: 64.82 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001211/0.6508, allocations: 31.52 kB / 0.5205 GB, free: 64.81 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.583e-05/0.6508, allocations: 60.77 kB / 0.5206 GB, free: 64.76 MB / 382.1 MB Notification: Performance of pre-optimization done (n=227): time 6.503e-06/0.6508, allocations: 0 / 0.5206 GB, free: 64.76 MB / 382.1 MB Notification: Performance of matching and sorting (n=227): time 0.01386/0.6647, allocations: 4.197 MB / 0.5247 GB, free: 63.48 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.757e-05/0.6648, allocations: 102.6 kB / 0.5248 GB, free: 63.39 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005927/0.6708, allocations: 2.578 MB / 0.5273 GB, free: 62.41 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005729/0.6714, allocations: 72.55 kB / 0.5274 GB, free: 62.34 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001213/0.6726, allocations: 1.288 MB / 0.5286 GB, free: 61.55 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001424/0.674, allocations: 0.907 MB / 0.5295 GB, free: 60.89 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002178/0.6762, allocations: 1.276 MB / 0.5308 GB, free: 60.27 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.91e-05/0.6763, allocations: 301.1 kB / 0.531 GB, free: 59.97 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002807/0.6791, allocations: 1.818 MB / 0.5328 GB, free: 59.18 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003188/0.6823, allocations: 2.488 MB / 0.5353 GB, free: 57.68 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005296/0.6876, allocations: 3.563 MB / 0.5387 GB, free: 55.57 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.501e-05/0.6877, allocations: 4.031 kB / 0.5387 GB, free: 55.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=906) (initialization): time 0.01097/0.6987, allocations: 6.159 MB / 0.5447 GB, free: 50.7 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.925e-05/0.6988, allocations: 8 kB / 0.5448 GB, free: 50.69 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.966e-05/0.6988, allocations: 8.5 kB / 0.5448 GB, free: 50.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005487/0.7043, allocations: 1.09 MB / 0.5458 GB, free: 49.58 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006029/0.7103, allocations: 1.354 MB / 0.5472 GB, free: 48.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01359/0.724, allocations: 10.86 MB / 0.5578 GB, free: 36.85 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007689/0.7317, allocations: 444 kB / 0.5582 GB, free: 36.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001131/0.7329, allocations: 224 kB / 0.5584 GB, free: 36.19 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 (851): * Single equations (assignments): 847 * 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.002072/0.735, allocations: 0.6821 MB / 0.5591 GB, free: 35.5 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001041/0.736, allocations: 305.2 kB / 0.5594 GB, free: 35.2 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004075/0.7401, allocations: 2.368 MB / 0.5617 GB, free: 32.81 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.921e-05/0.7402, allocations: 11.91 kB / 0.5617 GB, free: 32.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.7402, allocations: 4 kB / 0.5617 GB, free: 32.79 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002066/0.7422, allocations: 0.6609 MB / 0.5623 GB, free: 32.11 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006606/0.7429, allocations: 36 kB / 0.5624 GB, free: 32.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002281/0.7452, allocations: 87.94 kB / 0.5624 GB, free: 31.99 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003365/0.7456, allocations: 172 kB / 0.5626 GB, free: 31.82 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004687/0.7502, allocations: 2.417 MB / 0.565 GB, free: 29.44 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00422/0.7545, allocations: 2.826 MB / 0.5677 GB, free: 26.59 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009222/0.7554, allocations: 0.695 MB / 0.5684 GB, free: 25.9 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002618/0.7581, allocations: 1.57 MB / 0.5699 GB, free: 24.32 MB / 382.1 MB Notification: Performance of Backend: time 1.162e-06/0.7581, allocations: 0 / 0.5699 GB, free: 24.32 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.01175/0.7698, allocations: 5.04 MB / 0.5749 GB, free: 19.3 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.01124/0.7811, allocations: 6.714 MB / 0.5814 GB, free: 12.58 MB / 382.1 MB Notification: Performance of Templates: time 0.105/0.8861, allocations: 70.71 MB / 0.6505 GB, free: 5.809 MB / 446.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)