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.001145/0.001145, allocations: 101.6 kB / 15.99 MB, free: 6.355 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.001067/0.001067, allocations: 198.3 kB / 16.91 MB, free: 6.191 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.489/1.489, allocations: 205.1 MB / 222.8 MB, free: 12.45 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06129/0.06129, 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.001768/0.001768, allocations: 63.81 kB / 348 MB, free: 14.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3661/0.3679, allocations: 50.12 MB / 398.1 MB, free: 48.82 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow): time 0.01497/0.3829, allocations: 19.01 MB / 417.1 MB, free: 32.5 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01399/0.397, allocations: 7.648 MB / 424.8 MB, free: 24.83 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005019/0.402, allocations: 59.75 kB / 424.8 MB, free: 24.77 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004511/0.4066, allocations: 0.8633 MB / 425.7 MB, free: 23.91 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01118/0.4179, allocations: 2.986 MB / 428.7 MB, free: 20.95 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002181/0.42, allocations: 0.7157 MB / 429.4 MB, free: 20.23 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.008007/0.4281, allocations: 6.016 MB / 435.4 MB, free: 14.2 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007912/0.4289, allocations: 378.4 kB / 435.8 MB, free: 13.81 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002763/0.4317, allocations: 1.695 MB / 437.5 MB, free: 12.11 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002327/0.434, allocations: 1.762 MB / 439.2 MB, free: 10.34 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002854/0.4343, allocations: 148 kB / 439.4 MB, free: 10.2 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002138/0.4364, allocations: 0.6755 MB / 440 MB, free: 9.52 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002742/0.4367, allocations: 417.7 kB / 440.5 MB, free: 9.109 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001556/0.4383, allocations: 1.593 MB / 442.1 MB, free: 7.508 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003897/0.4422, allocations: 3.726 MB / 445.8 MB, free: 3.77 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.4422, allocations: 0 / 445.8 MB, free: 3.77 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.386e-06/0.4422, allocations: 0 / 445.8 MB, free: 3.77 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.652e-05/0.4423, allocations: 4 kB / 445.8 MB, free: 3.766 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.01549/0.4578, allocations: 4.274 MB / 450.1 MB, free: 15.41 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.388e-05/0.4579, allocations: 12.03 kB / 450.1 MB, free: 15.4 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003252/0.4611, allocations: 453.2 kB / 450.5 MB, free: 14.96 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005029/0.4662, allocations: 1.662 MB / 452.2 MB, free: 13.24 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001961/0.4664, allocations: 160.8 kB / 452.3 MB, free: 13.08 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004365/0.4668, allocations: 215.9 kB / 452.5 MB, free: 12.87 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003675/0.4705, allocations: 2.149 MB / 454.7 MB, free: 10.61 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.943e-05/0.4706, allocations: 3.938 kB / 454.7 MB, free: 10.61 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001629/0.4708, allocations: 88 kB / 454.8 MB, free: 10.52 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-05/0.4708, allocations: 52 kB / 454.8 MB, free: 10.47 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003386/0.4742, allocations: 2.175 MB / 457 MB, free: 8.277 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.018/0.4922, allocations: 13.96 MB / 471 MB, free: 8.629 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005987/0.4982, allocations: 3.141 MB / 474.1 MB, free: 5.281 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0016/0.4998, allocations: 0.7949 MB / 474.9 MB, free: 4.488 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001527/0.5, allocations: 30 kB / 474.9 MB, free: 4.457 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.407e-05/0.5001, allocations: 52.56 kB / 475 MB, free: 4.398 MB / 350.1 MB Notification: Performance of pre-optimization done (n=217): time 4.769e-06/0.5001, allocations: 0 / 475 MB, free: 4.398 MB / 350.1 MB Notification: Performance of matching and sorting (n=217): time 0.01145/0.5115, allocations: 3.457 MB / 478.4 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.46e-05/0.5117, allocations: 77.39 kB / 478.5 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003563/0.5152, allocations: 1.517 MB / 480 MB, free: 15.21 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001245/0.5154, allocations: 61.7 kB / 480.1 MB, free: 15.15 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001281/0.5167, allocations: 1.066 MB / 481.2 MB, free: 14.07 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001092/0.5178, allocations: 0.7469 MB / 481.9 MB, free: 13.31 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001046/0.5188, allocations: 432.8 kB / 482.3 MB, free: 12.88 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.519, allocations: 313.1 kB / 482.6 MB, free: 12.57 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001604/0.5206, allocations: 0.6532 MB / 483.3 MB, free: 11.92 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002205/0.5228, allocations: 1.214 MB / 484.5 MB, free: 10.47 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003964/0.5268, allocations: 2.028 MB / 486.5 MB, free: 8.191 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.129e-05/0.5268, allocations: 4 kB / 486.5 MB, free: 8.188 MB / 366.1 MB Notification: Performance of matching and sorting (n=326) (initialization): time 0.007285/0.5341, allocations: 2.68 MB / 489.2 MB, free: 5.445 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.43e-05/0.5341, allocations: 8.406 kB / 489.2 MB, free: 5.438 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.857e-05/0.5342, allocations: 20 kB / 489.2 MB, free: 5.418 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001869/0.5361, allocations: 0.5462 MB / 489.8 MB, free: 4.863 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002136/0.5382, allocations: 0.5734 MB / 490.4 MB, free: 4.289 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009783/0.548, allocations: 7.615 MB / 498 MB, free: 12.28 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002827/0.5509, allocations: 210.3 kB / 498.2 MB, free: 12.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003823/0.5513, allocations: 96 kB / 498.3 MB, free: 11.98 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.001387/0.5527, allocations: 489 kB / 498.8 MB, free: 11.49 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000865/0.5535, allocations: 237.2 kB / 499 MB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004511/0.5581, allocations: 2.148 MB / 0.4894 GB, free: 9.082 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.752e-05/0.5581, allocations: 23.94 kB / 0.4894 GB, free: 9.059 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/0.5581, allocations: 0 / 0.4894 GB, free: 9.059 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.935e-05/0.5581, allocations: 11.95 kB / 0.4894 GB, free: 9.047 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008465/0.5666, allocations: 4.904 MB / 0.4942 GB, free: 3.918 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.115e-05/0.5666, allocations: 4 kB / 0.4942 GB, free: 3.914 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001539/0.5682, allocations: 391.8 kB / 0.4946 GB, free: 3.531 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001716/0.5699, allocations: 0.5105 MB / 0.4951 GB, free: 3.012 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001309/0.5701, allocations: 40 kB / 0.4951 GB, free: 2.973 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009342/0.5794, allocations: 7.507 MB / 0.5025 GB, free: 11.05 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.375e-06/0.5794, allocations: 12.09 kB / 0.5025 GB, free: 11.04 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00714/0.5866, allocations: 4.181 MB / 0.5065 GB, free: 6.73 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00141/0.588, allocations: 461.9 kB / 0.507 GB, free: 6.258 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005592/0.5886, allocations: 47.94 kB / 0.507 GB, free: 6.211 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001685/0.5903, allocations: 71.59 kB / 0.5071 GB, free: 6.141 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003341/0.5907, allocations: 153.7 kB / 0.5073 GB, free: 5.992 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001027/0.5908, allocations: 56 kB / 0.5073 GB, free: 5.938 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002007/0.5928, allocations: 0.9803 MB / 0.5083 GB, free: 4.934 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5928, allocations: 0 / 0.5083 GB, free: 4.934 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.004208/0.597, allocations: 0.816 MB / 0.5091 GB, free: 4.117 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.0006488/0.5977, allocations: 280.6 kB / 0.5093 GB, free: 3.828 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.006885/0.6046, allocations: 2.464 MB / 0.5117 GB, free: 1.32 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 8.185e-06/0.6046, allocations: 0 / 0.5117 GB, free: 1.32 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.00251/0.6071, allocations: 1.398 MB / 0.5131 GB, free: 15.88 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002674/0.6098, allocations: 288.8 kB / 0.5134 GB, free: 15.62 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.01126/0.6211, allocations: 5.774 MB / 0.519 GB, free: 9.742 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001763/0.6229, allocations: 1.549 MB / 0.5205 GB, free: 8.156 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001676/0.6246, allocations: 288.9 kB / 0.5208 GB, free: 7.871 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004519/0.625, allocations: 139.4 kB / 0.5209 GB, free: 7.734 MB / 414.1 MB Notification: Performance of SimCode: time 9.02e-07/0.625, allocations: 0 / 0.5209 GB, free: 7.734 MB / 414.1 MB Notification: Performance of Templates: time 0.2412/0.8662, allocations: 25.11 MB / 0.5455 GB, free: 116.7 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=480 -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.pipe 2>&1)