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.001112/0.001112, allocations: 104.5 kB / 16.53 MB, free: 6.668 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.001074/0.001074, allocations: 198.5 kB / 17.45 MB, free: 6.039 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.499/1.499, allocations: 205.1 MB / 223.3 MB, free: 12.48 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06124/0.06124, allocations: 14.16 MB / 284.8 MB, free: 14.16 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.002184/0.002184, allocations: 67.81 kB / 348.4 MB, free: 14.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2868/0.289, allocations: 50.13 MB / 398.6 MB, free: 48.8 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow): time 0.01832/0.3074, allocations: 18.99 MB / 417.6 MB, free: 32.58 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01095/0.3184, allocations: 7.675 MB / 425.2 MB, free: 24.88 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003394/0.3218, allocations: 51.81 kB / 425.3 MB, free: 24.83 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003033/0.3249, allocations: 0.8711 MB / 426.1 MB, free: 23.96 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008154/0.3331, allocations: 3.015 MB / 429.2 MB, free: 20.97 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002019/0.3351, allocations: 0.7282 MB / 429.9 MB, free: 20.25 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.006963/0.3421, allocations: 5.735 MB / 435.6 MB, free: 14.49 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000902/0.343, allocations: 354.9 kB / 436 MB, free: 14.12 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002511/0.3456, allocations: 1.485 MB / 437.5 MB, free: 12.63 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002508/0.3481, allocations: 1.625 MB / 439.1 MB, free: 11 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006156/0.3487, allocations: 91.94 kB / 439.2 MB, free: 10.91 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0032/0.3519, allocations: 0.5348 MB / 439.7 MB, free: 10.38 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005446/0.3525, allocations: 357.7 kB / 440.1 MB, free: 10.02 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002005/0.3545, allocations: 1.457 MB / 441.5 MB, free: 8.559 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002482/0.357, allocations: 2.892 MB / 444.4 MB, free: 5.66 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.644e-06/0.357, allocations: 4 kB / 444.4 MB, free: 5.656 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.357, allocations: 4 kB / 444.4 MB, free: 5.652 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.195e-05/0.3571, allocations: 0 / 444.4 MB, free: 5.652 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.01351/0.3706, allocations: 4.247 MB / 448.7 MB, free: 1.336 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.3706, allocations: 11.97 kB / 448.7 MB, free: 1.324 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001813/0.3725, allocations: 461.1 kB / 449.1 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002929/0.3754, allocations: 1.65 MB / 450.8 MB, free: 15.16 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001151/0.3755, allocations: 164.8 kB / 450.9 MB, free: 15 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002506/0.3758, allocations: 211.9 kB / 451.1 MB, free: 14.79 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003342/0.3791, allocations: 2.149 MB / 453.3 MB, free: 12.53 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.748e-05/0.3792, allocations: 0 / 453.3 MB, free: 12.53 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001688/0.3794, allocations: 96 kB / 453.4 MB, free: 12.44 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.775e-05/0.3794, allocations: 52 kB / 453.4 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003369/0.3828, allocations: 2.172 MB / 455.6 MB, free: 10.2 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.01487/0.3977, allocations: 13.97 MB / 469.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004294/0.402, allocations: 3.129 MB / 472.7 MB, free: 7.211 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001138/0.4031, allocations: 0.7988 MB / 473.5 MB, free: 6.414 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001508/0.4033, allocations: 29.98 kB / 473.5 MB, free: 6.383 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.599e-05/0.4033, allocations: 56.56 kB / 473.6 MB, free: 6.32 MB / 350.1 MB Notification: Performance of pre-optimization done (n=217): time 4.258e-06/0.4034, allocations: 0 / 473.6 MB, free: 6.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=217): time 0.008507/0.4119, allocations: 3.453 MB / 477 MB, free: 2.797 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.118e-05/0.412, allocations: 73.41 kB / 477.1 MB, free: 2.711 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002091/0.4141, allocations: 1.525 MB / 478.6 MB, free: 1.141 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001001/0.4142, allocations: 57.7 kB / 478.7 MB, free: 1.078 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007649/0.4149, allocations: 1.074 MB / 479.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000722/0.4157, allocations: 0.7508 MB / 480.5 MB, free: 15.23 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006154/0.4163, allocations: 424.9 kB / 480.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.376e-05/0.4164, allocations: 309.1 kB / 481.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00108/0.4175, allocations: 0.6571 MB / 481.9 MB, free: 13.84 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001516/0.419, allocations: 1.226 MB / 483.1 MB, free: 12.38 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002795/0.4218, allocations: 2.02 MB / 485.1 MB, free: 10.11 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-05/0.4218, allocations: 8 kB / 485.1 MB, free: 10.1 MB / 366.1 MB Notification: Performance of matching and sorting (n=326) (initialization): time 0.005411/0.4273, allocations: 2.68 MB / 487.8 MB, free: 7.359 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.058e-05/0.4273, allocations: 12 kB / 487.8 MB, free: 7.348 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.942e-05/0.4274, allocations: 16 kB / 487.9 MB, free: 7.332 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001864/0.4292, allocations: 0.5427 MB / 488.4 MB, free: 6.781 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002165/0.4314, allocations: 0.5695 MB / 489 MB, free: 6.211 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008834/0.4403, allocations: 6.962 MB / 495.9 MB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002373/0.4427, allocations: 210.3 kB / 496.1 MB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001683/0.4428, allocations: 96 kB / 496.2 MB, free: 14.56 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.0009159/0.4438, allocations: 489 kB / 496.7 MB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004113/0.4442, allocations: 237.3 kB / 496.9 MB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003859/0.448, allocations: 2.14 MB / 499.1 MB, free: 11.68 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-05/0.4481, allocations: 20 kB / 499.1 MB, free: 11.66 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.4481, allocations: 0 / 499.1 MB, free: 11.66 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.856e-05/0.4481, allocations: 19.95 kB / 499.1 MB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007609/0.4557, allocations: 4.892 MB / 0.4922 GB, free: 6.516 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-05/0.4558, allocations: 4 kB / 0.4922 GB, free: 6.512 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00155/0.4573, allocations: 392 kB / 0.4926 GB, free: 6.129 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001691/0.459, allocations: 0.5105 MB / 0.4931 GB, free: 5.609 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001376/0.4592, allocations: 44 kB / 0.4931 GB, free: 5.566 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008217/0.4674, allocations: 6.85 MB / 0.4998 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.4675, allocations: 4 kB / 0.4998 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006137/0.4736, allocations: 3.959 MB / 0.5037 GB, free: 10.23 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008847/0.4745, allocations: 461.9 kB / 0.5041 GB, free: 9.758 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002597/0.4748, allocations: 40 kB / 0.5042 GB, free: 9.719 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001158/0.476, allocations: 83.58 kB / 0.5042 GB, free: 9.637 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002959/0.4763, allocations: 149.8 kB / 0.5044 GB, free: 9.492 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.024e-05/0.4764, allocations: 55.94 kB / 0.5044 GB, free: 9.438 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00133/0.4777, allocations: 0.9881 MB / 0.5054 GB, free: 8.426 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4777, allocations: 0 / 0.5054 GB, free: 8.426 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002468/0.4802, allocations: 0.8042 MB / 0.5062 GB, free: 7.621 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.0004249/0.4806, allocations: 296.4 kB / 0.5065 GB, free: 7.32 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003886/0.4845, allocations: 2.374 MB / 0.5088 GB, free: 4.902 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.4845, allocations: 0 / 0.5088 GB, free: 4.902 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002036/0.4866, allocations: 1.387 MB / 0.5101 GB, free: 3.477 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001704/0.4883, allocations: 269.7 kB / 0.5104 GB, free: 3.215 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 linear, non-linear and system jacobian parts: time 0.007836/0.4961, allocations: 5.826 MB / 0.5161 GB, free: 13.29 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001091/0.4973, allocations: 1.549 MB / 0.5176 GB, free: 11.7 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006279/0.4979, allocations: 159.4 kB / 0.5177 GB, free: 11.55 MB / 414.1 MB Notification: Performance of SimCode: time 7.61e-07/0.4979, allocations: 0 / 0.5177 GB, free: 11.55 MB / 414.1 MB Notification: Performance of Templates: time 0.2143/0.7122, allocations: 57.62 MB / 0.574 GB, free: 88.8 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)