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.001793/0.001793, allocations: 103.4 kB / 15.34 MB, free: 0.5039 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.00227/0.00227, allocations: 194 kB / 16.25 MB, free: 6.633 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.5/1.5, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.2/0.2, allocations: 16.69 MB / 306.8 MB, free: 15.01 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002052/0.002052, allocations: 67.89 kB / 371.2 MB, free: 4.016 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3018/0.3039, allocations: 53.54 MB / 424.7 MB, free: 39.08 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator): time 0.008777/0.3127, allocations: 11.83 MB / 436.6 MB, free: 31.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005609/0.3184, allocations: 3.763 MB / 440.3 MB, free: 29.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001066/0.3195, allocations: 28.72 kB / 440.3 MB, free: 29.06 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009573/0.3205, allocations: 270.1 kB / 440.6 MB, free: 28.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00209/0.3226, allocations: 1.082 MB / 441.7 MB, free: 28.24 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006296/0.3232, allocations: 247.2 kB / 441.9 MB, free: 28.1 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001133/0.3244, allocations: 1.231 MB / 443.2 MB, free: 27.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003846/0.3248, allocations: 232.6 kB / 443.4 MB, free: 27.4 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003175/0.3251, allocations: 379.2 kB / 443.8 MB, free: 27.21 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003129/0.3254, allocations: 388.8 kB / 444.1 MB, free: 27.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.542e-05/0.3255, allocations: 36.47 kB / 444.2 MB, free: 27.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004733/0.3259, allocations: 247.7 kB / 444.4 MB, free: 26.96 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.616e-05/0.326, allocations: 109.8 kB / 444.5 MB, free: 26.88 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000217/0.3262, allocations: 358.5 kB / 444.9 MB, free: 26.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007511/0.327, allocations: 0.8998 MB / 445.8 MB, free: 26.29 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.327, allocations: 0 / 445.8 MB, free: 26.29 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.327, allocations: 0 / 445.8 MB, free: 26.29 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.416e-06/0.327, allocations: 4 kB / 445.8 MB, free: 26.29 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.002086/0.3291, allocations: 1.109 MB / 446.9 MB, free: 25.54 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.3292, allocations: 10.56 kB / 446.9 MB, free: 25.54 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003143/0.3295, allocations: 96.25 kB / 447 MB, free: 25.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000645/0.3302, allocations: 0.5173 MB / 447.5 MB, free: 25.12 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.795e-05/0.3302, allocations: 39.94 kB / 447.6 MB, free: 25.1 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.531e-05/0.3303, allocations: 50.53 kB / 447.6 MB, free: 25.09 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006086/0.3309, allocations: 0.5177 MB / 448.1 MB, free: 24.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/0.3309, allocations: 3.938 kB / 448.1 MB, free: 24.73 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.731e-05/0.3309, allocations: 22.12 kB / 448.1 MB, free: 24.71 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.056e-05/0.331, allocations: 16.34 kB / 448.2 MB, free: 24.71 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004978/0.3315, allocations: 374.1 kB / 448.5 MB, free: 24.58 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.002267/0.3337, allocations: 3.667 MB / 452.2 MB, free: 21.21 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005803/0.3343, allocations: 0.6383 MB / 452.8 MB, free: 20.68 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001945/0.3345, allocations: 145.7 kB / 453 MB, free: 20.61 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.434e-05/0.3346, allocations: 10.02 kB / 453 MB, free: 20.61 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.111e-05/0.3346, allocations: 37.72 kB / 453 MB, free: 20.57 MB / 350.1 MB Notification: Performance of pre-optimization done (n=41): time 1.733e-06/0.3346, allocations: 0 / 453 MB, free: 20.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=41): time 0.002183/0.3368, allocations: 0.8225 MB / 453.8 MB, free: 20.2 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.916e-05/0.3369, allocations: 62.62 kB / 453.9 MB, free: 20.13 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004879/0.3374, allocations: 0.495 MB / 454.4 MB, free: 19.9 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.866e-05/0.3374, allocations: 36.98 kB / 454.4 MB, free: 19.86 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001583/0.3376, allocations: 299.6 kB / 454.7 MB, free: 19.62 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001011/0.3377, allocations: 150.3 kB / 454.9 MB, free: 19.5 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001619/0.3378, allocations: 141.6 kB / 455 MB, free: 19.43 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.56e-05/0.338, allocations: 367.7 kB / 455.4 MB, free: 19.09 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002398/0.3382, allocations: 162.3 kB / 455.5 MB, free: 19.03 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003279/0.3385, allocations: 379.7 kB / 455.9 MB, free: 18.7 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005828/0.3391, allocations: 0.5584 MB / 456.5 MB, free: 18.25 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.3391, allocations: 0 / 456.5 MB, free: 18.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001504/0.3406, allocations: 0.781 MB / 457.2 MB, free: 17.92 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/0.3407, allocations: 6.188 kB / 457.2 MB, free: 17.92 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.305e-05/0.3407, allocations: 9.469 kB / 457.3 MB, free: 17.92 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002089/0.3428, allocations: 386.1 kB / 457.6 MB, free: 17.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004217/0.3432, allocations: 140.3 kB / 457.8 MB, free: 17.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004222/0.3475, allocations: 5.148 MB / 462.9 MB, free: 13.14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006632/0.3481, allocations: 74.05 kB / 463 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.101e-05/0.3482, allocations: 34.22 kB / 463 MB, free: 13.09 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.0002512/0.3485, allocations: 205.3 kB / 463.2 MB, free: 12.91 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.856e-05/0.3486, allocations: 60.12 kB / 463.3 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008675/0.3494, allocations: 0.4967 MB / 463.8 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.3494, allocations: 3.234 kB / 463.8 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.3495, allocations: 2.938 kB / 463.8 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001577/0.3496, allocations: 163.6 kB / 463.9 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.37e-05/0.3497, allocations: 11.03 kB / 464 MB, free: 12.49 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003135/0.35, allocations: 16.33 kB / 464 MB, free: 12.49 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.306e-05/0.3501, allocations: 43.23 kB / 464 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009708/0.3511, allocations: 0.5363 MB / 464.6 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006552/0.3517, allocations: 0.6747 MB / 465.2 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001845/0.3519, allocations: 134 kB / 465.4 MB, free: 11.75 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002932/0.3522, allocations: 343.3 kB / 465.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of Backend: time 7.32e-07/0.3522, allocations: 0 / 465.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001854/0.3541, allocations: 0.99 MB / 466.7 MB, free: 10.96 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.001553/0.3557, allocations: 1.819 MB / 468.5 MB, free: 9.617 MB / 350.1 MB Notification: Performance of Templates: time 0.0169/0.3726, allocations: 8.559 MB / 477.1 MB, free: 8.91 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)