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.001411/0.001411, 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.001682/0.001682, allocations: 196.8 kB / 16.54 MB, free: 6.672 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.363/1.363, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1784/0.1784, allocations: 16.78 MB / 307.2 MB, free: 14.79 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001951/0.001951, allocations: 63.89 kB / 371.8 MB, free: 3.539 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2864/0.2884, allocations: 53.55 MB / 425.3 MB, free: 39.49 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator): time 0.008665/0.2971, allocations: 10.76 MB / 436.1 MB, free: 32.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005678/0.3028, allocations: 3.76 MB / 439.8 MB, free: 30.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001146/0.304, allocations: 22.72 kB / 439.9 MB, free: 30.06 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001075/0.3052, allocations: 323.1 kB / 440.2 MB, free: 29.88 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002361/0.3075, allocations: 1.162 MB / 441.3 MB, free: 29.14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000665/0.3082, allocations: 271.1 kB / 441.6 MB, free: 29 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001131/0.3093, allocations: 1.169 MB / 442.8 MB, free: 28.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000363/0.3097, allocations: 203.6 kB / 443 MB, free: 28.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004224/0.3101, allocations: 413 kB / 443.4 MB, free: 28.12 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000411/0.3106, allocations: 431 kB / 443.8 MB, free: 27.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.62e-05/0.3107, allocations: 46.69 kB / 443.9 MB, free: 27.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005714/0.3112, allocations: 258.1 kB / 444.1 MB, free: 27.85 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.902e-05/0.3113, allocations: 121.5 kB / 444.2 MB, free: 27.77 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002801/0.3116, allocations: 377.1 kB / 444.6 MB, free: 27.54 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000877/0.3125, allocations: 0.9406 MB / 445.5 MB, free: 27.15 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.3125, allocations: 7.875 kB / 445.5 MB, free: 27.14 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3125, allocations: 0 / 445.5 MB, free: 27.14 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.799e-05/0.3126, allocations: 0 / 445.5 MB, free: 27.14 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.00255/0.3151, allocations: 1.15 MB / 446.7 MB, free: 26.39 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.3152, allocations: 9.219 kB / 446.7 MB, free: 26.39 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003479/0.3155, allocations: 96.56 kB / 446.8 MB, free: 26.35 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008098/0.3163, allocations: 0.5412 MB / 447.3 MB, free: 25.95 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.095e-05/0.3164, allocations: 36.41 kB / 447.4 MB, free: 25.94 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.506e-05/0.3165, allocations: 51.84 kB / 447.4 MB, free: 25.92 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007202/0.3172, allocations: 0.5151 MB / 447.9 MB, free: 25.56 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.085e-05/0.3172, allocations: 7.219 kB / 447.9 MB, free: 25.56 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.448e-05/0.3173, allocations: 18.69 kB / 448 MB, free: 25.55 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.479e-05/0.3173, allocations: 9.656 kB / 448 MB, free: 25.55 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005895/0.3179, allocations: 380.5 kB / 448.3 MB, free: 25.42 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.003205/0.3211, allocations: 3.884 MB / 452.2 MB, free: 21.98 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005723/0.3217, allocations: 0.6383 MB / 452.9 MB, free: 21.45 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001928/0.3219, allocations: 152.5 kB / 453 MB, free: 21.38 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.696e-05/0.322, allocations: 3.312 kB / 453 MB, free: 21.38 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.028e-05/0.322, allocations: 37.84 kB / 453.1 MB, free: 21.34 MB / 350.1 MB Notification: Performance of pre-optimization done (n=41): time 2.564e-06/0.322, allocations: 0 / 453.1 MB, free: 21.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=41): time 0.002056/0.3241, allocations: 0.8147 MB / 453.9 MB, free: 20.98 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.912e-05/0.3241, allocations: 58.66 kB / 453.9 MB, free: 20.91 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005604/0.3247, allocations: 0.5374 MB / 454.5 MB, free: 20.66 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.642e-05/0.3247, allocations: 32.83 kB / 454.5 MB, free: 20.62 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001714/0.3249, allocations: 306.8 kB / 454.8 MB, free: 20.37 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001031/0.325, allocations: 153.9 kB / 454.9 MB, free: 20.25 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001801/0.3252, allocations: 142.5 kB / 455.1 MB, free: 20.18 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001136/0.3253, allocations: 364.3 kB / 455.4 MB, free: 19.84 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002406/0.3256, allocations: 158.5 kB / 455.6 MB, free: 19.79 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003646/0.326, allocations: 384.6 kB / 456 MB, free: 19.45 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005682/0.3265, allocations: 0.5621 MB / 456.5 MB, free: 19 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.86e-06/0.3265, allocations: 3.156 kB / 456.5 MB, free: 19 MB / 350.1 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001412/0.328, allocations: 0.7937 MB / 457.3 MB, free: 18.65 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.328, allocations: 6.562 kB / 457.3 MB, free: 18.65 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/0.328, allocations: 6.406 kB / 457.3 MB, free: 18.65 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002109/0.3301, allocations: 391.5 kB / 457.7 MB, free: 18.6 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004182/0.3306, allocations: 138.2 kB / 457.9 MB, free: 18.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004585/0.3352, allocations: 5.217 MB / 463.1 MB, free: 13.85 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008253/0.336, allocations: 67.69 kB / 463.1 MB, free: 13.81 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.23e-05/0.3361, allocations: 33.47 kB / 463.2 MB, free: 13.81 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.0002752/0.3363, allocations: 203.8 kB / 463.4 MB, free: 13.63 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001014/0.3364, allocations: 60.12 kB / 463.4 MB, free: 13.6 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008915/0.3373, allocations: 0.5 MB / 463.9 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.413e-06/0.3374, allocations: 3.984 kB / 463.9 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.3374, allocations: 0 / 463.9 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001842/0.3376, allocations: 182.6 kB / 464.1 MB, free: 13.2 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.139e-05/0.3377, allocations: 11.62 kB / 464.1 MB, free: 13.19 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000363/0.338, allocations: 16.48 kB / 464.1 MB, free: 13.19 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.183e-05/0.3381, allocations: 35.55 kB / 464.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009881/0.3391, allocations: 0.534 MB / 464.7 MB, free: 12.91 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006781/0.3398, allocations: 0.6758 MB / 465.4 MB, free: 12.51 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001919/0.34, allocations: 136.6 kB / 465.5 MB, free: 12.46 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004305/0.3404, allocations: 369.1 kB / 465.9 MB, free: 12.28 MB / 350.1 MB Notification: Performance of Backend: time 6.91e-07/0.3405, allocations: 4 kB / 465.9 MB, free: 12.28 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002557/0.343, allocations: 1.008 MB / 466.9 MB, free: 11.66 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.001923/0.345, allocations: 1.66 MB / 468.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of Templates: time 0.02028/0.3653, allocations: 9.754 MB / 478.3 MB, free: 9.586 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)