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.008575/0.008575, allocations: 100.4 kB / 15.87 MB, free: 5.871 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.002092/0.002092, allocations: 191.5 kB / 16.79 MB, free: 5.816 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.533/1.533, allocations: 205.1 MB / 222.7 MB, free: 4.738 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06258/0.06258, allocations: 14.15 MB / 284.1 MB, free: 7.332 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.001406/0.001406, allocations: 67.05 kB / 347.8 MB, free: 17.13 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.106, allocations: 50.13 MB / 397.9 MB, free: 14.96 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow): time 0.01707/0.1231, allocations: 18.99 MB / 416.9 MB, free: 11.88 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.013/0.1361, allocations: 7.671 MB / 424.6 MB, free: 4.184 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003634/0.1398, allocations: 55.81 kB / 424.6 MB, free: 4.129 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003161/0.143, allocations: 0.8711 MB / 425.5 MB, free: 3.254 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009222/0.1523, allocations: 2.997 MB / 428.5 MB, free: 288 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1869/0.3391, allocations: 0.7366 MB / 429.2 MB, free: 14.98 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.008894/0.348, allocations: 5.746 MB / 435 MB, free: 14.98 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001278/0.3494, allocations: 349 kB / 435.3 MB, free: 14.9 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003864/0.3533, allocations: 1.479 MB / 436.8 MB, free: 14.8 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003937/0.3572, allocations: 1.63 MB / 438.4 MB, free: 14.49 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005157/0.3577, allocations: 87.5 kB / 438.5 MB, free: 14.49 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002958/0.3607, allocations: 0.5327 MB / 439 MB, free: 14.49 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003559/0.3611, allocations: 356.5 kB / 439.4 MB, free: 14.39 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002899/0.364, allocations: 1.459 MB / 440.9 MB, free: 13.96 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004217/0.3682, allocations: 2.895 MB / 443.8 MB, free: 13.75 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.3682, allocations: 7.219 kB / 443.8 MB, free: 13.74 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.3683, allocations: 0 / 443.8 MB, free: 13.74 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.26e-05/0.3684, allocations: 1.375 kB / 443.8 MB, free: 13.74 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.01532/0.3837, allocations: 4.245 MB / 448 MB, free: 12.13 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.3837, allocations: 10.16 kB / 448 MB, free: 12.13 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002121/0.3859, allocations: 460.9 kB / 448.5 MB, free: 11.95 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003117/0.389, allocations: 1.659 MB / 450.1 MB, free: 10.98 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.113e-05/0.3891, allocations: 164 kB / 450.3 MB, free: 10.9 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002247/0.3893, allocations: 209.2 kB / 450.5 MB, free: 10.83 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003172/0.3925, allocations: 2.154 MB / 452.6 MB, free: 9.797 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.93e-05/0.3926, allocations: 0 / 452.6 MB, free: 9.797 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001676/0.3927, allocations: 91.88 kB / 452.7 MB, free: 9.727 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-05/0.3928, allocations: 52.69 kB / 452.8 MB, free: 9.727 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003462/0.3963, allocations: 2.169 MB / 455 MB, free: 8.727 MB / 318.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.01371/0.41, allocations: 13.96 MB / 468.9 MB, free: 10.59 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004431/0.4145, allocations: 3.129 MB / 472 MB, free: 7.273 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001146/0.4156, allocations: 0.7949 MB / 472.8 MB, free: 6.484 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001185/0.4158, allocations: 30.08 kB / 472.9 MB, free: 6.453 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.901e-05/0.4158, allocations: 60.5 kB / 472.9 MB, free: 6.387 MB / 334.1 MB Notification: Performance of pre-optimization done (n=217): time 4.408e-06/0.4158, allocations: 0 / 472.9 MB, free: 6.387 MB / 334.1 MB Notification: Performance of matching and sorting (n=217): time 0.008764/0.4246, allocations: 3.452 MB / 476.4 MB, free: 2.867 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.636e-05/0.4247, allocations: 73.41 kB / 476.5 MB, free: 2.781 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002302/0.427, allocations: 1.525 MB / 478 MB, free: 1.211 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001192/0.4271, allocations: 61.7 kB / 478 MB, free: 1.145 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007544/0.4279, allocations: 1.069 MB / 479.1 MB, free: 72 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000734/0.4286, allocations: 0.7467 MB / 479.9 MB, free: 15.32 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005909/0.4292, allocations: 424.9 kB / 480.3 MB, free: 14.9 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.929e-05/0.4293, allocations: 317 kB / 480.6 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001093/0.4304, allocations: 0.661 MB / 481.2 MB, free: 13.93 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001456/0.4319, allocations: 1.212 MB / 482.4 MB, free: 12.48 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002663/0.4346, allocations: 2.027 MB / 484.5 MB, free: 10.21 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.096e-05/0.4346, allocations: 7.938 kB / 484.5 MB, free: 10.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=326) (initialization): time 0.005066/0.4397, allocations: 2.68 MB / 487.2 MB, free: 7.461 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.054e-05/0.4397, allocations: 12.41 kB / 487.2 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.46e-05/0.4397, allocations: 20 kB / 487.2 MB, free: 7.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00183/0.4416, allocations: 0.5347 MB / 487.7 MB, free: 6.887 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002116/0.4437, allocations: 0.5734 MB / 488.3 MB, free: 6.312 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008722/0.4524, allocations: 6.96 MB / 495.3 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002663/0.4551, allocations: 218.1 kB / 495.5 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001888/0.4553, allocations: 92 kB / 495.6 MB, free: 14.68 MB / 366.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.0009728/0.4563, allocations: 481.1 kB / 496 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004524/0.4568, allocations: 237.3 kB / 496.3 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00385/0.4606, allocations: 2.156 MB / 498.4 MB, free: 11.78 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-05/0.4607, allocations: 20 kB / 498.4 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.4607, allocations: 0 / 498.4 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-05/0.4607, allocations: 11.95 kB / 498.5 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007604/0.4683, allocations: 4.891 MB / 0.4915 GB, free: 6.676 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.016e-05/0.4684, allocations: 11.94 kB / 0.4916 GB, free: 6.664 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001595/0.47, allocations: 392 kB / 0.4919 GB, free: 6.281 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001739/0.4717, allocations: 0.5147 MB / 0.4924 GB, free: 5.758 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001041/0.4718, allocations: 40 kB / 0.4925 GB, free: 5.719 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008041/0.4799, allocations: 6.853 MB / 0.4992 GB, free: 14.47 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.591e-06/0.4799, allocations: 4 kB / 0.4992 GB, free: 14.47 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004275/0.4842, allocations: 2.299 MB / 0.5014 GB, free: 12.09 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001213/0.4854, allocations: 461.9 kB / 0.5019 GB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003046/0.4857, allocations: 40 kB / 0.5019 GB, free: 11.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001214/0.487, allocations: 79.58 kB / 0.502 GB, free: 11.5 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003015/0.4873, allocations: 145.8 kB / 0.5021 GB, free: 11.35 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.102e-05/0.4874, allocations: 59.94 kB / 0.5022 GB, free: 11.29 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001416/0.4888, allocations: 0.9881 MB / 0.5031 GB, free: 10.28 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4888, allocations: 0 / 0.5031 GB, free: 10.28 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002489/0.4913, allocations: 0.8043 MB / 0.5039 GB, free: 9.477 MB / 382.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.0004945/0.4918, allocations: 301.5 kB / 0.5042 GB, free: 9.184 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004028/0.4958, allocations: 2.367 MB / 0.5065 GB, free: 6.777 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/0.4959, allocations: 0 / 0.5065 GB, free: 6.777 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002118/0.498, allocations: 1.383 MB / 0.5079 GB, free: 5.359 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002013/0.5, allocations: 258.4 kB / 0.5081 GB, free: 5.105 MB / 382.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.007514/0.5075, allocations: 4.833 MB / 0.5128 GB, free: 220 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001171/0.5087, allocations: 1.486 MB / 0.5143 GB, free: 14.69 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007256/0.5095, allocations: 159.4 kB / 0.5144 GB, free: 14.54 MB / 398.1 MB Notification: Performance of SimCode: time 9.02e-07/0.5095, allocations: 96 / 0.5144 GB, free: 14.54 MB / 398.1 MB Notification: Performance of Templates: time 0.08848/0.598, allocations: 57.62 MB / 0.5707 GB, free: 4.824 MB / 446.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)