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.001193/0.001193, allocations: 113.4 kB / 16.42 MB, free: 6.496 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.001278/0.001278, allocations: 186.9 kB / 17.34 MB, free: 5.758 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.45/1.45, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06149/0.06149, allocations: 14.17 MB / 284.8 MB, free: 13.86 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.00275/0.00275, allocations: 62.36 kB / 400 MB, free: 42.31 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09639/0.09916, allocations: 50.14 MB / 450.1 MB, free: 10.89 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow): time 0.01649/0.1157, allocations: 18.62 MB / 468.7 MB, free: 8.188 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01446/0.1302, allocations: 7.62 MB / 476.3 MB, free: 0.543 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003306/0.1335, allocations: 47.88 kB / 476.4 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003866/0.1375, allocations: 1.006 MB / 477.4 MB, free: 15.48 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01042/0.1479, allocations: 3.403 MB / 480.8 MB, free: 12.1 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002713/0.1507, allocations: 0.7895 MB / 481.6 MB, free: 11.32 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.008717/0.1594, allocations: 5.712 MB / 487.3 MB, free: 5.586 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001174/0.1606, allocations: 382.4 kB / 487.7 MB, free: 5.191 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004399/0.165, allocations: 1.942 MB / 489.6 MB, free: 3.242 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003915/0.169, allocations: 2.023 MB / 491.6 MB, free: 1.211 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008047/0.1698, allocations: 200 kB / 491.8 MB, free: 1.016 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003035/0.1729, allocations: 0.7262 MB / 492.6 MB, free: 296 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008081/0.1737, allocations: 0.49 MB / 493.1 MB, free: 15.79 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003115/0.1768, allocations: 1.675 MB / 494.7 MB, free: 14.11 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008549/0.1854, allocations: 4.212 MB / 498.9 MB, free: 9.887 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.604e-06/0.1854, allocations: 0 / 498.9 MB, free: 9.887 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.1854, allocations: 0 / 498.9 MB, free: 9.887 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001452/0.1856, allocations: 0 / 498.9 MB, free: 9.887 MB / 382.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.01766/0.2033, allocations: 4.544 MB / 0.4917 GB, free: 5.27 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/0.2033, allocations: 16.02 kB / 0.4917 GB, free: 5.254 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00266/0.206, allocations: 470.8 kB / 0.4921 GB, free: 4.793 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004915/0.2109, allocations: 1.804 MB / 0.4939 GB, free: 2.934 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001642/0.2111, allocations: 164.8 kB / 0.4941 GB, free: 2.77 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004422/0.2116, allocations: 211.9 kB / 0.4943 GB, free: 2.562 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004586/0.2162, allocations: 2.145 MB / 0.4964 GB, free: 316 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.752e-05/0.2162, allocations: 4 kB / 0.4964 GB, free: 312 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002392/0.2165, allocations: 88 kB / 0.4964 GB, free: 224 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.637e-05/0.2166, allocations: 56 kB / 0.4965 GB, free: 168 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004744/0.2213, allocations: 2.172 MB / 0.4986 GB, free: 13.97 MB / 398.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.02577/0.2471, allocations: 15.18 MB / 0.5134 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005333/0.2525, allocations: 3.124 MB / 0.5165 GB, free: 9.758 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001356/0.2539, allocations: 0.7988 MB / 0.5173 GB, free: 8.961 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001405/0.254, allocations: 33.97 kB / 0.5173 GB, free: 8.93 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.67e-05/0.2541, allocations: 56.56 kB / 0.5174 GB, free: 8.863 MB / 414.1 MB Notification: Performance of pre-optimization done (n=217): time 4.698e-06/0.2541, allocations: 0 / 0.5174 GB, free: 8.863 MB / 414.1 MB Notification: Performance of matching and sorting (n=217): time 0.009332/0.2634, allocations: 3.466 MB / 0.5207 GB, free: 5.328 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.616e-05/0.2635, allocations: 77.41 kB / 0.5208 GB, free: 5.242 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003113/0.2667, allocations: 1.685 MB / 0.5225 GB, free: 3.512 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001403/0.2668, allocations: 61.7 kB / 0.5225 GB, free: 3.445 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008641/0.2677, allocations: 1.092 MB / 0.5236 GB, free: 2.34 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008865/0.2686, allocations: 0.7938 MB / 0.5244 GB, free: 1.539 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007365/0.2693, allocations: 441.1 kB / 0.5248 GB, free: 1.102 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001044/0.2694, allocations: 305.1 kB / 0.5251 GB, free: 0.8008 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001168/0.2706, allocations: 0.661 MB / 0.5257 GB, free: 140 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2344/0.505, allocations: 1.208 MB / 0.5269 GB, free: 78.96 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003087/0.5081, allocations: 2.027 MB / 0.5289 GB, free: 78.28 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.218e-05/0.5082, allocations: 3.906 kB / 0.5289 GB, free: 78.28 MB / 414.1 MB Notification: Performance of matching and sorting (n=326) (initialization): time 0.00611/0.5143, allocations: 2.686 MB / 0.5315 GB, free: 77.34 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.094e-05/0.5144, allocations: 15.56 kB / 0.5315 GB, free: 77.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-05/0.5144, allocations: 15.38 kB / 0.5315 GB, free: 77.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001994/0.5164, allocations: 0.5288 MB / 0.5321 GB, free: 77.22 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002431/0.5189, allocations: 0.5757 MB / 0.5326 GB, free: 77.17 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009487/0.5284, allocations: 7.699 MB / 0.5401 GB, free: 71.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003418/0.5318, allocations: 192.1 kB / 0.5403 GB, free: 71.17 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002579/0.5321, allocations: 104.7 kB / 0.5404 GB, free: 71.15 MB / 414.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.001134/0.5332, allocations: 488.5 kB / 0.5409 GB, free: 70.8 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007556/0.534, allocations: 251.7 kB / 0.5411 GB, free: 70.73 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003925/0.5379, allocations: 2.147 MB / 0.5432 GB, free: 69.76 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.463e-05/0.538, allocations: 21.72 kB / 0.5432 GB, free: 69.76 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.538, allocations: 0 / 0.5432 GB, free: 69.76 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.672e-05/0.538, allocations: 10.27 kB / 0.5433 GB, free: 69.76 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008286/0.5463, allocations: 5.258 MB / 0.5484 GB, free: 66.94 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-05/0.5464, allocations: 3.938 kB / 0.5484 GB, free: 66.94 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001519/0.5479, allocations: 387.2 kB / 0.5488 GB, free: 66.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001529/0.5494, allocations: 0.5091 MB / 0.5493 GB, free: 66.78 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.802e-05/0.5495, allocations: 46.88 kB / 0.5493 GB, free: 66.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007009/0.5566, allocations: 7.565 MB / 0.5567 GB, free: 60.67 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.5566, allocations: 7.875 kB / 0.5567 GB, free: 60.67 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00545/0.562, allocations: 4.204 MB / 0.5608 GB, free: 58.09 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009982/0.5631, allocations: 0.5255 MB / 0.5613 GB, free: 57.71 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003044/0.5634, allocations: 43.31 kB / 0.5614 GB, free: 57.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001531/0.5649, allocations: 59.55 kB / 0.5614 GB, free: 57.65 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002479/0.5652, allocations: 146.1 kB / 0.5616 GB, free: 57.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.786e-05/0.5653, allocations: 56.31 kB / 0.5616 GB, free: 57.61 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001323/0.5666, allocations: 1.111 MB / 0.5627 GB, free: 57.14 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.5666, allocations: 0 / 0.5627 GB, free: 57.14 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00256/0.5692, allocations: 0.9 MB / 0.5636 GB, free: 57.02 MB / 414.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.0003877/0.5696, allocations: 281.2 kB / 0.5638 GB, free: 56.86 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003479/0.5731, allocations: 2.389 MB / 0.5662 GB, free: 55.27 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.5731, allocations: 0 / 0.5662 GB, free: 55.27 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001779/0.5749, allocations: 1.398 MB / 0.5675 GB, free: 53.93 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00237/0.5772, allocations: 339.8 kB / 0.5679 GB, free: 53.6 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006162/0.5834, allocations: 4.764 MB / 0.5725 GB, free: 48.77 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007696/0.5842, allocations: 1.546 MB / 0.574 GB, free: 47.18 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001178/0.5854, allocations: 297.4 kB / 0.5743 GB, free: 46.9 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004595/0.5859, allocations: 159.4 kB / 0.5745 GB, free: 46.74 MB / 414.1 MB Notification: Performance of SimCode: time 5.91e-07/0.5859, allocations: 0 / 0.5745 GB, free: 46.74 MB / 414.1 MB Notification: Performance of Templates: time 0.04275/0.6286, allocations: 30.92 MB / 0.6047 GB, free: 15.88 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=50 -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.pipe 2>&1)