Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator.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.TestSimpleGenerator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator") translateModel(PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001399/0.001399, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001666/0.001666, allocations: 197.9 kB / 16.14 MB, free: 6.719 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.337/1.337, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.2204/0.2204, allocations: 16.8 MB / 306.8 MB, free: 15 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001227, allocations: 63.84 kB / 371.1 MB, free: 4.035 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3467/0.3479, allocations: 53.55 MB / 424.7 MB, free: 39.01 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator): time 0.00961/0.3576, allocations: 11.82 MB / 436.5 MB, free: 31.7 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006125/0.3637, allocations: 3.778 MB / 440.3 MB, free: 28.99 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001374/0.3651, allocations: 29.41 kB / 440.3 MB, free: 28.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001069/0.3663, allocations: 267.6 kB / 440.6 MB, free: 28.85 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002301/0.3686, allocations: 1.116 MB / 441.7 MB, free: 28.13 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006489/0.3692, allocations: 251.1 kB / 441.9 MB, free: 28 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001262/0.3705, allocations: 1.171 MB / 443.1 MB, free: 27.44 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003939/0.3709, allocations: 200.6 kB / 443.3 MB, free: 27.36 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003544/0.3713, allocations: 330.6 kB / 443.6 MB, free: 27.21 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003225/0.3716, allocations: 364.6 kB / 444 MB, free: 27.05 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.961e-05/0.3717, allocations: 21.69 kB / 444 MB, free: 27.05 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005635/0.3722, allocations: 215.4 kB / 444.2 MB, free: 26.99 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.456e-05/0.3723, allocations: 92.48 kB / 444.3 MB, free: 26.93 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002838/0.3726, allocations: 336.8 kB / 444.6 MB, free: 26.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008452/0.3735, allocations: 0.8862 MB / 445.5 MB, free: 26.37 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3735, allocations: 0 / 445.5 MB, free: 26.37 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.3735, allocations: 0 / 445.5 MB, free: 26.37 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.846e-06/0.3735, allocations: 3.094 kB / 445.5 MB, free: 26.37 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.002365/0.3759, allocations: 1.103 MB / 446.6 MB, free: 25.62 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/0.3759, allocations: 9.5 kB / 446.6 MB, free: 25.62 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003471/0.3763, allocations: 105.7 kB / 446.7 MB, free: 25.57 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007231/0.377, allocations: 0.5112 MB / 447.2 MB, free: 25.2 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.423e-05/0.3771, allocations: 39.06 kB / 447.3 MB, free: 25.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.717e-05/0.3771, allocations: 50.62 kB / 447.3 MB, free: 25.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000627/0.3778, allocations: 0.5199 MB / 447.8 MB, free: 24.81 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.595e-05/0.3778, allocations: 10.97 kB / 447.9 MB, free: 24.8 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.761e-05/0.3778, allocations: 18 kB / 447.9 MB, free: 24.79 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.125e-05/0.3779, allocations: 16.19 kB / 447.9 MB, free: 24.79 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005253/0.3784, allocations: 373.1 kB / 448.3 MB, free: 24.66 MB / 350.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.002408/0.3808, allocations: 3.671 MB / 451.9 MB, free: 21.29 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005805/0.3814, allocations: 0.6346 MB / 452.6 MB, free: 20.76 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001965/0.3816, allocations: 147.5 kB / 452.7 MB, free: 20.7 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.525e-05/0.3817, allocations: 12.16 kB / 452.7 MB, free: 20.69 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.947e-05/0.3817, allocations: 34.09 kB / 452.7 MB, free: 20.65 MB / 350.1 MB Notification: Performance of pre-optimization done (n=41): time 1.894e-06/0.3817, allocations: 0 / 452.7 MB, free: 20.65 MB / 350.1 MB Notification: Performance of matching and sorting (n=41): time 0.002098/0.3838, allocations: 0.8253 MB / 453.6 MB, free: 20.28 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.45e-05/0.3838, allocations: 58.81 kB / 453.6 MB, free: 20.21 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004782/0.3843, allocations: 0.493 MB / 454.1 MB, free: 19.98 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.581e-05/0.3844, allocations: 36.86 kB / 454.2 MB, free: 19.94 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001544/0.3845, allocations: 302.1 kB / 454.5 MB, free: 19.7 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.845e-05/0.3846, allocations: 149.7 kB / 454.6 MB, free: 19.58 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001562/0.3848, allocations: 140.8 kB / 454.7 MB, free: 19.51 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.506e-05/0.3849, allocations: 365 kB / 455.1 MB, free: 19.17 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002458/0.3851, allocations: 160.4 kB / 455.3 MB, free: 19.11 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000323/0.3855, allocations: 388.3 kB / 455.6 MB, free: 18.78 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005857/0.3861, allocations: 0.5531 MB / 456.2 MB, free: 18.33 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.3861, allocations: 3.375 kB / 456.2 MB, free: 18.33 MB / 350.1 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001556/0.3876, allocations: 0.7897 MB / 457 MB, free: 17.99 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.696e-05/0.3877, allocations: 6.812 kB / 457 MB, free: 17.99 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.396e-05/0.3877, allocations: 6.156 kB / 457 MB, free: 17.99 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002144/0.3899, allocations: 383.7 kB / 457.4 MB, free: 17.94 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000443/0.3903, allocations: 138.2 kB / 457.5 MB, free: 17.92 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004034/0.3944, allocations: 4.756 MB / 462.3 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000694/0.3951, allocations: 85.56 kB / 462.3 MB, free: 13.51 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.622e-05/0.3952, allocations: 32.08 kB / 462.4 MB, free: 13.51 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 2 (bus.isSlackBusPF,GEN.isSlackBus) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 1 system {(9,0)} Notification: Performance of prepare postOptimizeDAE: time 0.0002978/0.3955, allocations: 195.7 kB / 462.6 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001039/0.3956, allocations: 60.31 kB / 462.6 MB, free: 13.3 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009678/0.3966, allocations: 0.5037 MB / 463.1 MB, free: 13.07 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.004e-06/0.3966, allocations: 3.375 kB / 463.1 MB, free: 13.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.3966, allocations: 3 kB / 463.1 MB, free: 13.07 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001704/0.3968, allocations: 160.3 kB / 463.3 MB, free: 12.92 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.92e-05/0.3968, allocations: 18.03 kB / 463.3 MB, free: 12.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003125/0.3972, allocations: 24.34 kB / 463.3 MB, free: 12.9 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.175e-05/0.3972, allocations: 39.06 kB / 463.4 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00103/0.3983, allocations: 0.5319 MB / 463.9 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007051/0.399, allocations: 0.6748 MB / 464.6 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001969/0.3992, allocations: 137.6 kB / 464.7 MB, free: 12.16 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003076/0.3995, allocations: 336.5 kB / 465 MB, free: 12 MB / 350.1 MB Notification: Performance of Backend: time 7.82e-07/0.3995, allocations: 0 / 465 MB, free: 12 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001906/0.4014, allocations: 0.9645 MB / 466 MB, free: 11.39 MB / 350.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.001762/0.4032, allocations: 1.827 MB / 467.8 MB, free: 10.04 MB / 350.1 MB Notification: Performance of Templates: time 0.01692/0.4201, allocations: 8.113 MB / 475.9 MB, free: 9.336 MB / 350.1 MB make -j1 -f PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator.makefile (rm -f PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator.pipe ; mkfifo PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator.pipe >> ../files/PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator.sim & ./PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator.pipe 2>&1)