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.001639/0.001639, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001392/0.001392, allocations: 193.1 kB / 16.25 MB, free: 6.629 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.299/1.299, allocations: 222.9 MB / 239.9 MB, free: 4.488 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1975/0.1975, allocations: 16.78 MB / 306.9 MB, free: 14.84 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.001301, allocations: 63.89 kB / 371.3 MB, free: 3.891 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2653/0.2666, allocations: 53.54 MB / 424.8 MB, free: 38.91 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator): time 0.008249/0.2749, allocations: 11.83 MB / 436.7 MB, free: 31.54 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004948/0.2799, allocations: 3.762 MB / 440.4 MB, free: 28.84 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008167/0.2807, allocations: 30.03 kB / 440.5 MB, free: 28.82 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008725/0.2817, allocations: 265.9 kB / 440.7 MB, free: 28.7 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001969/0.2836, allocations: 1.082 MB / 441.8 MB, free: 28 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005777/0.2842, allocations: 250.8 kB / 442 MB, free: 27.87 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001051/0.2853, allocations: 1.229 MB / 443.3 MB, free: 27.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003682/0.2857, allocations: 238.7 kB / 443.5 MB, free: 27.15 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003254/0.286, allocations: 370.2 kB / 443.9 MB, free: 26.97 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003151/0.2863, allocations: 394.1 kB / 444.3 MB, free: 26.78 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.504e-05/0.2864, allocations: 38.81 kB / 444.3 MB, free: 26.78 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004609/0.2869, allocations: 248 kB / 444.5 MB, free: 26.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.213e-05/0.2869, allocations: 105.5 kB / 444.6 MB, free: 26.64 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00022/0.2872, allocations: 361.1 kB / 445 MB, free: 26.42 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007249/0.2879, allocations: 0.8948 MB / 445.9 MB, free: 26.05 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.2879, allocations: 0 / 445.9 MB, free: 26.05 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.2879, allocations: 3.406 kB / 445.9 MB, free: 26.05 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.478e-06/0.2879, allocations: 0 / 445.9 MB, free: 26.05 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.002112/0.29, allocations: 1.116 MB / 447 MB, free: 25.29 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.2901, allocations: 9.5 kB / 447 MB, free: 25.29 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003254/0.2904, allocations: 98.56 kB / 447.1 MB, free: 25.25 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006047/0.291, allocations: 0.5169 MB / 447.6 MB, free: 24.88 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.31e-05/0.2911, allocations: 36.91 kB / 447.7 MB, free: 24.86 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.72e-05/0.2911, allocations: 44.78 kB / 447.7 MB, free: 24.85 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005822/0.2917, allocations: 0.5236 MB / 448.2 MB, free: 24.49 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/0.2917, allocations: 3.938 kB / 448.2 MB, free: 24.49 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.71e-05/0.2918, allocations: 21.84 kB / 448.3 MB, free: 24.47 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.698e-06/0.2918, allocations: 11.34 kB / 448.3 MB, free: 24.47 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004963/0.2923, allocations: 378.3 kB / 448.6 MB, free: 24.34 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.002138/0.2944, allocations: 3.666 MB / 452.3 MB, free: 20.96 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000537/0.295, allocations: 0.6432 MB / 452.9 MB, free: 20.43 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001901/0.2952, allocations: 147.3 kB / 453.1 MB, free: 20.37 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.101e-05/0.2952, allocations: 7.578 kB / 453.1 MB, free: 20.37 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.96e-05/0.2953, allocations: 37.81 kB / 453.1 MB, free: 20.32 MB / 350.1 MB Notification: Performance of pre-optimization done (n=41): time 1.944e-06/0.2953, allocations: 0 / 453.1 MB, free: 20.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=41): time 0.002096/0.2974, allocations: 0.8158 MB / 453.9 MB, free: 19.96 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.43e-05/0.2974, allocations: 58.47 kB / 454 MB, free: 19.9 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004295/0.2979, allocations: 0.5042 MB / 454.5 MB, free: 19.66 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.202e-05/0.2979, allocations: 33.11 kB / 454.5 MB, free: 19.62 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001571/0.2981, allocations: 300.6 kB / 454.8 MB, free: 19.38 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.704e-05/0.2982, allocations: 154.5 kB / 455 MB, free: 19.26 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001532/0.2983, allocations: 138.1 kB / 455.1 MB, free: 19.19 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.705e-05/0.2984, allocations: 368.5 kB / 455.5 MB, free: 18.85 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002365/0.2986, allocations: 159.4 kB / 455.6 MB, free: 18.79 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003142/0.299, allocations: 384 kB / 456 MB, free: 18.46 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005693/0.2995, allocations: 0.5557 MB / 456.6 MB, free: 18.01 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.2996, allocations: 3.281 kB / 456.6 MB, free: 18.01 MB / 350.1 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001457/0.301, allocations: 0.7808 MB / 457.3 MB, free: 17.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.3011, allocations: 5.25 kB / 457.4 MB, free: 17.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.868e-06/0.3011, allocations: 8.312 kB / 457.4 MB, free: 17.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002071/0.3031, allocations: 387.3 kB / 457.7 MB, free: 17.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004155/0.3036, allocations: 136.5 kB / 457.9 MB, free: 17.61 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004014/0.3076, allocations: 5.155 MB / 463 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005585/0.3082, allocations: 74.17 kB / 463.1 MB, free: 12.85 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.089e-05/0.3082, allocations: 33.73 kB / 463.1 MB, free: 12.85 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.00022/0.3084, allocations: 205.2 kB / 463.3 MB, free: 12.67 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.197e-05/0.3085, allocations: 59 kB / 463.4 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008777/0.3094, allocations: 0.4938 MB / 463.9 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.3094, allocations: 6.75 kB / 463.9 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.3094, allocations: 0 / 463.9 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001442/0.3096, allocations: 171.8 kB / 464.1 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.514e-05/0.3097, allocations: 7.188 kB / 464.1 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003075/0.31, allocations: 20.48 kB / 464.1 MB, free: 12.24 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.928e-05/0.3101, allocations: 36.25 kB / 464.1 MB, free: 12.24 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009863/0.311, allocations: 0.538 MB / 464.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006473/0.3117, allocations: 0.6743 MB / 465.3 MB, free: 11.56 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001776/0.3119, allocations: 138.4 kB / 465.5 MB, free: 11.5 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002651/0.3122, allocations: 336 kB / 465.8 MB, free: 11.35 MB / 350.1 MB Notification: Performance of Backend: time 4.91e-07/0.3122, allocations: 4 kB / 465.8 MB, free: 11.34 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001646/0.3138, allocations: 0.9838 MB / 466.8 MB, free: 10.72 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.001479/0.3153, allocations: 1.817 MB / 468.6 MB, free: 9.383 MB / 350.1 MB Notification: Performance of Templates: time 0.09787/0.4132, allocations: 8.569 MB / 477.2 MB, free: 8.664 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=50 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator.pipe 2>&1)