Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_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 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.IslandOperation.PowerFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow") translateModel(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_dev_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.006787/0.006787, allocations: 95.3 kB / 15.73 MB, free: 6.484 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.001504/0.001504, allocations: 190.9 kB / 16.67 MB, free: 6.391 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.367/1.367, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1834/0.1834, allocations: 16.78 MB / 307.3 MB, free: 14.73 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 62.78 kB / 426.6 MB, free: 36.85 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1118, allocations: 53.56 MB / 480.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow): time 0.02397/0.1358, allocations: 30.19 MB / 0.4984 GB, free: 14.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01578/0.1516, allocations: 8.672 MB / 0.5068 GB, free: 5.809 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005078/0.1567, allocations: 63.69 kB / 0.5069 GB, free: 5.746 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00482/0.1616, allocations: 1.141 MB / 0.508 GB, free: 4.598 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01444/0.1761, allocations: 3.942 MB / 0.5119 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004743/0.1809, allocations: 1.511 MB / 0.5133 GB, free: 15.2 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01147/0.1924, allocations: 6.965 MB / 0.5201 GB, free: 8.215 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001242/0.1936, allocations: 0.49 MB / 0.5206 GB, free: 7.699 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004215/0.1979, allocations: 2.338 MB / 0.5229 GB, free: 5.352 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00423/0.2021, allocations: 2.552 MB / 0.5254 GB, free: 2.789 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001061/0.2032, allocations: 279.9 kB / 0.5257 GB, free: 2.516 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003066/0.2063, allocations: 0.7849 MB / 0.5264 GB, free: 1.73 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007276/0.207, allocations: 0.7152 MB / 0.5271 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003447/0.2105, allocations: 2.223 MB / 0.5293 GB, free: 14.78 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007658/0.2181, allocations: 5.051 MB / 0.5342 GB, free: 9.707 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.285e-05/0.2182, allocations: 3.984 kB / 0.5342 GB, free: 9.703 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.2182, allocations: 0 / 0.5342 GB, free: 9.703 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001287/0.2183, allocations: 0 / 0.5342 GB, free: 9.703 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 710 * Number of variables: 710 Notification: Performance of Generate backend data structure: time 0.02375/0.2421, allocations: 6.483 MB / 0.5406 GB, free: 3.145 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/0.2422, allocations: 8.031 kB / 0.5406 GB, free: 3.137 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002524/0.2447, allocations: 0.5957 MB / 0.5412 GB, free: 2.539 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005005/0.2497, allocations: 2.362 MB / 0.5435 GB, free: 108 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001605/0.2499, allocations: 214 kB / 0.5437 GB, free: 15.89 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003186/0.2502, allocations: 288.4 kB / 0.5439 GB, free: 15.61 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005017/0.2552, allocations: 3.406 MB / 0.5473 GB, free: 11.71 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.747e-05/0.2553, allocations: 31.69 kB / 0.5473 GB, free: 11.68 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000259/0.2556, allocations: 128 kB / 0.5474 GB, free: 11.56 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.707e-05/0.2557, allocations: 76 kB / 0.5475 GB, free: 11.48 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004422/0.2601, allocations: 2.69 MB / 0.5501 GB, free: 8.777 MB / 430.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.02411/0.2842, allocations: 22.1 MB / 0.5717 GB, free: 1.652 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004336/0.2886, allocations: 2.444 MB / 0.5741 GB, free: 15.22 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001331/0.2899, allocations: 0.9159 MB / 0.575 GB, free: 14.3 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001414/0.2901, allocations: 41.83 kB / 0.575 GB, free: 14.27 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.79e-05/0.2901, allocations: 64.5 kB / 0.5751 GB, free: 14.19 MB / 462.1 MB Notification: Performance of pre-optimization done (n=251): time 4.689e-06/0.2901, allocations: 0 / 0.5751 GB, free: 14.19 MB / 462.1 MB Notification: Performance of matching and sorting (n=251): time 0.0138/0.3039, allocations: 4.77 MB / 0.5798 GB, free: 9.348 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.365e-05/0.304, allocations: 77.41 kB / 0.5798 GB, free: 9.262 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005132/0.3092, allocations: 3.205 MB / 0.583 GB, free: 6.059 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000328/0.3095, allocations: 77.7 kB / 0.583 GB, free: 5.977 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001341/0.3109, allocations: 1.627 MB / 0.5846 GB, free: 4.336 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001196/0.3121, allocations: 1.058 MB / 0.5857 GB, free: 3.27 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002177/0.3142, allocations: 1.64 MB / 0.5873 GB, free: 1.617 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.3144, allocations: 305.1 kB / 0.5875 GB, free: 1.316 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.281/0.5954, allocations: 2.195 MB / 0.5897 GB, free: 103.1 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004942/0.6004, allocations: 2.935 MB / 0.5926 GB, free: 102.8 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007787/0.6082, allocations: 4.212 MB / 0.5967 GB, free: 101.8 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.312e-05/0.6082, allocations: 1.906 kB / 0.5967 GB, free: 101.8 MB / 462.1 MB Notification: Performance of matching and sorting (n=1174) (initialization): time 0.01425/0.6225, allocations: 7.337 MB / 0.6038 GB, free: 99.08 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.819e-05/0.6226, allocations: 7.938 kB / 0.6038 GB, free: 99.08 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.157e-05/0.6226, allocations: 3.969 kB / 0.6038 GB, free: 99.08 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004203/0.6268, allocations: 0.8852 MB / 0.6047 GB, free: 98.98 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006305/0.6331, allocations: 1.737 MB / 0.6064 GB, free: 98.81 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01042/0.6436, allocations: 8.902 MB / 0.6151 GB, free: 92.72 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006923/0.6505, allocations: 0.5888 MB / 0.6157 GB, free: 92.58 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004868/0.651, allocations: 277.2 kB / 0.6159 GB, free: 92.5 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 8 (NTLV2.isSlackBus,NTHV2.isSlackBus,NTHV1.isSlackBus,NTLV1.isSlackBus,GRIDL2.isSlackBus,GRIDL1.isSlackBus,GEN2.isSlackBus,GEN1.isSlackBus) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1119): * Single equations (assignments): 1116 * 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 {(2,0,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(17,0), (39,0)} Notification: Performance of prepare postOptimizeDAE: time 0.001505/0.6525, allocations: 0.7238 MB / 0.6166 GB, free: 91.95 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006663/0.6532, allocations: 381.9 kB / 0.617 GB, free: 91.95 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004209/0.6574, allocations: 2.587 MB / 0.6195 GB, free: 90.74 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.839e-05/0.6575, allocations: 10.78 kB / 0.6195 GB, free: 90.74 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.219e-06/0.6575, allocations: 0 / 0.6195 GB, free: 90.74 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001266/0.6587, allocations: 0.7549 MB / 0.6203 GB, free: 90.29 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000413/0.6592, allocations: 42.38 kB / 0.6203 GB, free: 90.25 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002181/0.6613, allocations: 106.9 kB / 0.6204 GB, free: 90.16 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002753/0.6616, allocations: 186.8 kB / 0.6206 GB, free: 90.06 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004858/0.6665, allocations: 2.507 MB / 0.6231 GB, free: 87.91 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003736/0.6702, allocations: 3.098 MB / 0.6261 GB, free: 85.07 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008758/0.6711, allocations: 0.773 MB / 0.6268 GB, free: 84.29 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002216/0.6734, allocations: 1.933 MB / 0.6287 GB, free: 82.38 MB / 462.1 MB Notification: Performance of Backend: time 1.733e-06/0.6734, allocations: 0 / 0.6287 GB, free: 82.38 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.009644/0.683, allocations: 5.63 MB / 0.6342 GB, free: 76.82 MB / 462.1 MB Notification: Performance of SimCode: time 0.007799/0.6908, allocations: 5.887 MB / 0.64 GB, free: 70.95 MB / 462.1 MB Notification: Performance of Templates: time 0.07182/0.7627, allocations: 51.39 MB / 0.6902 GB, free: 19.74 MB / 462.1 MB make -j1 -f PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.makefile (rm -f PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.pipe ; mkfifo PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.pipe >> ../files/PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.sim & ./PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.pipe 2>&1)