Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_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.2/package.mo", uses=false) Using package PowerGrids with version 1.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/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) Running command: translateModel(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow") translateModel(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_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.0009992/0.0009992, allocations: 99.23 kB / 15.05 MB, free: 1.105 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.001032/0.001032, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.356/1.356, allocations: 205.4 MB / 222.1 MB, free: 5.469 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.05817/0.05817, allocations: 14.16 MB / 284.5 MB, free: 7.035 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.0009408/0.0009412, allocations: 12 kB / 348.8 MB, free: 17.23 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.1159, allocations: 51.11 MB / 399.9 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow): time 0.01344/0.1294, allocations: 15.36 MB / 415.3 MB, free: 14.66 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01164/0.1411, allocations: 7.097 MB / 422.4 MB, free: 7.551 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002914/0.1441, allocations: 51.81 kB / 422.4 MB, free: 7.5 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002943/0.147, allocations: 0.7265 MB / 423.1 MB, free: 6.77 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009547/0.1566, allocations: 2.85 MB / 426 MB, free: 3.945 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002336/0.159, allocations: 0.6464 MB / 426.6 MB, free: 3.305 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.2111/0.37, allocations: 4.094 MB / 430.7 MB, free: 13.55 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001013/0.3711, allocations: 339.2 kB / 431.1 MB, free: 13.47 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003567/0.3747, allocations: 1.527 MB / 432.6 MB, free: 13.47 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003359/0.378, allocations: 1.504 MB / 434.1 MB, free: 13.47 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003953/0.3785, allocations: 78.5 kB / 434.2 MB, free: 13.47 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002707/0.3812, allocations: 0.5168 MB / 434.7 MB, free: 13.47 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000392/0.3816, allocations: 328 kB / 435 MB, free: 13.47 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001512/0.3831, allocations: 0.5667 MB / 435.6 MB, free: 13.44 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005284/0.3884, allocations: 2.768 MB / 438.3 MB, free: 13.21 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.3884, allocations: 1.031 kB / 438.3 MB, free: 13.21 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.474e-06/0.3884, allocations: 0 / 438.3 MB, free: 13.21 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.549e-05/0.3885, allocations: 0 / 438.3 MB, free: 13.21 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.01484/0.4034, allocations: 3.795 MB / 442.1 MB, free: 11.89 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/0.4034, allocations: 13.39 kB / 442.2 MB, free: 11.89 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003024/0.4065, allocations: 458.5 kB / 442.6 MB, free: 11.74 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004781/0.4113, allocations: 1.596 MB / 444.2 MB, free: 11.24 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001496/0.4114, allocations: 163.4 kB / 444.4 MB, free: 11.23 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003681/0.4118, allocations: 210.1 kB / 444.6 MB, free: 11.23 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003876/0.4157, allocations: 2.111 MB / 446.7 MB, free: 10.96 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.004e-05/0.4158, allocations: 1.375 kB / 446.7 MB, free: 10.96 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001826/0.4159, allocations: 91.81 kB / 446.8 MB, free: 10.96 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.339e-05/0.416, allocations: 53.97 kB / 446.8 MB, free: 10.96 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003686/0.4197, allocations: 2.158 MB / 449 MB, free: 10.92 MB / 318.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.01426/0.434, allocations: 14.08 MB / 463.1 MB, free: 15.75 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004157/0.4382, allocations: 3.104 MB / 466.2 MB, free: 14.34 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001111/0.4383, allocations: 34.33 kB / 466.2 MB, free: 14.33 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.82e-05/0.4384, allocations: 56.69 kB / 466.2 MB, free: 14.29 MB / 334.1 MB Notification: Performance of pre-optimization done (n=217): time 3.687e-06/0.4384, allocations: 0 / 466.2 MB, free: 14.29 MB / 334.1 MB Notification: Performance of matching and sorting (n=217): time 0.008059/0.4464, allocations: 3.409 MB / 469.7 MB, free: 13.25 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.656e-05/0.4465, allocations: 78.39 kB / 469.7 MB, free: 13.18 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002172/0.4487, allocations: 1.514 MB / 471.2 MB, free: 12.05 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001136/0.4488, allocations: 58.7 kB / 471.3 MB, free: 12.01 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007082/0.4495, allocations: 1.069 MB / 472.4 MB, free: 11.28 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006983/0.4502, allocations: 0.7474 MB / 473.1 MB, free: 10.64 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/0.4504, allocations: 53.44 kB / 473.2 MB, free: 10.62 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001938/0.4506, allocations: 404.2 kB / 473.6 MB, free: 10.27 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001006/0.4516, allocations: 0.6457 MB / 474.2 MB, free: 9.871 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001433/0.453, allocations: 1.196 MB / 475.4 MB, free: 8.602 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001422/0.4544, allocations: 0.8518 MB / 476.3 MB, free: 7.742 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.004e-05/0.4545, allocations: 4 kB / 476.3 MB, free: 7.738 MB / 334.1 MB Notification: Performance of matching and sorting (n=326) (initialization): time 0.00492/0.4594, allocations: 2.66 MB / 478.9 MB, free: 5.133 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.713e-05/0.4594, allocations: 14.95 kB / 478.9 MB, free: 5.121 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.335e-05/0.4595, allocations: 19.98 kB / 479 MB, free: 5.102 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001813/0.4613, allocations: 0.5342 MB / 479.5 MB, free: 4.562 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002246/0.4636, allocations: 0.5817 MB / 480.1 MB, free: 4.012 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008945/0.4725, allocations: 7.096 MB / 487.2 MB, free: 12.6 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002961/0.4755, allocations: 214.3 kB / 487.4 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002208/0.4758, allocations: 95.98 kB / 487.5 MB, free: 12.29 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 2 {4 26,2 10} Notification: Performance of prepare postOptimizeDAE: time 0.001174/0.4769, allocations: 473.2 kB / 487.9 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005225/0.4775, allocations: 241.2 kB / 488.2 MB, free: 11.62 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003958/0.4814, allocations: 2.141 MB / 490.3 MB, free: 9.477 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.067e-05/0.4815, allocations: 23.95 kB / 490.3 MB, free: 9.453 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.942e-06/0.4815, allocations: 2.297 kB / 490.3 MB, free: 9.453 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.172e-05/0.4815, allocations: 7.969 kB / 490.3 MB, free: 9.445 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008213/0.4897, allocations: 4.869 MB / 495.2 MB, free: 4.441 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.44e-05/0.4898, allocations: 8.031 kB / 495.2 MB, free: 4.434 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001666/0.4915, allocations: 401.2 kB / 495.6 MB, free: 4.062 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001678/0.4932, allocations: 0.501 MB / 496.1 MB, free: 3.555 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001163/0.4933, allocations: 43.98 kB / 496.2 MB, free: 3.512 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008852/0.5022, allocations: 6.981 MB / 0.4913 GB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.5022, allocations: 4 kB / 0.4914 GB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004854/0.5071, allocations: 2.575 MB / 0.4939 GB, free: 9.387 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001383/0.5085, allocations: 465.9 kB / 0.4943 GB, free: 8.91 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003575/0.5089, allocations: 36 kB / 0.4943 GB, free: 8.875 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001343/0.5102, allocations: 83.52 kB / 0.4944 GB, free: 8.793 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003057/0.5105, allocations: 153.5 kB / 0.4946 GB, free: 8.645 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.439e-05/0.5106, allocations: 52 kB / 0.4946 GB, free: 8.594 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001603/0.5122, allocations: 0.9746 MB / 0.4956 GB, free: 7.598 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.5122, allocations: 4 kB / 0.4956 GB, free: 7.594 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002956/0.5152, allocations: 0.7925 MB / 0.4964 GB, free: 6.801 MB / 366.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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 2 {2 10,4 26} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005461/0.5158, allocations: 298.5 kB / 0.4966 GB, free: 6.531 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.004306/0.5201, allocations: 2.351 MB / 0.4989 GB, free: 4.211 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.5201, allocations: 0 / 0.4989 GB, free: 4.211 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002182/0.5223, allocations: 1.385 MB / 0.5003 GB, free: 2.82 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001667/0.524, allocations: 212.3 kB / 0.5005 GB, free: 2.605 MB / 366.1 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is set to 'isProtected' (=false) by default. Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006951/0.531, allocations: 4.321 MB / 0.5047 GB, free: 14.25 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001163/0.5321, allocations: 1.536 MB / 0.5062 GB, free: 12.68 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.00148/0.5336, allocations: 292.9 kB / 0.5065 GB, free: 12.39 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003923/0.534, allocations: 147.4 kB / 0.5066 GB, free: 12.25 MB / 382.1 MB Notification: Performance of SimCode: time 9.52e-07/0.534, allocations: 0 / 0.5066 GB, free: 12.25 MB / 382.1 MB Notification: Performance of Templates: time 0.0459/0.5799, allocations: 22.82 MB / 0.5289 GB, free: 5.539 MB / 398.1 MB make -j1 -f PowerGrids_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.makefile Environment - environmentSimulation: (rm -f PowerGrids_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.pipe ; mkfifo PowerGrids_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.pipe >> ../files/PowerGrids_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.sim & ./PowerGrids_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow -lv=LOG_STATS -outputFormat=mat -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.pipe 2>&1) Environment - environmentSimulation: