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.001115/0.001115, allocations: 107.4 kB / 16.28 MB, free: 5.941 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.001323/0.001323, allocations: 189.5 kB / 17.2 MB, free: 5.578 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.386/1.386, 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.066/0.066, allocations: 14.17 MB / 284.6 MB, free: 13.92 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.001717/0.001718, allocations: 71.81 kB / 348.6 MB, free: 13.84 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2233/0.2251, allocations: 50.12 MB / 398.7 MB, free: 48.8 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow): time 0.01223/0.2373, allocations: 18.62 MB / 417.3 MB, free: 32.69 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01131/0.2487, allocations: 7.62 MB / 424.9 MB, free: 25.04 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003698/0.2524, allocations: 51.81 kB / 425 MB, free: 24.99 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002654/0.2551, allocations: 1.002 MB / 426 MB, free: 23.98 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008563/0.2637, allocations: 3.255 MB / 429.2 MB, free: 20.76 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00179/0.2655, allocations: 0.7666 MB / 430 MB, free: 20 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005756/0.2713, allocations: 5.692 MB / 435.7 MB, free: 14.29 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006088/0.2719, allocations: 382.4 kB / 436.1 MB, free: 13.9 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002127/0.2741, allocations: 1.891 MB / 437.9 MB, free: 12 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001795/0.2759, allocations: 2.012 MB / 440 MB, free: 9.98 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000322/0.2762, allocations: 200 kB / 440.2 MB, free: 9.785 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001601/0.2778, allocations: 0.7224 MB / 440.9 MB, free: 9.062 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002863/0.2781, allocations: 0.5015 MB / 441.4 MB, free: 8.559 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001285/0.2794, allocations: 1.672 MB / 443 MB, free: 6.879 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00317/0.2826, allocations: 3.972 MB / 447 MB, free: 2.895 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.2826, allocations: 0 / 447 MB, free: 2.895 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.2826, allocations: 0 / 447 MB, free: 2.895 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.343e-05/0.2827, allocations: 4 kB / 447 MB, free: 2.891 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.01401/0.2967, allocations: 4.508 MB / 451.5 MB, free: 14.31 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.2967, allocations: 8.031 kB / 451.5 MB, free: 14.3 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001922/0.2986, allocations: 465 kB / 452 MB, free: 13.85 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003106/0.3018, allocations: 1.74 MB / 453.7 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001058/0.3019, allocations: 164.8 kB / 453.9 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002427/0.3021, allocations: 211.9 kB / 454.1 MB, free: 11.68 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003296/0.3054, allocations: 2.151 MB / 456.3 MB, free: 9.422 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.661e-05/0.3055, allocations: 0 / 456.3 MB, free: 9.422 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001709/0.3057, allocations: 96 kB / 456.3 MB, free: 9.328 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.537e-05/0.3057, allocations: 52 kB / 456.4 MB, free: 9.277 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003396/0.3091, allocations: 2.175 MB / 458.6 MB, free: 7.086 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.02129/0.3304, allocations: 15.25 MB / 473.8 MB, free: 6.125 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004483/0.3349, allocations: 3.117 MB / 476.9 MB, free: 2.805 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001114/0.3361, allocations: 0.7989 MB / 477.7 MB, free: 2.004 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001039/0.3362, allocations: 29.98 kB / 477.8 MB, free: 1.973 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.463e-05/0.3362, allocations: 56.56 kB / 477.8 MB, free: 1.91 MB / 350.1 MB Notification: Performance of pre-optimization done (n=217): time 3.827e-06/0.3362, allocations: 0 / 477.8 MB, free: 1.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=217): time 0.008727/0.345, allocations: 3.453 MB / 481.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.231e-05/0.3451, allocations: 73.41 kB / 481.3 MB, free: 14.3 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002878/0.348, allocations: 1.689 MB / 483 MB, free: 12.57 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001117/0.3481, allocations: 57.7 kB / 483.1 MB, free: 12.5 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007955/0.3489, allocations: 1.062 MB / 484.2 MB, free: 11.43 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007687/0.3497, allocations: 0.7508 MB / 484.9 MB, free: 10.66 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005569/0.3502, allocations: 428.9 kB / 485.3 MB, free: 10.24 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001033/0.3503, allocations: 305.1 kB / 485.6 MB, free: 9.938 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001075/0.3514, allocations: 0.661 MB / 486.3 MB, free: 9.273 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001518/0.3529, allocations: 1.226 MB / 487.5 MB, free: 7.816 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00266/0.3556, allocations: 2.02 MB / 489.5 MB, free: 5.543 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-05/0.3556, allocations: 4 kB / 489.5 MB, free: 5.539 MB / 366.1 MB Notification: Performance of matching and sorting (n=326) (initialization): time 0.005074/0.3607, allocations: 2.68 MB / 492.2 MB, free: 2.797 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.965e-05/0.3608, allocations: 12.41 kB / 492.2 MB, free: 2.785 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.441e-05/0.3608, allocations: 23.94 kB / 492.3 MB, free: 2.762 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001784/0.3626, allocations: 0.5411 MB / 492.8 MB, free: 2.211 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002168/0.3648, allocations: 0.5695 MB / 493.4 MB, free: 1.641 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009484/0.3743, allocations: 7.71 MB / 0.4893 GB, free: 9.535 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002659/0.377, allocations: 186.6 kB / 0.4895 GB, free: 9.352 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001713/0.3771, allocations: 99.94 kB / 0.4896 GB, free: 9.254 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.0008938/0.378, allocations: 493 kB / 0.4901 GB, free: 8.762 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004977/0.3786, allocations: 237.2 kB / 0.4903 GB, free: 8.527 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004024/0.3826, allocations: 2.152 MB / 0.4924 GB, free: 6.352 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.447e-05/0.3826, allocations: 20 kB / 0.4924 GB, free: 6.332 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.3826, allocations: 4 kB / 0.4924 GB, free: 6.328 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.93e-05/0.3827, allocations: 11.95 kB / 0.4924 GB, free: 6.316 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008272/0.3909, allocations: 5.259 MB / 0.4976 GB, free: 0.832 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.049e-05/0.391, allocations: 4 kB / 0.4976 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001596/0.3926, allocations: 391.8 kB / 0.4979 GB, free: 456 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001697/0.3943, allocations: 0.5024 MB / 0.4984 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001128/0.3944, allocations: 43.98 kB / 0.4985 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008831/0.4033, allocations: 7.568 MB / 0.5059 GB, free: 7.91 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.843e-06/0.4033, allocations: 12 kB / 0.5059 GB, free: 7.898 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006785/0.4101, allocations: 4.184 MB / 0.51 GB, free: 3.582 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001248/0.4114, allocations: 0.5097 MB / 0.5105 GB, free: 3.051 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003218/0.4117, allocations: 44.05 kB / 0.5105 GB, free: 3.008 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001555/0.4133, allocations: 63.78 kB / 0.5106 GB, free: 2.945 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002889/0.4136, allocations: 145.7 kB / 0.5107 GB, free: 2.805 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.939e-05/0.4137, allocations: 60 kB / 0.5108 GB, free: 2.746 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001623/0.4153, allocations: 1.105 MB / 0.5118 GB, free: 1.617 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4153, allocations: 0 / 0.5118 GB, free: 1.617 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002928/0.4183, allocations: 0.89 MB / 0.5127 GB, free: 0.7266 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.0005259/0.4188, allocations: 290.2 kB / 0.513 GB, free: 440 kB / 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.006478/0.4253, allocations: 2.456 MB / 0.5154 GB, free: 13.93 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 8.065e-06/0.4253, allocations: 0 / 0.5154 GB, free: 13.93 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.002243/0.4276, allocations: 1.394 MB / 0.5167 GB, free: 12.49 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002366/0.43, allocations: 326.3 kB / 0.5171 GB, free: 12.18 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.007623/0.4376, allocations: 4.741 MB / 0.5217 GB, free: 7.352 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001177/0.4388, allocations: 1.55 MB / 0.5232 GB, free: 5.762 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001619/0.4404, allocations: 296.9 kB / 0.5235 GB, free: 5.469 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005402/0.441, allocations: 159.4 kB / 0.5236 GB, free: 5.312 MB / 414.1 MB Notification: Performance of SimCode: time 6.91e-07/0.441, allocations: 0 / 0.5236 GB, free: 5.312 MB / 414.1 MB Notification: Performance of Templates: time 0.2139/0.6549, allocations: 30.37 MB / 0.5533 GB, free: 110.1 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)