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.001541/0.001541, allocations: 107.3 kB / 15.99 MB, free: 6.344 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.001899/0.001899, allocations: 190 kB / 16.91 MB, free: 6.18 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.702/1.702, allocations: 205.1 MB / 222.8 MB, free: 12.44 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06221/0.06221, allocations: 14.16 MB / 284.3 MB, free: 14.11 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.002977/0.002977, allocations: 71.8 kB / 348 MB, free: 14.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3484/0.3514, allocations: 50.11 MB / 398.1 MB, free: 48.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow): time 0.01657/0.3681, allocations: 19 MB / 417.1 MB, free: 32.52 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01328/0.3814, allocations: 7.663 MB / 424.8 MB, free: 24.84 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005884/0.3874, allocations: 55.81 kB / 424.8 MB, free: 24.78 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003655/0.3911, allocations: 0.8672 MB / 425.7 MB, free: 23.91 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01019/0.4013, allocations: 2.993 MB / 428.7 MB, free: 20.95 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002362/0.4037, allocations: 0.7082 MB / 429.4 MB, free: 20.25 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.008841/0.4126, allocations: 6.008 MB / 435.4 MB, free: 14.22 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008999/0.4135, allocations: 382.4 kB / 435.8 MB, free: 13.82 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002935/0.4164, allocations: 1.695 MB / 437.5 MB, free: 12.12 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00188/0.4183, allocations: 1.758 MB / 439.2 MB, free: 10.36 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002798/0.4186, allocations: 148 kB / 439.4 MB, free: 10.21 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001966/0.4206, allocations: 0.6832 MB / 440.1 MB, free: 9.527 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002959/0.4209, allocations: 421.7 kB / 440.5 MB, free: 9.113 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001604/0.4225, allocations: 1.59 MB / 442.1 MB, free: 7.516 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004066/0.4266, allocations: 3.726 MB / 445.8 MB, free: 3.777 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.4266, allocations: 0 / 445.8 MB, free: 3.777 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.4266, allocations: 0 / 445.8 MB, free: 3.777 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.826e-05/0.4267, allocations: 0 / 445.8 MB, free: 3.777 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.01357/0.4403, allocations: 4.27 MB / 450 MB, free: 15.43 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.329e-05/0.4403, allocations: 8.031 kB / 450.1 MB, free: 15.43 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002087/0.4424, allocations: 465.1 kB / 450.5 MB, free: 14.97 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003847/0.4463, allocations: 1.658 MB / 452.2 MB, free: 13.25 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001342/0.4465, allocations: 160.8 kB / 452.3 MB, free: 13.09 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003006/0.4468, allocations: 215.9 kB / 452.5 MB, free: 12.88 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003954/0.4507, allocations: 2.156 MB / 454.7 MB, free: 10.62 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.949e-05/0.4508, allocations: 0 / 454.7 MB, free: 10.62 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001736/0.451, allocations: 88 kB / 454.8 MB, free: 10.53 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-05/0.451, allocations: 52 kB / 454.8 MB, free: 10.48 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003528/0.4546, allocations: 2.172 MB / 457 MB, free: 8.293 MB / 334.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.01626/0.4708, allocations: 13.97 MB / 471 MB, free: 8.641 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004524/0.4754, allocations: 3.129 MB / 474.1 MB, free: 5.305 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001164/0.4766, allocations: 0.7949 MB / 474.9 MB, free: 4.512 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001386/0.4767, allocations: 33.97 kB / 474.9 MB, free: 4.477 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.211e-05/0.4768, allocations: 52.56 kB / 475 MB, free: 4.418 MB / 350.1 MB Notification: Performance of pre-optimization done (n=217): time 6.312e-06/0.4768, allocations: 96 / 475 MB, free: 4.418 MB / 350.1 MB Notification: Performance of matching and sorting (n=217): time 0.008888/0.4857, allocations: 3.457 MB / 478.4 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.642e-05/0.4858, allocations: 73.41 kB / 478.5 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0026/0.4884, allocations: 1.521 MB / 480 MB, free: 15.24 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002299/0.4887, allocations: 61.7 kB / 480.1 MB, free: 15.17 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001048/0.4897, allocations: 1.066 MB / 481.2 MB, free: 14.09 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009106/0.4907, allocations: 0.7508 MB / 481.9 MB, free: 13.33 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006989/0.4914, allocations: 432.9 kB / 482.3 MB, free: 12.9 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.4915, allocations: 305.1 kB / 482.6 MB, free: 12.6 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001128/0.4926, allocations: 0.661 MB / 483.3 MB, free: 11.93 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001624/0.4943, allocations: 1.218 MB / 484.5 MB, free: 10.48 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002885/0.4972, allocations: 2.021 MB / 486.5 MB, free: 8.211 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.017e-05/0.4972, allocations: 8 kB / 486.5 MB, free: 8.203 MB / 366.1 MB Notification: Performance of matching and sorting (n=326) (initialization): time 0.005413/0.5026, allocations: 2.684 MB / 489.2 MB, free: 5.457 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.664e-05/0.5027, allocations: 12 kB / 489.2 MB, free: 5.445 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.012e-05/0.5027, allocations: 20 kB / 489.2 MB, free: 5.426 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001848/0.5046, allocations: 0.5459 MB / 489.8 MB, free: 4.875 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002209/0.5068, allocations: 0.5734 MB / 490.4 MB, free: 4.301 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01097/0.5178, allocations: 7.603 MB / 498 MB, free: 12.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002916/0.5207, allocations: 214.1 kB / 498.2 MB, free: 12.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001505/0.5209, allocations: 95.98 kB / 498.3 MB, free: 11.99 MB / 382.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.001093/0.522, allocations: 489 kB / 498.8 MB, free: 11.5 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004635/0.5225, allocations: 237.3 kB / 499 MB, free: 11.27 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004294/0.5268, allocations: 2.156 MB / 0.4894 GB, free: 9.09 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.061e-05/0.5268, allocations: 20 kB / 0.4894 GB, free: 9.07 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.5268, allocations: 0 / 0.4894 GB, free: 9.07 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.664e-05/0.5269, allocations: 11.97 kB / 0.4894 GB, free: 9.059 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007887/0.5348, allocations: 4.896 MB / 0.4942 GB, free: 3.938 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-05/0.5348, allocations: 4 kB / 0.4942 GB, free: 3.934 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001563/0.5364, allocations: 396 kB / 0.4946 GB, free: 3.547 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001701/0.5381, allocations: 0.5106 MB / 0.4951 GB, free: 3.027 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001195/0.5382, allocations: 36 kB / 0.4951 GB, free: 2.992 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009955/0.5482, allocations: 7.511 MB / 0.5025 GB, free: 11.07 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.58e-06/0.5482, allocations: 8 kB / 0.5025 GB, free: 11.06 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00723/0.5555, allocations: 4.188 MB / 0.5066 GB, free: 6.742 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001212/0.5567, allocations: 457.9 kB / 0.507 GB, free: 6.273 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002785/0.557, allocations: 43.94 kB / 0.507 GB, free: 6.23 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001236/0.5583, allocations: 87.58 kB / 0.5071 GB, free: 6.145 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003603/0.5586, allocations: 145.7 kB / 0.5073 GB, free: 6.004 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001076/0.5588, allocations: 56 kB / 0.5073 GB, free: 5.949 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001572/0.5603, allocations: 0.9881 MB / 0.5083 GB, free: 4.938 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5603, allocations: 0 / 0.5083 GB, free: 4.938 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003328/0.5637, allocations: 0.8121 MB / 0.5091 GB, free: 4.125 MB / 398.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.0006134/0.5643, allocations: 284.2 kB / 0.5093 GB, free: 3.836 MB / 398.1 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of simCode: created initialization part: time 0.006861/0.5712, allocations: 2.456 MB / 0.5117 GB, free: 1.336 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 8.366e-06/0.5712, allocations: 4.125 kB / 0.5117 GB, free: 1.332 MB / 398.1 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of simCode: created simulation system equations: time 0.002408/0.5736, allocations: 1.397 MB / 0.5131 GB, free: 15.89 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002409/0.576, allocations: 277.3 kB / 0.5134 GB, free: 15.64 MB / 414.1 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009862/0.5859, allocations: 5.778 MB / 0.519 GB, free: 9.758 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001534/0.5875, allocations: 1.549 MB / 0.5205 GB, free: 8.172 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001702/0.5892, allocations: 288.9 kB / 0.5208 GB, free: 7.887 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004021/0.5896, allocations: 143.4 kB / 0.5209 GB, free: 7.746 MB / 414.1 MB Notification: Performance of SimCode: time 9.62e-07/0.5896, allocations: 0 / 0.5209 GB, free: 7.746 MB / 414.1 MB Notification: Performance of Templates: time 0.26/0.8496, allocations: 25.1 MB / 0.5454 GB, free: 116.6 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)