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.001578/0.001578, allocations: 107.4 kB / 15.34 MB, free: 0.5195 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.001397/0.001397, allocations: 195.6 kB / 16.26 MB, free: 6.625 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.564/1.564, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.2366/0.2366, allocations: 16.79 MB / 306.9 MB, free: 14.88 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 63.91 kB / 371.3 MB, free: 3.898 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4589/0.4603, allocations: 53.55 MB / 424.8 MB, free: 38.88 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator): time 0.01103/0.4714, allocations: 11.83 MB / 436.7 MB, free: 31.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007298/0.4787, allocations: 3.769 MB / 440.4 MB, free: 28.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001448/0.4802, allocations: 28.97 kB / 440.5 MB, free: 28.8 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001253/0.4816, allocations: 268 kB / 440.7 MB, free: 28.68 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00264/0.4842, allocations: 1.081 MB / 441.8 MB, free: 27.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008032/0.485, allocations: 251.1 kB / 442.1 MB, free: 27.85 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001456/0.4865, allocations: 1.226 MB / 443.3 MB, free: 27.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004975/0.487, allocations: 233.7 kB / 443.5 MB, free: 27.14 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003989/0.4874, allocations: 376.4 kB / 443.9 MB, free: 26.95 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003988/0.4878, allocations: 387.6 kB / 444.3 MB, free: 26.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.719e-05/0.4879, allocations: 44.27 kB / 444.3 MB, free: 26.76 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005863/0.4885, allocations: 245.5 kB / 444.5 MB, free: 26.7 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.827e-05/0.4886, allocations: 104.8 kB / 444.6 MB, free: 26.62 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003083/0.4889, allocations: 366.6 kB / 445 MB, free: 26.4 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009571/0.4899, allocations: 0.9022 MB / 445.9 MB, free: 26.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.4899, allocations: 0 / 445.9 MB, free: 26.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.006e-06/0.4899, allocations: 0 / 445.9 MB, free: 26.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.829e-05/0.4899, allocations: 0 / 445.9 MB, free: 26.02 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.002375/0.4923, allocations: 1.109 MB / 447 MB, free: 25.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.343e-05/0.4924, allocations: 9.75 kB / 447 MB, free: 25.27 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000329/0.4927, allocations: 94.91 kB / 447.1 MB, free: 25.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007587/0.4935, allocations: 0.517 MB / 447.6 MB, free: 24.86 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.492e-05/0.4935, allocations: 36.88 kB / 447.7 MB, free: 24.84 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.399e-05/0.4936, allocations: 46.97 kB / 447.7 MB, free: 24.82 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007518/0.4944, allocations: 0.5201 MB / 448.2 MB, free: 24.47 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.441e-05/0.4944, allocations: 10.33 kB / 448.2 MB, free: 24.46 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.531e-05/0.4945, allocations: 17.91 kB / 448.3 MB, free: 24.45 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.682e-05/0.4945, allocations: 11.72 kB / 448.3 MB, free: 24.45 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005749/0.4951, allocations: 369.1 kB / 448.6 MB, free: 24.32 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.002996/0.4981, allocations: 3.676 MB / 452.3 MB, free: 20.95 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006627/0.4987, allocations: 0.6372 MB / 452.9 MB, free: 20.42 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002212/0.499, allocations: 142.8 kB / 453.1 MB, free: 20.36 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.61e-05/0.499, allocations: 5.844 kB / 453.1 MB, free: 20.36 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.169e-05/0.4991, allocations: 40.91 kB / 453.1 MB, free: 20.31 MB / 350.1 MB Notification: Performance of pre-optimization done (n=41): time 1.933e-06/0.4991, allocations: 4 kB / 453.1 MB, free: 20.31 MB / 350.1 MB Notification: Performance of matching and sorting (n=41): time 0.002291/0.5014, allocations: 0.8179 MB / 454 MB, free: 19.95 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.287e-05/0.5014, allocations: 58.53 kB / 454 MB, free: 19.88 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005253/0.5019, allocations: 0.4959 MB / 454.5 MB, free: 19.64 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.951e-05/0.502, allocations: 36.8 kB / 454.5 MB, free: 19.61 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000228/0.5022, allocations: 301.7 kB / 454.8 MB, free: 19.36 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001314/0.5024, allocations: 150.2 kB / 455 MB, free: 19.25 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000192/0.5026, allocations: 143 kB / 455.1 MB, free: 19.17 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.5027, allocations: 366.3 kB / 455.5 MB, free: 18.83 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000261/0.503, allocations: 159.6 kB / 455.6 MB, free: 18.77 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000394/0.5034, allocations: 382.3 kB / 456 MB, free: 18.45 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007074/0.5041, allocations: 0.5558 MB / 456.6 MB, free: 18 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.5041, allocations: 192 / 456.6 MB, free: 18 MB / 350.1 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001458/0.5056, allocations: 0.784 MB / 457.3 MB, free: 17.66 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.639e-05/0.5056, allocations: 10.72 kB / 457.4 MB, free: 17.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.527e-05/0.5056, allocations: 6.562 kB / 457.4 MB, free: 17.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002102/0.5078, allocations: 387.2 kB / 457.7 MB, free: 17.61 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000427/0.5082, allocations: 139.3 kB / 457.9 MB, free: 17.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004921/0.5131, allocations: 5.153 MB / 463 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006964/0.5138, allocations: 76.67 kB / 463.1 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.142e-05/0.5139, allocations: 27.5 kB / 463.1 MB, free: 12.83 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.0003432/0.5143, allocations: 210.5 kB / 463.3 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001091/0.5144, allocations: 59 kB / 463.4 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009563/0.5153, allocations: 0.4954 MB / 463.9 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.5153, allocations: 3.328 kB / 463.9 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.5154, allocations: 0 / 463.9 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000169/0.5155, allocations: 167.3 kB / 464.1 MB, free: 12.24 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.231e-05/0.5156, allocations: 15.19 kB / 464.1 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002891/0.5159, allocations: 20.92 kB / 464.1 MB, free: 12.22 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.663e-05/0.516, allocations: 36.53 kB / 464.1 MB, free: 12.22 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001022/0.517, allocations: 0.5343 MB / 464.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000794/0.5178, allocations: 0.6826 MB / 465.3 MB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000227/0.5181, allocations: 130.5 kB / 465.5 MB, free: 11.48 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003921/0.5185, allocations: 337.7 kB / 465.8 MB, free: 11.33 MB / 350.1 MB Notification: Performance of Backend: time 1.453e-06/0.5185, allocations: 0 / 465.8 MB, free: 11.33 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002176/0.5207, allocations: 0.9947 MB / 466.8 MB, free: 10.7 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.002237/0.5229, allocations: 1.813 MB / 468.6 MB, free: 9.359 MB / 350.1 MB Notification: Performance of Templates: time 0.02168/0.5446, allocations: 8.564 MB / 477.2 MB, free: 8.648 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)