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.001269/0.001269, allocations: 112.2 kB / 16.42 MB, free: 6.5 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.001403/0.001404, allocations: 186.6 kB / 17.35 MB, free: 5.758 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.315/1.315, allocations: 222.9 MB / 241.1 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.07536/0.07536, allocations: 16.78 MB / 308 MB, free: 14.43 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 59.91 kB / 427.3 MB, free: 10.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08997/0.09118, allocations: 53.57 MB / 480.8 MB, free: 4.969 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow): time 0.02579/0.117, allocations: 30.17 MB / 0.499 GB, free: 6.68 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2254/0.3425, allocations: 8.67 MB / 0.5075 GB, free: 3.328 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003342/0.3458, allocations: 64.47 kB / 0.5076 GB, free: 3.328 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003166/0.3491, allocations: 1.146 MB / 0.5087 GB, free: 3.324 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01059/0.3597, allocations: 3.938 MB / 0.5125 GB, free: 3.254 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003779/0.3635, allocations: 1.514 MB / 0.514 GB, free: 3.211 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.009794/0.3733, allocations: 6.961 MB / 0.5208 GB, free: 1.977 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001003/0.3743, allocations: 492.8 kB / 0.5213 GB, free: 1.758 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004215/0.3785, allocations: 2.351 MB / 0.5236 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004347/0.3829, allocations: 2.552 MB / 0.5261 GB, free: 15.54 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007711/0.3837, allocations: 275.2 kB / 0.5263 GB, free: 15.54 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002754/0.3864, allocations: 0.7778 MB / 0.5271 GB, free: 15.43 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006004/0.387, allocations: 0.7182 MB / 0.5278 GB, free: 14.96 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003011/0.3901, allocations: 2.224 MB / 0.53 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006268/0.3963, allocations: 5.048 MB / 0.5349 GB, free: 11.41 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.3964, allocations: 4 kB / 0.5349 GB, free: 11.4 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3964, allocations: 0 / 0.5349 GB, free: 11.4 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.967e-05/0.3965, allocations: 1.438 kB / 0.5349 GB, free: 11.4 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.02317/0.4197, allocations: 6.487 MB / 0.5412 GB, free: 7.559 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/0.4197, allocations: 7.406 kB / 0.5412 GB, free: 7.559 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002824/0.4225, allocations: 0.5982 MB / 0.5418 GB, free: 7.254 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00583/0.4284, allocations: 2.355 MB / 0.5441 GB, free: 5.527 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001935/0.4286, allocations: 222.1 kB / 0.5443 GB, free: 5.422 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004263/0.4291, allocations: 293.1 kB / 0.5446 GB, free: 5.324 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005085/0.4342, allocations: 3.399 MB / 0.5479 GB, free: 1.879 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.024e-05/0.4342, allocations: 27.69 kB / 0.548 GB, free: 1.852 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002794/0.4345, allocations: 128 kB / 0.5481 GB, free: 1.727 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.299e-05/0.4346, allocations: 76.88 kB / 0.5482 GB, free: 1.652 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004235/0.4388, allocations: 2.686 MB / 0.5508 GB, free: 14.95 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.02573/0.4646, allocations: 22.12 MB / 0.5724 GB, free: 7.941 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004539/0.4692, allocations: 2.437 MB / 0.5748 GB, free: 5.527 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001379/0.4706, allocations: 0.9199 MB / 0.5756 GB, free: 4.602 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001602/0.4707, allocations: 41.27 kB / 0.5757 GB, free: 4.566 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.263e-05/0.4708, allocations: 61.31 kB / 0.5757 GB, free: 4.496 MB / 430.1 MB Notification: Performance of pre-optimization done (n=251): time 4.298e-06/0.4708, allocations: 4 kB / 0.5758 GB, free: 4.492 MB / 430.1 MB Notification: Performance of matching and sorting (n=251): time 0.01465/0.4855, allocations: 4.764 MB / 0.5804 GB, free: 15.66 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.499e-05/0.4856, allocations: 81.41 kB / 0.5805 GB, free: 15.57 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005622/0.4912, allocations: 3.209 MB / 0.5836 GB, free: 12.36 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004902/0.4917, allocations: 77.7 kB / 0.5837 GB, free: 12.28 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001464/0.4932, allocations: 1.626 MB / 0.5853 GB, free: 10.68 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001544/0.4947, allocations: 1.059 MB / 0.5863 GB, free: 9.633 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002646/0.4974, allocations: 1.632 MB / 0.5879 GB, free: 7.988 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001063/0.4975, allocations: 305.1 kB / 0.5882 GB, free: 7.688 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003622/0.5011, allocations: 2.193 MB / 0.5903 GB, free: 5.488 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004345/0.5055, allocations: 2.949 MB / 0.5932 GB, free: 2.441 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006955/0.5125, allocations: 4.21 MB / 0.5973 GB, free: 14.1 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.333e-05/0.5125, allocations: 0 / 0.5973 GB, free: 14.1 MB / 462.1 MB Notification: Performance of matching and sorting (n=1174) (initialization): time 0.01391/0.5264, allocations: 7.339 MB / 0.6045 GB, free: 6.68 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.21e-05/0.5265, allocations: 11.94 kB / 0.6045 GB, free: 6.668 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.21e-05/0.5266, allocations: 12 kB / 0.6045 GB, free: 6.656 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004654/0.5312, allocations: 0.8915 MB / 0.6054 GB, free: 5.762 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00715/0.5384, allocations: 1.74 MB / 0.6071 GB, free: 4.02 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0128/0.5512, allocations: 8.897 MB / 0.6158 GB, free: 10.71 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006931/0.5582, allocations: 0.5783 MB / 0.6163 GB, free: 10.13 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006534/0.5589, allocations: 280 kB / 0.6166 GB, free: 9.859 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.001598/0.5605, allocations: 0.7227 MB / 0.6173 GB, free: 9.125 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007969/0.5613, allocations: 385.5 kB / 0.6177 GB, free: 8.746 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004825/0.5661, allocations: 2.586 MB / 0.6202 GB, free: 6.137 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.966e-05/0.5661, allocations: 11.95 kB / 0.6202 GB, free: 6.125 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.5661, allocations: 0 / 0.6202 GB, free: 6.125 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001703/0.5679, allocations: 0.7598 MB / 0.621 GB, free: 5.344 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005239/0.5684, allocations: 44 kB / 0.621 GB, free: 5.301 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002296/0.5707, allocations: 103.9 kB / 0.6211 GB, free: 5.199 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003001/0.571, allocations: 185.6 kB / 0.6213 GB, free: 5.02 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005564/0.5766, allocations: 2.5 MB / 0.6237 GB, free: 2.555 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004714/0.5813, allocations: 3.107 MB / 0.6268 GB, free: 15.43 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001136/0.5825, allocations: 0.7731 MB / 0.6275 GB, free: 14.66 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002831/0.5853, allocations: 1.922 MB / 0.6294 GB, free: 12.75 MB / 494.1 MB Notification: Performance of Backend: time 4.8e-07/0.5853, allocations: 0 / 0.6294 GB, free: 12.75 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01175/0.5971, allocations: 5.645 MB / 0.6349 GB, free: 7.094 MB / 494.1 MB Notification: Performance of SimCode: time 0.0096/0.6067, allocations: 5.891 MB / 0.6407 GB, free: 1.18 MB / 494.1 MB Notification: Performance of Templates: time 0.08653/0.6933, allocations: 51.36 MB / 0.6908 GB, free: 13.96 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=480 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.pipe 2>&1)