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.00116/0.00116, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001193/0.001193, allocations: 193.3 kB / 16.53 MB, free: 6.391 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.205/1.205, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1633/0.1633, allocations: 16.79 MB / 307.2 MB, free: 14.83 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001105/0.001105, allocations: 67.89 kB / 371.8 MB, free: 3.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2099/0.211, allocations: 53.56 MB / 425.3 MB, free: 39.21 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.HowToBuild.Examples.SimpleGrid): time 0.01762/0.2286, allocations: 33.7 MB / 459 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009586/0.2383, allocations: 8.389 MB / 467.4 MB, free: 9.566 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002368/0.2407, allocations: 67.44 kB / 467.5 MB, free: 9.543 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00218/0.2429, allocations: 1.152 MB / 468.7 MB, free: 8.953 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005971/0.2489, allocations: 3.449 MB / 472.1 MB, free: 6.621 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002548/0.2514, allocations: 1.65 MB / 473.8 MB, free: 5.691 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004945/0.2564, allocations: 6.534 MB / 480.3 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001292/0.2577, allocations: 1.122 MB / 481.4 MB, free: 1.723 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002483/0.2602, allocations: 2.187 MB / 483.6 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002425/0.2626, allocations: 2.332 MB / 485.9 MB, free: 15.44 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003911/0.263, allocations: 299.9 kB / 486.2 MB, free: 15.44 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001677/0.2647, allocations: 0.8228 MB / 487 MB, free: 15.32 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000533/0.2652, allocations: 0.6915 MB / 487.7 MB, free: 14.81 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001866/0.2671, allocations: 2.082 MB / 489.8 MB, free: 13.49 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005215/0.2723, allocations: 5.229 MB / 495 MB, free: 11.42 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.2724, allocations: 2.125 kB / 495 MB, free: 11.42 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2724, allocations: 0 / 495 MB, free: 11.42 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.157e-05/0.2724, allocations: 0 / 495 MB, free: 11.42 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.01534/0.2878, allocations: 5.213 MB / 0.4885 GB, free: 8.426 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.2878, allocations: 9.219 kB / 0.4885 GB, free: 8.426 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004342/0.2922, allocations: 0.8604 MB / 0.4894 GB, free: 8.031 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003767/0.296, allocations: 2.249 MB / 0.4916 GB, free: 6.289 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001199/0.2961, allocations: 201.2 kB / 0.4918 GB, free: 6.191 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003008/0.2964, allocations: 261.9 kB / 0.492 GB, free: 6.102 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003711/0.3001, allocations: 2.883 MB / 0.4948 GB, free: 3.5 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.414e-05/0.3002, allocations: 15.81 kB / 0.4949 GB, free: 3.484 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002059/0.3004, allocations: 112 kB / 0.495 GB, free: 3.375 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.967e-05/0.3004, allocations: 72 kB / 0.495 GB, free: 3.305 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003286/0.3037, allocations: 2.288 MB / 0.4973 GB, free: 1.012 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.02099/0.3247, allocations: 19.45 MB / 0.5163 GB, free: 12.54 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003696/0.3285, allocations: 2.965 MB / 0.5191 GB, free: 9.387 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001115/0.3296, allocations: 0.8562 MB / 0.52 GB, free: 8.523 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.572e-05/0.3297, allocations: 30.06 kB / 0.52 GB, free: 8.496 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.218e-05/0.3297, allocations: 72.5 kB / 0.5201 GB, free: 8.414 MB / 398.1 MB Notification: Performance of pre-optimization done (n=227): time 3.837e-06/0.3297, allocations: 0 / 0.5201 GB, free: 8.414 MB / 398.1 MB Notification: Performance of matching and sorting (n=227): time 0.011/0.3408, allocations: 4.181 MB / 0.5242 GB, free: 4.184 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.447e-05/0.3408, allocations: 107.1 kB / 0.5243 GB, free: 4.062 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003182/0.344, allocations: 2.568 MB / 0.5268 GB, free: 1.473 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001806/0.3442, allocations: 73.7 kB / 0.5268 GB, free: 1.395 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008798/0.3451, allocations: 1.291 MB / 0.5281 GB, free: 88 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008439/0.3459, allocations: 0.9064 MB / 0.529 GB, free: 15.17 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001569/0.3475, allocations: 1.269 MB / 0.5302 GB, free: 13.89 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.838e-05/0.3476, allocations: 309 kB / 0.5305 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002631/0.3502, allocations: 1.818 MB / 0.5323 GB, free: 11.77 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003106/0.3534, allocations: 2.485 MB / 0.5347 GB, free: 9.168 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00466/0.358, allocations: 3.564 MB / 0.5382 GB, free: 5.469 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.257e-05/0.358, allocations: 4 kB / 0.5382 GB, free: 5.465 MB / 414.1 MB Notification: Performance of matching and sorting (n=906) (initialization): time 0.009629/0.3677, allocations: 6.157 MB / 0.5442 GB, free: 15.26 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.743e-05/0.3677, allocations: 9.562 kB / 0.5442 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.288e-05/0.3678, allocations: 8 kB / 0.5442 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005436/0.3732, allocations: 1.096 MB / 0.5453 GB, free: 14.14 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004535/0.3777, allocations: 1.358 MB / 0.5466 GB, free: 12.78 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01301/0.3908, allocations: 10.86 MB / 0.5572 GB, free: 1.344 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004691/0.3955, allocations: 440.1 kB / 0.5577 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003349/0.3958, allocations: 224 kB / 0.5579 GB, free: 0.6914 MB / 430.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.001157/0.397, allocations: 0.6879 MB / 0.5586 GB, free: 15.99 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004852/0.3975, allocations: 308.3 kB / 0.5588 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003998/0.4015, allocations: 2.365 MB / 0.5612 GB, free: 13.3 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.919e-05/0.4015, allocations: 11.95 kB / 0.5612 GB, free: 13.29 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.628e-06/0.4015, allocations: 0 / 0.5612 GB, free: 13.29 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001137/0.4027, allocations: 0.6609 MB / 0.5618 GB, free: 12.61 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000367/0.403, allocations: 40 kB / 0.5618 GB, free: 12.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001747/0.4048, allocations: 95.88 kB / 0.5619 GB, free: 12.48 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002427/0.405, allocations: 165.7 kB / 0.5621 GB, free: 12.31 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004814/0.4099, allocations: 2.42 MB / 0.5645 GB, free: 9.883 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003589/0.4135, allocations: 2.825 MB / 0.5672 GB, free: 7.031 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009014/0.4144, allocations: 0.6988 MB / 0.5679 GB, free: 6.332 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001961/0.4164, allocations: 1.57 MB / 0.5694 GB, free: 4.758 MB / 446.1 MB Notification: Performance of Backend: time 3.7e-07/0.4164, allocations: 0 / 0.5694 GB, free: 4.758 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008718/0.4251, allocations: 5.033 MB / 0.5744 GB, free: 15.68 MB / 462.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.006735/0.4318, allocations: 5.479 MB / 0.5797 GB, free: 10.18 MB / 462.1 MB Notification: Performance of Templates: time 0.1943/0.6262, allocations: 48.15 MB / 0.6267 GB, free: 126.9 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)