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.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_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.0015/0.0015, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.001627/0.001627, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.408/1.408, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06717/0.06717, allocations: 14.18 MB / 284.6 MB, free: 13.93 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.001761/0.001761, allocations: 67.91 kB / 348.5 MB, free: 13.87 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2199/0.2216, allocations: 50.13 MB / 398.7 MB, free: 48.82 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow): time 0.01259/0.2343, allocations: 18.62 MB / 417.3 MB, free: 32.71 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01143/0.2457, allocations: 7.612 MB / 424.9 MB, free: 25.07 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003792/0.2496, allocations: 47.88 kB / 425 MB, free: 25.03 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00318/0.2528, allocations: 1.013 MB / 426 MB, free: 24.01 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009036/0.2619, allocations: 3.243 MB / 429.2 MB, free: 20.79 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001906/0.2638, allocations: 0.7818 MB / 430 MB, free: 20.02 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.006227/0.27, allocations: 5.688 MB / 435.7 MB, free: 14.31 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007245/0.2708, allocations: 378.5 kB / 436 MB, free: 13.93 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002624/0.2734, allocations: 1.891 MB / 437.9 MB, free: 12.03 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002554/0.276, allocations: 2.008 MB / 439.9 MB, free: 10.01 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003832/0.2764, allocations: 200 kB / 440.1 MB, free: 9.816 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001938/0.2783, allocations: 0.7301 MB / 440.9 MB, free: 9.086 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00031/0.2786, allocations: 0.4976 MB / 441.4 MB, free: 8.586 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001536/0.2802, allocations: 1.672 MB / 443 MB, free: 6.906 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003936/0.2841, allocations: 3.968 MB / 447 MB, free: 2.926 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.2841, allocations: 4 kB / 447 MB, free: 2.922 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2841, allocations: 0 / 447 MB, free: 2.922 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.971e-05/0.2842, allocations: 0 / 447 MB, free: 2.922 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.01497/0.2992, allocations: 4.508 MB / 451.5 MB, free: 14.34 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/0.2992, allocations: 8.031 kB / 451.5 MB, free: 14.34 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002083/0.3013, allocations: 465.1 kB / 452 MB, free: 13.88 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003376/0.3047, allocations: 1.748 MB / 453.7 MB, free: 12.07 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001162/0.3048, allocations: 160.8 kB / 453.9 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002465/0.3051, allocations: 215.9 kB / 454.1 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003738/0.3088, allocations: 2.141 MB / 456.2 MB, free: 9.453 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.774e-05/0.3089, allocations: 0 / 456.2 MB, free: 9.453 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001905/0.3091, allocations: 92 kB / 456.3 MB, free: 9.363 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.311e-05/0.3092, allocations: 52 kB / 456.4 MB, free: 9.312 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003433/0.3126, allocations: 2.176 MB / 458.6 MB, free: 7.121 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.0201/0.3327, allocations: 15.25 MB / 473.8 MB, free: 6.156 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004417/0.3372, allocations: 3.121 MB / 476.9 MB, free: 2.832 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001114/0.3383, allocations: 0.7949 MB / 477.7 MB, free: 2.035 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001071/0.3384, allocations: 29.97 kB / 477.8 MB, free: 2.004 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.511e-05/0.3384, allocations: 56.56 kB / 477.8 MB, free: 1.941 MB / 350.1 MB Notification: Performance of pre-optimization done (n=217): time 4.618e-06/0.3385, allocations: 4 kB / 477.8 MB, free: 1.938 MB / 350.1 MB Notification: Performance of matching and sorting (n=217): time 0.008726/0.3472, allocations: 3.453 MB / 481.3 MB, free: 14.41 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.051e-05/0.3473, allocations: 77.41 kB / 481.3 MB, free: 14.32 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002768/0.35, allocations: 1.685 MB / 483 MB, free: 12.59 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000103/0.3502, allocations: 65.7 kB / 483.1 MB, free: 12.52 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008747/0.351, allocations: 1.054 MB / 484.1 MB, free: 11.45 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007815/0.3518, allocations: 0.7586 MB / 484.9 MB, free: 10.68 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006096/0.3524, allocations: 428.9 kB / 485.3 MB, free: 10.26 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.772e-05/0.3526, allocations: 305.1 kB / 485.6 MB, free: 9.957 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001085/0.3536, allocations: 0.6571 MB / 486.3 MB, free: 9.297 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00149/0.3551, allocations: 1.226 MB / 487.5 MB, free: 7.84 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002709/0.3579, allocations: 2.017 MB / 489.5 MB, free: 5.57 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.117e-05/0.3579, allocations: 4 kB / 489.5 MB, free: 5.566 MB / 366.1 MB Notification: Performance of matching and sorting (n=326) (initialization): time 0.005155/0.3631, allocations: 2.684 MB / 492.2 MB, free: 2.82 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.246e-05/0.3631, allocations: 12 kB / 492.2 MB, free: 2.809 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.601e-05/0.3631, allocations: 16 kB / 492.2 MB, free: 2.793 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001847/0.365, allocations: 0.5415 MB / 492.8 MB, free: 2.242 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00225/0.3672, allocations: 0.5695 MB / 493.3 MB, free: 1.672 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009705/0.377, allocations: 7.714 MB / 0.4893 GB, free: 9.562 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002811/0.3798, allocations: 186.6 kB / 0.4895 GB, free: 9.379 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003357/0.3802, allocations: 92 kB / 0.4896 GB, free: 9.289 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.001166/0.3813, allocations: 0.4892 MB / 0.4901 GB, free: 8.789 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007647/0.3821, allocations: 237.2 kB / 0.4903 GB, free: 8.555 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004185/0.3863, allocations: 2.148 MB / 0.4924 GB, free: 6.383 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.659e-05/0.3863, allocations: 20 kB / 0.4924 GB, free: 6.363 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.3863, allocations: 96 / 0.4924 GB, free: 6.363 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.907e-05/0.3864, allocations: 15.89 kB / 0.4924 GB, free: 6.348 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008215/0.3946, allocations: 5.267 MB / 0.4976 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.071e-05/0.3946, allocations: 4 kB / 0.4976 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001697/0.3963, allocations: 396 kB / 0.4979 GB, free: 476 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001773/0.3981, allocations: 0.4989 MB / 0.4984 GB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001245/0.3983, allocations: 51.98 kB / 0.4985 GB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00905/0.4073, allocations: 7.566 MB / 0.5059 GB, free: 7.93 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/0.4074, allocations: 8 kB / 0.5059 GB, free: 7.922 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004805/0.4122, allocations: 2.311 MB / 0.5081 GB, free: 5.527 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001501/0.4137, allocations: 0.5097 MB / 0.5086 GB, free: 4.996 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007284/0.4144, allocations: 40 kB / 0.5087 GB, free: 4.957 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002032/0.4165, allocations: 51.84 kB / 0.5087 GB, free: 4.906 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003357/0.4168, allocations: 157.6 kB / 0.5089 GB, free: 4.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001057/0.417, allocations: 56 kB / 0.5089 GB, free: 4.695 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00221/0.4192, allocations: 1.101 MB / 0.51 GB, free: 3.57 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.4192, allocations: 0 / 0.51 GB, free: 3.57 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003491/0.4227, allocations: 0.89 MB / 0.5109 GB, free: 2.68 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.0005464/0.4232, allocations: 280.7 kB / 0.5111 GB, free: 2.391 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.006868/0.4301, allocations: 2.456 MB / 0.5135 GB, free: 15.89 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.692e-06/0.4302, allocations: 4 kB / 0.5135 GB, free: 15.89 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 simulation system equations: time 0.002374/0.4325, allocations: 1.398 MB / 0.5149 GB, free: 14.45 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003146/0.4357, allocations: 329.2 kB / 0.5152 GB, free: 14.14 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.007712/0.4434, allocations: 3.772 MB / 0.5189 GB, free: 10.29 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00156/0.445, allocations: 1.486 MB / 0.5204 GB, free: 8.766 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008899/0.4459, allocations: 179.5 kB / 0.5205 GB, free: 8.59 MB / 414.1 MB Notification: Performance of SimCode: time 1.202e-06/0.4459, allocations: 3.938 kB / 0.5205 GB, free: 8.586 MB / 414.1 MB Notification: Performance of Templates: time 0.2583/0.7042, allocations: 59.73 MB / 0.5789 GB, free: 81.92 MB / 414.1 MB make -j1 -f PowerGrids_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.makefile (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 -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.pipe 2>&1)