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.00492/0.00492, allocations: 102.1 kB / 15.73 MB, free: 6.062 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.001216/0.001216, allocations: 192.1 kB / 16.67 MB, free: 5.973 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.225/1.225, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.07345/0.07345, allocations: 16.78 MB / 307.3 MB, free: 14.38 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001109/0.001109, allocations: 63.89 kB / 426.6 MB, free: 10.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08335/0.08447, allocations: 53.57 MB / 480.2 MB, free: 4.906 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow): time 0.02445/0.109, allocations: 30.17 MB / 0.4984 GB, free: 6.613 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.1919/0.3009, allocations: 8.661 MB / 0.5068 GB, free: 3.332 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002628/0.3035, allocations: 69.06 kB / 0.5069 GB, free: 3.332 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002529/0.3061, allocations: 1.146 MB / 0.508 GB, free: 3.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008489/0.3146, allocations: 3.934 MB / 0.5119 GB, free: 3.254 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003021/0.3176, allocations: 1.511 MB / 0.5133 GB, free: 3.215 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008314/0.326, allocations: 6.961 MB / 0.5201 GB, free: 1.938 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009787/0.327, allocations: 0.4891 MB / 0.5206 GB, free: 1.715 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003808/0.3308, allocations: 2.346 MB / 0.5229 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004168/0.335, allocations: 2.556 MB / 0.5254 GB, free: 15.5 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009728/0.3359, allocations: 274.6 kB / 0.5257 GB, free: 15.5 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003683/0.3396, allocations: 0.7819 MB / 0.5264 GB, free: 15.4 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000896/0.3406, allocations: 0.7153 MB / 0.5271 GB, free: 14.93 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003508/0.3441, allocations: 2.229 MB / 0.5293 GB, free: 13.57 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00555/0.3496, allocations: 5.05 MB / 0.5342 GB, free: 11.36 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.3497, allocations: 0 / 0.5342 GB, free: 11.36 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3497, allocations: 7.875 kB / 0.5342 GB, free: 11.35 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.456e-05/0.3498, allocations: 0 / 0.5342 GB, free: 11.35 MB / 398.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.02069/0.3705, allocations: 6.483 MB / 0.5406 GB, free: 7.512 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.3705, allocations: 14.16 kB / 0.5406 GB, free: 7.508 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002276/0.3728, allocations: 0.5921 MB / 0.5412 GB, free: 7.207 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004258/0.3771, allocations: 2.354 MB / 0.5435 GB, free: 5.48 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001218/0.3772, allocations: 219.3 kB / 0.5437 GB, free: 5.379 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002921/0.3775, allocations: 289.2 kB / 0.5439 GB, free: 5.285 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00424/0.3817, allocations: 3.404 MB / 0.5473 GB, free: 1.797 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.62e-05/0.3818, allocations: 24.75 kB / 0.5473 GB, free: 1.773 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002323/0.382, allocations: 132 kB / 0.5474 GB, free: 1.645 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.168e-05/0.3821, allocations: 76 kB / 0.5475 GB, free: 1.57 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003835/0.3859, allocations: 2.688 MB / 0.5501 GB, free: 14.87 MB / 414.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.02137/0.4073, allocations: 22.12 MB / 0.5717 GB, free: 7.852 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004118/0.4115, allocations: 2.441 MB / 0.5741 GB, free: 5.434 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001277/0.4128, allocations: 0.916 MB / 0.575 GB, free: 4.512 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001156/0.4129, allocations: 36.48 kB / 0.575 GB, free: 4.48 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.658e-05/0.4129, allocations: 68.5 kB / 0.5751 GB, free: 4.402 MB / 430.1 MB Notification: Performance of pre-optimization done (n=251): time 5.11e-06/0.413, allocations: 0 / 0.5751 GB, free: 4.402 MB / 430.1 MB Notification: Performance of matching and sorting (n=251): time 0.01292/0.4259, allocations: 4.764 MB / 0.5797 GB, free: 15.57 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.357e-05/0.4259, allocations: 77.41 kB / 0.5798 GB, free: 15.48 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004451/0.4304, allocations: 3.212 MB / 0.583 GB, free: 12.27 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001681/0.4306, allocations: 81.7 kB / 0.583 GB, free: 12.19 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001148/0.4317, allocations: 1.616 MB / 0.5846 GB, free: 10.6 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009455/0.4327, allocations: 1.065 MB / 0.5857 GB, free: 9.547 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001938/0.4346, allocations: 1.632 MB / 0.5872 GB, free: 7.902 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.394e-05/0.4347, allocations: 305.1 kB / 0.5875 GB, free: 7.602 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003217/0.4379, allocations: 2.197 MB / 0.5897 GB, free: 5.398 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003784/0.4417, allocations: 2.945 MB / 0.5926 GB, free: 2.355 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005588/0.4473, allocations: 4.219 MB / 0.5967 GB, free: 14 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.448e-05/0.4473, allocations: 4 kB / 0.5967 GB, free: 14 MB / 462.1 MB Notification: Performance of matching and sorting (n=1174) (initialization): time 0.01107/0.4584, allocations: 7.327 MB / 0.6038 GB, free: 6.594 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.054e-05/0.4585, allocations: 8 kB / 0.6038 GB, free: 6.586 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.658e-05/0.4585, allocations: 4 kB / 0.6039 GB, free: 6.582 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004335/0.4628, allocations: 0.8818 MB / 0.6047 GB, free: 5.691 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006311/0.4692, allocations: 1.748 MB / 0.6064 GB, free: 3.941 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01178/0.481, allocations: 8.909 MB / 0.6151 GB, free: 10.64 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006103/0.4871, allocations: 0.5822 MB / 0.6157 GB, free: 10.05 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004285/0.4875, allocations: 280 kB / 0.616 GB, free: 9.777 MB / 478.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.001252/0.4888, allocations: 0.715 MB / 0.6167 GB, free: 9.051 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005925/0.4894, allocations: 389.5 kB / 0.617 GB, free: 8.668 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0045/0.4939, allocations: 2.594 MB / 0.6196 GB, free: 6.051 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.945e-05/0.4939, allocations: 15.95 kB / 0.6196 GB, free: 6.035 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.4939, allocations: 0 / 0.6196 GB, free: 6.035 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001389/0.4953, allocations: 0.7559 MB / 0.6203 GB, free: 5.258 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004774/0.4958, allocations: 40 kB / 0.6203 GB, free: 5.219 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002228/0.4981, allocations: 99.94 kB / 0.6204 GB, free: 5.121 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002351/0.4983, allocations: 177.7 kB / 0.6206 GB, free: 4.949 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005403/0.5037, allocations: 2.496 MB / 0.6231 GB, free: 2.484 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004289/0.508, allocations: 3.108 MB / 0.6261 GB, free: 15.36 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001053/0.5091, allocations: 0.7731 MB / 0.6268 GB, free: 14.58 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002523/0.5116, allocations: 1.918 MB / 0.6287 GB, free: 12.68 MB / 494.1 MB Notification: Performance of Backend: time 4.81e-07/0.5116, allocations: 7.938 kB / 0.6287 GB, free: 12.67 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01008/0.5217, allocations: 5.649 MB / 0.6342 GB, free: 7.012 MB / 494.1 MB Notification: Performance of SimCode: time 0.007584/0.5293, allocations: 5.887 MB / 0.64 GB, free: 1.098 MB / 494.1 MB Notification: Performance of Templates: time 0.07691/0.6062, allocations: 51.37 MB / 0.6901 GB, free: 13.89 MB / 0.545 GB 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=50 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.pipe 2>&1)