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.004869/0.004869, allocations: 102.4 kB / 15.74 MB, free: 6.043 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.001582/0.001582, allocations: 200.9 kB / 16.68 MB, free: 5.965 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.456/1.456, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1788/0.1788, allocations: 16.7 MB / 307.2 MB, free: 14.83 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001915/0.001916, allocations: 66.94 kB / 426.5 MB, free: 36.84 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07808/0.08001, allocations: 53.57 MB / 480.1 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.HowToBuild.Examples.SimpleGrid): time 0.02801/0.1081, allocations: 33.71 MB / 0.5017 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01407/0.1222, allocations: 8.369 MB / 0.5099 GB, free: 2.789 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003263/0.1255, allocations: 63.69 kB / 0.51 GB, free: 2.727 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003523/0.1291, allocations: 1.149 MB / 0.5111 GB, free: 1.57 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009037/0.1381, allocations: 3.463 MB / 0.5145 GB, free: 14.13 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003799/0.1419, allocations: 1.638 MB / 0.5161 GB, free: 12.52 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.009198/0.1511, allocations: 6.563 MB / 0.5225 GB, free: 5.938 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002022/0.1532, allocations: 1.133 MB / 0.5236 GB, free: 4.773 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003436/0.1566, allocations: 2.199 MB / 0.5257 GB, free: 2.566 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003525/0.1602, allocations: 2.334 MB / 0.528 GB, free: 228 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006348/0.1608, allocations: 300 kB / 0.5283 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002113/0.1629, allocations: 0.82 MB / 0.5291 GB, free: 15.11 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006395/0.1636, allocations: 0.6883 MB / 0.5298 GB, free: 14.42 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002479/0.1661, allocations: 2.08 MB / 0.5318 GB, free: 12.33 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006897/0.173, allocations: 5.321 MB / 0.537 GB, free: 6.988 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.173, allocations: 0 / 0.537 GB, free: 6.988 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.173, allocations: 0 / 0.537 GB, free: 6.988 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.531e-05/0.1731, allocations: 0 / 0.537 GB, free: 6.988 MB / 414.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.01761/0.1907, allocations: 5.315 MB / 0.5422 GB, free: 1.598 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.1908, allocations: 8.031 kB / 0.5422 GB, free: 1.59 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005012/0.1958, allocations: 0.8769 MB / 0.5431 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006027/0.2019, allocations: 2.328 MB / 0.5453 GB, free: 14.31 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001678/0.2021, allocations: 205 kB / 0.5455 GB, free: 14.11 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003887/0.2025, allocations: 259.9 kB / 0.5458 GB, free: 13.85 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004601/0.2071, allocations: 2.885 MB / 0.5486 GB, free: 10.6 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.436e-05/0.2072, allocations: 15.88 kB / 0.5486 GB, free: 10.59 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002319/0.2074, allocations: 108 kB / 0.5487 GB, free: 10.48 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.755e-05/0.2075, allocations: 67.94 kB / 0.5488 GB, free: 10.41 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003983/0.2114, allocations: 2.299 MB / 0.551 GB, free: 8.109 MB / 430.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.02659/0.238, allocations: 19.38 MB / 0.5699 GB, free: 3.711 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00459/0.2427, allocations: 2.958 MB / 0.5728 GB, free: 0.5508 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001363/0.244, allocations: 0.8594 MB / 0.5737 GB, free: 15.68 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001287/0.2442, allocations: 38.05 kB / 0.5737 GB, free: 15.65 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.892e-05/0.2442, allocations: 68.5 kB / 0.5738 GB, free: 15.57 MB / 462.1 MB Notification: Performance of pre-optimization done (n=227): time 4.278e-06/0.2443, allocations: 0 / 0.5738 GB, free: 15.57 MB / 462.1 MB Notification: Performance of matching and sorting (n=227): time 0.01303/0.2573, allocations: 4.199 MB / 0.5779 GB, free: 11.32 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.825e-05/0.2574, allocations: 103.1 kB / 0.578 GB, free: 11.21 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004118/0.2615, allocations: 2.581 MB / 0.5805 GB, free: 8.605 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000271/0.2618, allocations: 73.7 kB / 0.5806 GB, free: 8.527 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001284/0.2631, allocations: 1.327 MB / 0.5819 GB, free: 7.188 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001111/0.2642, allocations: 0.9457 MB / 0.5828 GB, free: 6.234 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00196/0.2662, allocations: 1.277 MB / 0.584 GB, free: 4.949 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.2663, allocations: 305.1 kB / 0.5843 GB, free: 4.648 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003223/0.2695, allocations: 1.814 MB / 0.5861 GB, free: 2.832 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003882/0.2734, allocations: 2.497 MB / 0.5885 GB, free: 228 kB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2013/0.4748, allocations: 3.559 MB / 0.592 GB, free: 103.1 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.999e-05/0.4748, allocations: 3 kB / 0.592 GB, free: 103.1 MB / 462.1 MB Notification: Performance of matching and sorting (n=906) (initialization): time 0.01149/0.4863, allocations: 6.171 MB / 0.598 GB, free: 101.6 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.967e-05/0.4864, allocations: 13.91 kB / 0.598 GB, free: 101.6 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.738e-05/0.4864, allocations: 9.562 kB / 0.5981 GB, free: 101.6 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006177/0.4926, allocations: 1.084 MB / 0.5991 GB, free: 101.5 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005356/0.498, allocations: 1.355 MB / 0.6004 GB, free: 101.3 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01237/0.5104, allocations: 10.85 MB / 0.611 GB, free: 93.56 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0049/0.5153, allocations: 454.9 kB / 0.6115 GB, free: 93.45 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003916/0.5157, allocations: 225.9 kB / 0.6117 GB, free: 93.4 MB / 462.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.001141/0.5168, allocations: 0.6828 MB / 0.6123 GB, free: 92.88 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004933/0.5173, allocations: 317.3 kB / 0.6127 GB, free: 92.88 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00396/0.5213, allocations: 2.37 MB / 0.615 GB, free: 91.83 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.272e-05/0.5214, allocations: 13.5 kB / 0.615 GB, free: 91.83 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/0.5214, allocations: 0 / 0.615 GB, free: 91.83 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001383/0.5228, allocations: 0.6699 MB / 0.6156 GB, free: 91.5 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005507/0.5233, allocations: 38.19 kB / 0.6157 GB, free: 91.48 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002123/0.5255, allocations: 98.06 kB / 0.6158 GB, free: 91.44 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002683/0.5257, allocations: 170.1 kB / 0.6159 GB, free: 91.43 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005042/0.5308, allocations: 2.415 MB / 0.6183 GB, free: 90.5 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003555/0.5344, allocations: 2.844 MB / 0.6211 GB, free: 89.11 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008476/0.5352, allocations: 0.699 MB / 0.6217 GB, free: 88.71 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001915/0.5371, allocations: 1.567 MB / 0.6233 GB, free: 87.36 MB / 462.1 MB Notification: Performance of Backend: time 1.242e-06/0.5372, allocations: 0 / 0.6233 GB, free: 87.36 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.009072/0.5462, allocations: 5.043 MB / 0.6282 GB, free: 82.36 MB / 462.1 MB Notification: Performance of SimCode: time 0.006587/0.5529, allocations: 5.514 MB / 0.6336 GB, free: 76.87 MB / 462.1 MB Notification: Performance of Templates: time 0.06186/0.6147, allocations: 45.59 MB / 0.6781 GB, free: 31.43 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)