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.007731/0.007731, allocations: 100.9 kB / 15.73 MB, free: 6.062 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.002052/0.002052, allocations: 195.3 kB / 16.67 MB, free: 5.973 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.448/1.448, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.08191/0.08191, allocations: 16.69 MB / 307.2 MB, free: 14.51 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001831/0.001831, allocations: 67.89 kB / 426.5 MB, free: 10.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1022, allocations: 53.55 MB / 480 MB, free: 5.074 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.HowToBuild.Examples.SimpleGrid): time 0.03312/0.1354, allocations: 33.71 MB / 0.5017 GB, free: 3.223 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2417/0.3771, allocations: 8.358 MB / 0.5099 GB, free: 10.52 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00306/0.3802, allocations: 62.47 kB / 0.5099 GB, free: 10.52 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003142/0.3834, allocations: 1.153 MB / 0.5111 GB, free: 10.49 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009442/0.3929, allocations: 3.455 MB / 0.5144 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004002/0.3969, allocations: 1.65 MB / 0.516 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0104/0.4073, allocations: 6.561 MB / 0.5225 GB, free: 7.203 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002311/0.4097, allocations: 1.119 MB / 0.5235 GB, free: 6.664 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004541/0.4142, allocations: 2.198 MB / 0.5257 GB, free: 5.609 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004783/0.419, allocations: 2.335 MB / 0.528 GB, free: 4.52 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00106/0.4201, allocations: 301.9 kB / 0.5283 GB, free: 4.52 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00351/0.4236, allocations: 0.8164 MB / 0.5291 GB, free: 4.406 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005904/0.4243, allocations: 0.6914 MB / 0.5297 GB, free: 3.93 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00362/0.4279, allocations: 2.082 MB / 0.5318 GB, free: 2.633 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006741/0.4346, allocations: 5.326 MB / 0.537 GB, free: 15.61 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.4347, allocations: 0 / 0.537 GB, free: 15.61 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.4347, allocations: 4 kB / 0.537 GB, free: 15.6 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001192/0.4348, allocations: 1.781 kB / 0.537 GB, free: 15.6 MB / 398.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.02019/0.455, allocations: 5.302 MB / 0.5421 GB, free: 12.27 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/0.4551, allocations: 7 kB / 0.5422 GB, free: 12.27 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005198/0.4603, allocations: 0.8756 MB / 0.543 GB, free: 11.87 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006051/0.4664, allocations: 2.336 MB / 0.5453 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001581/0.4666, allocations: 193 kB / 0.5455 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003645/0.4669, allocations: 258.4 kB / 0.5457 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004881/0.4718, allocations: 2.892 MB / 0.5485 GB, free: 6.688 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.818e-05/0.4719, allocations: 23.81 kB / 0.5486 GB, free: 6.664 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002387/0.4721, allocations: 108 kB / 0.5487 GB, free: 6.559 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-05/0.4722, allocations: 71.98 kB / 0.5487 GB, free: 6.488 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00401/0.4762, allocations: 2.292 MB / 0.551 GB, free: 4.191 MB / 398.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.02627/0.5025, allocations: 19.39 MB / 0.5699 GB, free: 15.89 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004599/0.5071, allocations: 2.958 MB / 0.5728 GB, free: 12.73 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001378/0.5085, allocations: 0.8553 MB / 0.5736 GB, free: 11.87 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001321/0.5087, allocations: 32.72 kB / 0.5737 GB, free: 11.84 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.986e-05/0.5087, allocations: 64.56 kB / 0.5737 GB, free: 11.77 MB / 430.1 MB Notification: Performance of pre-optimization done (n=227): time 5.07e-06/0.5088, allocations: 0 / 0.5737 GB, free: 11.77 MB / 430.1 MB Notification: Performance of matching and sorting (n=227): time 0.0139/0.5227, allocations: 4.203 MB / 0.5778 GB, free: 7.531 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.126e-05/0.5228, allocations: 103.1 kB / 0.5779 GB, free: 7.414 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004432/0.5272, allocations: 2.581 MB / 0.5805 GB, free: 4.812 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000305/0.5275, allocations: 81.69 kB / 0.5805 GB, free: 4.727 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00119/0.5287, allocations: 1.33 MB / 0.5818 GB, free: 3.414 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001203/0.5299, allocations: 0.9384 MB / 0.5828 GB, free: 2.484 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001951/0.5319, allocations: 1.273 MB / 0.584 GB, free: 1.203 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.532, allocations: 309.1 kB / 0.5843 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003271/0.5353, allocations: 1.818 MB / 0.5861 GB, free: 15.08 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003884/0.5392, allocations: 2.489 MB / 0.5885 GB, free: 12.48 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005818/0.545, allocations: 3.568 MB / 0.592 GB, free: 8.773 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.627e-05/0.5451, allocations: 4 kB / 0.592 GB, free: 8.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=906) (initialization): time 0.01219/0.5573, allocations: 6.17 MB / 0.598 GB, free: 2.559 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.481e-05/0.5573, allocations: 12.22 kB / 0.598 GB, free: 2.547 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.687e-05/0.5574, allocations: 8 kB / 0.598 GB, free: 2.539 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006281/0.5637, allocations: 1.093 MB / 0.5991 GB, free: 1.438 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005887/0.5696, allocations: 1.358 MB / 0.6004 GB, free: 80 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01638/0.586, allocations: 10.84 MB / 0.611 GB, free: 4.676 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006047/0.5921, allocations: 457.1 kB / 0.6114 GB, free: 4.227 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000631/0.5927, allocations: 235.8 kB / 0.6117 GB, free: 3.996 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.001515/0.5942, allocations: 0.6779 MB / 0.6123 GB, free: 3.309 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006766/0.5949, allocations: 314.1 kB / 0.6126 GB, free: 3 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00495/0.5999, allocations: 2.38 MB / 0.615 GB, free: 0.6016 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.376e-05/0.5999, allocations: 11.95 kB / 0.615 GB, free: 0.5898 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/0.5999, allocations: 0 / 0.615 GB, free: 0.5898 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001587/0.6015, allocations: 0.6755 MB / 0.6156 GB, free: 15.9 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004248/0.602, allocations: 40 kB / 0.6157 GB, free: 15.86 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00205/0.604, allocations: 87.89 kB / 0.6158 GB, free: 15.77 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003054/0.6043, allocations: 165.7 kB / 0.6159 GB, free: 15.61 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005705/0.61, allocations: 2.418 MB / 0.6183 GB, free: 13.23 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004783/0.6148, allocations: 2.839 MB / 0.621 GB, free: 10.37 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001165/0.616, allocations: 0.695 MB / 0.6217 GB, free: 9.672 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002751/0.6188, allocations: 1.573 MB / 0.6233 GB, free: 8.094 MB / 478.1 MB Notification: Performance of Backend: time 7.21e-07/0.6188, allocations: 0 / 0.6233 GB, free: 8.094 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01226/0.6311, allocations: 5.044 MB / 0.6282 GB, free: 3.035 MB / 478.1 MB Notification: Performance of SimCode: time 0.01022/0.6413, allocations: 5.511 MB / 0.6336 GB, free: 13.5 MB / 494.1 MB Notification: Performance of Templates: time 0.08774/0.7291, allocations: 45.59 MB / 0.6781 GB, free: 92 kB / 0.5137 GB 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)