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.00107/0.00107, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001172/0.001172, allocations: 194.7 kB / 16.14 MB, free: 6.668 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.384/1.384, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1905/0.1905, allocations: 16.78 MB / 306.7 MB, free: 14.96 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001984/0.001984, allocations: 59.91 kB / 371.1 MB, free: 4.055 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2825/0.2845, allocations: 53.54 MB / 424.7 MB, free: 39.02 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator): time 0.007843/0.2924, allocations: 11.83 MB / 436.5 MB, free: 31.72 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00467/0.2971, allocations: 3.776 MB / 440.3 MB, free: 29 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007633/0.2979, allocations: 24.66 kB / 440.3 MB, free: 29 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008887/0.2989, allocations: 276.3 kB / 440.6 MB, free: 28.86 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002095/0.301, allocations: 1.11 MB / 441.7 MB, free: 28.14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006138/0.3016, allocations: 256.3 kB / 441.9 MB, free: 28 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001198/0.3028, allocations: 1.166 MB / 443.1 MB, free: 27.46 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003517/0.3032, allocations: 202.2 kB / 443.3 MB, free: 27.37 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003213/0.3035, allocations: 331.2 kB / 443.6 MB, free: 27.22 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000307/0.3038, allocations: 359.8 kB / 444 MB, free: 27.06 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.054e-05/0.3039, allocations: 23.19 kB / 444 MB, free: 27.06 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004509/0.3043, allocations: 212.9 kB / 444.2 MB, free: 27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.902e-05/0.3044, allocations: 96.03 kB / 444.3 MB, free: 26.93 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002275/0.3046, allocations: 332.2 kB / 444.6 MB, free: 26.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006622/0.3053, allocations: 0.8941 MB / 445.5 MB, free: 26.37 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.3053, allocations: 0 / 445.5 MB, free: 26.37 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.02e-07/0.3053, allocations: 0 / 445.5 MB, free: 26.37 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.3053, allocations: 0 / 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.002134/0.3075, allocations: 1.105 MB / 446.6 MB, free: 25.62 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.3075, allocations: 10.03 kB / 446.6 MB, free: 25.62 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003303/0.3079, allocations: 101.4 kB / 446.7 MB, free: 25.58 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006277/0.3085, allocations: 0.5178 MB / 447.2 MB, free: 25.2 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.323e-05/0.3085, allocations: 32.97 kB / 447.3 MB, free: 25.19 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.222e-05/0.3086, allocations: 48.59 kB / 447.3 MB, free: 25.17 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005855/0.3092, allocations: 0.5226 MB / 447.8 MB, free: 24.82 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.3092, allocations: 3.938 kB / 447.8 MB, free: 24.81 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.711e-05/0.3093, allocations: 22.56 kB / 447.9 MB, free: 24.8 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.3093, allocations: 9.906 kB / 447.9 MB, free: 24.8 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004991/0.3098, allocations: 372.4 kB / 448.2 MB, free: 24.67 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.002102/0.3119, allocations: 3.682 MB / 451.9 MB, free: 21.28 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005217/0.3124, allocations: 0.6321 MB / 452.6 MB, free: 20.76 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001961/0.3126, allocations: 146.2 kB / 452.7 MB, free: 20.7 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.425e-05/0.3127, allocations: 6.531 kB / 452.7 MB, free: 20.7 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.548e-05/0.3127, allocations: 38.56 kB / 452.7 MB, free: 20.65 MB / 350.1 MB Notification: Performance of pre-optimization done (n=41): time 2.084e-06/0.3127, allocations: 4 kB / 452.7 MB, free: 20.65 MB / 350.1 MB Notification: Performance of matching and sorting (n=41): time 0.002023/0.3147, allocations: 0.819 MB / 453.6 MB, free: 20.29 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.785e-05/0.3148, allocations: 54.56 kB / 453.6 MB, free: 20.22 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004054/0.3152, allocations: 0.4975 MB / 454.1 MB, free: 19.99 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.881e-05/0.3152, allocations: 37.02 kB / 454.2 MB, free: 19.95 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001318/0.3153, allocations: 299.7 kB / 454.4 MB, free: 19.71 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.659e-05/0.3154, allocations: 152.7 kB / 454.6 MB, free: 19.59 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001381/0.3156, allocations: 142.3 kB / 454.7 MB, free: 19.51 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.685e-05/0.3156, allocations: 371.7 kB / 455.1 MB, free: 19.17 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002359/0.3159, allocations: 158.5 kB / 455.2 MB, free: 19.11 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003094/0.3162, allocations: 379.5 kB / 455.6 MB, free: 18.79 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005723/0.3168, allocations: 0.5625 MB / 456.2 MB, free: 18.34 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.3168, allocations: 7.25 kB / 456.2 MB, free: 18.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001351/0.3182, allocations: 0.7765 MB / 457 MB, free: 18 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.3182, allocations: 7.625 kB / 457 MB, free: 18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.3182, allocations: 6.75 kB / 457 MB, free: 18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00199/0.3202, allocations: 386.3 kB / 457.4 MB, free: 17.95 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004151/0.3206, allocations: 134.4 kB / 457.5 MB, free: 17.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003775/0.3244, allocations: 4.767 MB / 462.3 MB, free: 13.56 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005422/0.325, allocations: 79.17 kB / 462.3 MB, free: 13.51 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.137e-05/0.325, allocations: 35.72 kB / 462.4 MB, free: 13.5 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.0002168/0.3252, allocations: 201 kB / 462.6 MB, free: 13.33 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.651e-05/0.3253, allocations: 59.59 kB / 462.6 MB, free: 13.3 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008905/0.3262, allocations: 0.5043 MB / 463.1 MB, free: 13.07 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.3262, allocations: 3.328 kB / 463.1 MB, free: 13.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.3263, allocations: 0 / 463.1 MB, free: 13.07 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001456/0.3264, allocations: 161.7 kB / 463.3 MB, free: 12.92 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.638e-05/0.3265, allocations: 14.53 kB / 463.3 MB, free: 12.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003185/0.3268, allocations: 16.8 kB / 463.3 MB, free: 12.91 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.749e-05/0.3269, allocations: 39.41 kB / 463.4 MB, free: 12.9 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001003/0.3279, allocations: 0.5389 MB / 463.9 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006688/0.3286, allocations: 0.668 MB / 464.6 MB, free: 12.22 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001852/0.3288, allocations: 131.9 kB / 464.7 MB, free: 12.17 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002707/0.329, allocations: 343.9 kB / 465 MB, free: 12.01 MB / 350.1 MB Notification: Performance of Backend: time 7.71e-07/0.329, allocations: 480 / 465 MB, free: 12.01 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001621/0.3307, allocations: 0.9699 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.001477/0.3322, allocations: 1.83 MB / 467.8 MB, free: 10.04 MB / 350.1 MB Notification: Performance of Templates: time 0.0144/0.3466, allocations: 8.107 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=50 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator.pipe 2>&1)