Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) Using package PowerGrids with version 1.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Ignoring simflag -noemit -outputFormat=mat since it seems broken on HelloWorld Running command: translateModel(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow") translateModel(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001244/0.001244, allocations: 108.4 kB / 16.28 MB, free: 5.988 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.001212/0.001212, allocations: 192.5 kB / 17.2 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.476/1.476, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.05978/0.05978, allocations: 14.17 MB / 284.6 MB, free: 13.95 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002362/0.002362, allocations: 67.91 kB / 348.5 MB, free: 13.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2775/0.2798, allocations: 50.13 MB / 398.7 MB, free: 48.8 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow): time 0.0128/0.2927, allocations: 18.63 MB / 417.3 MB, free: 32.69 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01088/0.3036, allocations: 7.616 MB / 424.9 MB, free: 25.05 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003355/0.307, allocations: 47.88 kB / 425 MB, free: 25 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002967/0.31, allocations: 1.006 MB / 426 MB, free: 23.99 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008919/0.319, allocations: 3.246 MB / 429.2 MB, free: 20.77 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002695/0.3217, allocations: 0.7778 MB / 430 MB, free: 20 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.009242/0.3309, allocations: 5.692 MB / 435.7 MB, free: 14.29 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001246/0.3322, allocations: 374.4 kB / 436.1 MB, free: 13.91 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003869/0.3361, allocations: 1.895 MB / 437.9 MB, free: 12.01 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004098/0.3402, allocations: 2.008 MB / 440 MB, free: 9.992 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001054/0.3413, allocations: 204 kB / 440.2 MB, free: 9.793 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003308/0.3446, allocations: 0.7262 MB / 440.9 MB, free: 9.066 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009845/0.3457, allocations: 0.4976 MB / 441.4 MB, free: 8.566 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004149/0.3498, allocations: 1.672 MB / 443 MB, free: 6.887 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008324/0.3582, allocations: 3.964 MB / 447 MB, free: 2.91 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.3582, allocations: 4 kB / 447 MB, free: 2.906 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3582, allocations: 0 / 447 MB, free: 2.906 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001513/0.3584, allocations: 4 kB / 447 MB, free: 2.902 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 560 * Number of variables: 560 Notification: Performance of Generate backend data structure: time 0.01666/0.3751, allocations: 4.512 MB / 451.5 MB, free: 14.32 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.923e-05/0.3751, allocations: 12.03 kB / 451.5 MB, free: 14.3 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002458/0.3776, allocations: 453.1 kB / 452 MB, free: 13.86 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003562/0.3812, allocations: 1.748 MB / 453.7 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001237/0.3813, allocations: 164.8 kB / 453.9 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002632/0.3816, allocations: 211.9 kB / 454.1 MB, free: 11.68 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003475/0.3851, allocations: 2.149 MB / 456.3 MB, free: 9.426 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.868e-05/0.3851, allocations: 4 kB / 456.3 MB, free: 9.422 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001745/0.3853, allocations: 88 kB / 456.3 MB, free: 9.336 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-05/0.3854, allocations: 56 kB / 456.4 MB, free: 9.281 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003429/0.3888, allocations: 2.168 MB / 458.6 MB, free: 7.098 MB / 334.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.02134/0.4102, allocations: 15.25 MB / 473.8 MB, free: 6.133 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004748/0.4149, allocations: 3.129 MB / 476.9 MB, free: 2.801 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001193/0.4162, allocations: 0.791 MB / 477.7 MB, free: 2.008 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000105/0.4163, allocations: 29.98 kB / 477.8 MB, free: 1.977 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.831e-05/0.4163, allocations: 52.56 kB / 477.8 MB, free: 1.918 MB / 350.1 MB Notification: Performance of pre-optimization done (n=217): time 4.198e-06/0.4163, allocations: 0 / 477.8 MB, free: 1.918 MB / 350.1 MB Notification: Performance of matching and sorting (n=217): time 0.008978/0.4253, allocations: 3.457 MB / 481.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.825e-05/0.4254, allocations: 73.41 kB / 481.3 MB, free: 14.3 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0034/0.4288, allocations: 1.689 MB / 483 MB, free: 12.57 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003577/0.4292, allocations: 61.7 kB / 483.1 MB, free: 12.5 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009529/0.4302, allocations: 1.054 MB / 484.2 MB, free: 11.43 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001041/0.4312, allocations: 0.7508 MB / 484.9 MB, free: 10.67 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006357/0.4319, allocations: 436.8 kB / 485.3 MB, free: 10.24 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001086/0.432, allocations: 309 kB / 485.6 MB, free: 9.934 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001087/0.4331, allocations: 0.6571 MB / 486.3 MB, free: 9.273 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001552/0.4347, allocations: 1.218 MB / 487.5 MB, free: 7.824 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002807/0.4375, allocations: 2.021 MB / 489.5 MB, free: 5.551 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.048e-05/0.4375, allocations: 4 kB / 489.5 MB, free: 5.547 MB / 366.1 MB Notification: Performance of matching and sorting (n=326) (initialization): time 0.005401/0.4429, allocations: 2.685 MB / 492.2 MB, free: 2.801 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.501e-05/0.443, allocations: 15.98 kB / 492.2 MB, free: 2.785 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.968e-05/0.443, allocations: 16 kB / 492.2 MB, free: 2.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001757/0.4448, allocations: 0.5334 MB / 492.8 MB, free: 2.227 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00226/0.4471, allocations: 0.5812 MB / 493.4 MB, free: 1.645 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009816/0.4569, allocations: 7.709 MB / 0.4893 GB, free: 9.539 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003238/0.4601, allocations: 186.6 kB / 0.4895 GB, free: 9.355 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002205/0.4604, allocations: 96 kB / 0.4896 GB, free: 9.262 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (285): * Single equations (assignments): 282 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(4,26), (2,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0009238/0.4613, allocations: 489 kB / 0.4901 GB, free: 8.773 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005274/0.4619, allocations: 245.2 kB / 0.4903 GB, free: 8.531 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003997/0.4659, allocations: 2.14 MB / 0.4924 GB, free: 6.367 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.802e-05/0.4659, allocations: 20 kB / 0.4924 GB, free: 6.348 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.4659, allocations: 96 / 0.4924 GB, free: 6.348 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.794e-05/0.4659, allocations: 15.91 kB / 0.4924 GB, free: 6.332 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007925/0.4739, allocations: 5.267 MB / 0.4976 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.093e-05/0.4739, allocations: 4 kB / 0.4976 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001558/0.4755, allocations: 396.1 kB / 0.4979 GB, free: 460 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001637/0.4771, allocations: 0.5061 MB / 0.4984 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.03e-05/0.4772, allocations: 40 kB / 0.4985 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009206/0.4864, allocations: 7.569 MB / 0.5059 GB, free: 7.91 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.4865, allocations: 4 kB / 0.5059 GB, free: 7.906 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007243/0.4937, allocations: 4.185 MB / 0.51 GB, free: 3.59 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001335/0.4951, allocations: 0.5135 MB / 0.5105 GB, free: 3.055 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003196/0.4954, allocations: 43.94 kB / 0.5105 GB, free: 3.012 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00153/0.497, allocations: 55.83 kB / 0.5106 GB, free: 2.957 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003462/0.4973, allocations: 149.7 kB / 0.5107 GB, free: 2.812 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.031e-05/0.4974, allocations: 59.98 kB / 0.5108 GB, free: 2.754 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001714/0.4991, allocations: 1.105 MB / 0.5118 GB, free: 1.625 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4992, allocations: 0 / 0.5118 GB, free: 1.625 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003079/0.5022, allocations: 0.89 MB / 0.5127 GB, free: 0.7344 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (176): * Single equations (assignments): 173 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,10), (4,26)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000522/0.5028, allocations: 296.5 kB / 0.513 GB, free: 444 kB / 398.1 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of simCode: created initialization part: time 0.00619/0.509, allocations: 2.451 MB / 0.5154 GB, free: 13.94 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.449e-06/0.509, allocations: 0 / 0.5154 GB, free: 13.94 MB / 414.1 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of simCode: created simulation system equations: time 0.00209/0.5111, allocations: 1.403 MB / 0.5167 GB, free: 12.5 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002054/0.5132, allocations: 328.1 kB / 0.5171 GB, free: 12.18 MB / 414.1 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007104/0.5203, allocations: 4.732 MB / 0.5217 GB, free: 7.359 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001055/0.5214, allocations: 1.546 MB / 0.5232 GB, free: 5.773 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001663/0.523, allocations: 300.9 kB / 0.5235 GB, free: 5.477 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005264/0.5236, allocations: 163.4 kB / 0.5236 GB, free: 5.316 MB / 414.1 MB Notification: Performance of SimCode: time 1.904e-06/0.5236, allocations: 0 / 0.5236 GB, free: 5.316 MB / 414.1 MB Notification: Performance of Templates: time 0.2027/0.7262, allocations: 30.37 MB / 0.5533 GB, free: 110.2 MB / 414.1 MB make -j1 -f PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.makefile (rm -f PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.sim & ./PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.pipe 2>&1)