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: "" <> buildModelFMU(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow,fileNamePrefix="PowerGrids_PowerGrids_Examples_Tutorial_IslandOperation_PowerFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow,fileNamePrefix="PowerGrids_PowerGrids_Examples_Tutorial_IslandOperation_PowerFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001342/0.001342, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001448/0.001448, allocations: 190.7 kB / 16.67 MB, free: 6.574 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.593/1.593, allocations: 205.1 MB / 222.5 MB, free: 4.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06839/0.06839, allocations: 14.18 MB / 284.1 MB, free: 7.008 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.002178/0.002178, allocations: 75.88 kB / 398.8 MB, free: 13.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3094/0.3116, allocations: 50.13 MB / 448.9 MB, free: 2.832 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow): time 0.01946/0.3311, allocations: 18.62 MB / 467.5 MB, free: 3.805 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0173/0.3485, allocations: 7.613 MB / 475.2 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004268/0.3528, allocations: 47.88 kB / 475.2 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003522/0.3564, allocations: 1.013 MB / 476.2 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01088/0.3673, allocations: 3.252 MB / 479.5 MB, free: 8.164 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002274/0.3696, allocations: 0.775 MB / 480.2 MB, free: 7.387 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.008649/0.3783, allocations: 5.712 MB / 486 MB, free: 1.652 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000885/0.3792, allocations: 386.1 kB / 486.3 MB, free: 1.258 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003908/0.3831, allocations: 1.899 MB / 488.2 MB, free: 15.35 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003617/0.3867, allocations: 2.016 MB / 490.2 MB, free: 13.32 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000478/0.3872, allocations: 204 kB / 490.4 MB, free: 13.12 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002531/0.3898, allocations: 0.7261 MB / 491.2 MB, free: 12.4 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005462/0.3903, allocations: 0.4899 MB / 491.7 MB, free: 11.91 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002572/0.3929, allocations: 1.672 MB / 493.3 MB, free: 10.23 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007627/0.4005, allocations: 4.216 MB / 497.5 MB, free: 6.004 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.964e-06/0.4006, allocations: 0 / 497.5 MB, free: 6.004 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.4006, allocations: 4 kB / 497.5 MB, free: 6 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.519e-05/0.4007, allocations: 0 / 497.5 MB, free: 6 MB / 366.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.01708/0.4178, allocations: 4.548 MB / 0.4903 GB, free: 1.379 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.239e-05/0.4178, allocations: 8.031 kB / 0.4903 GB, free: 1.371 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000457/0.4183, allocations: 304.4 kB / 0.4906 GB, free: 1.062 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002233/0.4205, allocations: 474.7 kB / 0.4911 GB, free: 0.5977 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004215/0.4248, allocations: 1.804 MB / 0.4928 GB, free: 14.74 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001429/0.4249, allocations: 164.5 kB / 0.493 GB, free: 14.57 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000307/0.4253, allocations: 212 kB / 0.4932 GB, free: 14.37 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003847/0.4291, allocations: 2.149 MB / 0.4953 GB, free: 12.11 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.139e-05/0.4292, allocations: 0 / 0.4953 GB, free: 12.11 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001723/0.4294, allocations: 92 kB / 0.4954 GB, free: 12.02 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.432e-05/0.4294, allocations: 60 kB / 0.4954 GB, free: 11.96 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003759/0.4332, allocations: 2.172 MB / 0.4976 GB, free: 9.773 MB / 382.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.02382/0.457, allocations: 15.17 MB / 0.5124 GB, free: 8.883 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00505/0.4621, allocations: 3.124 MB / 0.5154 GB, free: 5.555 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001371/0.4635, allocations: 0.7949 MB / 0.5162 GB, free: 4.762 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001439/0.4637, allocations: 29.98 kB / 0.5162 GB, free: 4.734 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.754e-05/0.4637, allocations: 56.56 kB / 0.5163 GB, free: 4.668 MB / 398.1 MB Notification: Performance of pre-optimization done (n=217): time 4.558e-06/0.4637, allocations: 0 / 0.5163 GB, free: 4.668 MB / 398.1 MB Notification: Performance of matching and sorting (n=217): time 0.009804/0.4736, allocations: 3.466 MB / 0.5197 GB, free: 1.133 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.027e-05/0.4737, allocations: 73.41 kB / 0.5197 GB, free: 1.051 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003261/0.4769, allocations: 1.689 MB / 0.5214 GB, free: 15.32 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001534/0.4771, allocations: 61.7 kB / 0.5215 GB, free: 15.25 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001063/0.4782, allocations: 1.088 MB / 0.5225 GB, free: 14.15 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009957/0.4792, allocations: 0.79 MB / 0.5233 GB, free: 13.35 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000636/0.4798, allocations: 437.1 kB / 0.5237 GB, free: 12.92 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.48, allocations: 313.1 kB / 0.524 GB, free: 12.61 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001133/0.4811, allocations: 0.657 MB / 0.5246 GB, free: 11.95 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001653/0.4828, allocations: 1.215 MB / 0.5258 GB, free: 10.51 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003012/0.4858, allocations: 2.024 MB / 0.5278 GB, free: 8.23 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.495e-05/0.4858, allocations: 7.938 kB / 0.5278 GB, free: 8.223 MB / 414.1 MB Notification: Performance of matching and sorting (n=326) (initialization): time 0.005525/0.4914, allocations: 2.701 MB / 0.5305 GB, free: 5.461 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.921e-05/0.4914, allocations: 15.98 kB / 0.5305 GB, free: 5.445 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.068e-05/0.4915, allocations: 12 kB / 0.5305 GB, free: 5.434 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001941/0.4934, allocations: 0.5255 MB / 0.531 GB, free: 4.898 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002239/0.4957, allocations: 0.5773 MB / 0.5316 GB, free: 4.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01052/0.5062, allocations: 7.707 MB / 0.5391 GB, free: 12.21 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00308/0.5093, allocations: 202.9 kB / 0.5393 GB, free: 12.01 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002579/0.5096, allocations: 96 kB / 0.5394 GB, free: 11.92 MB / 430.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.001138/0.5108, allocations: 481.2 kB / 0.5398 GB, free: 11.44 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007093/0.5115, allocations: 246.5 kB / 0.5401 GB, free: 11.2 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004296/0.5158, allocations: 2.148 MB / 0.5422 GB, free: 9.02 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-05/0.5158, allocations: 20 kB / 0.5422 GB, free: 9 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.5158, allocations: 0 / 0.5422 GB, free: 9 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.236e-05/0.5158, allocations: 7.969 kB / 0.5422 GB, free: 8.992 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008997/0.5249, allocations: 5.262 MB / 0.5473 GB, free: 3.504 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.139e-05/0.5249, allocations: 8.094 kB / 0.5473 GB, free: 3.496 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001639/0.5265, allocations: 387.5 kB / 0.5477 GB, free: 3.117 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001791/0.5283, allocations: 0.5025 MB / 0.5482 GB, free: 2.605 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001131/0.5285, allocations: 40 kB / 0.5482 GB, free: 2.566 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009915/0.5384, allocations: 7.569 MB / 0.5556 GB, free: 10.58 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.056e-05/0.5384, allocations: 11.92 kB / 0.5556 GB, free: 10.57 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004871/0.5433, allocations: 2.318 MB / 0.5579 GB, free: 8.168 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001317/0.5447, allocations: 0.5264 MB / 0.5584 GB, free: 7.621 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003253/0.545, allocations: 36 kB / 0.5585 GB, free: 7.586 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001564/0.5466, allocations: 56.08 kB / 0.5585 GB, free: 7.531 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000321/0.5469, allocations: 153.7 kB / 0.5587 GB, free: 7.383 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001039/0.547, allocations: 55.98 kB / 0.5587 GB, free: 7.328 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001814/0.5488, allocations: 1.105 MB / 0.5598 GB, free: 6.199 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5488, allocations: 0 / 0.5598 GB, free: 6.199 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002937/0.5518, allocations: 0.8901 MB / 0.5607 GB, free: 5.309 MB / 446.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.005458/0.5572, allocations: 3.053 MB / 0.5636 GB, free: 2.168 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00477/0.5621, allocations: 2.383 MB / 0.566 GB, free: 15.75 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.5621, allocations: 4.188 kB / 0.566 GB, free: 15.74 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002483/0.5646, allocations: 1.409 MB / 0.5673 GB, free: 14.29 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002722/0.5673, allocations: 337.5 kB / 0.5677 GB, free: 13.96 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03219/0.5995, allocations: 16.5 MB / 0.5838 GB, free: 12.66 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001402/0.601, allocations: 1.482 MB / 0.5852 GB, free: 11.14 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001332/0.6023, allocations: 300.9 kB / 0.5855 GB, free: 10.84 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001357/0.6037, allocations: 0.882 MB / 0.5864 GB, free: 9.961 MB / 478.1 MB Notification: Performance of SimCode: time 1.002e-06/0.6037, allocations: 4 kB / 0.5864 GB, free: 9.957 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3145/0.9182, allocations: 51.51 MB / 0.6367 GB, free: 114.6 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.74/17.66, allocations: 10.91 kB / 0.6367 GB, free: 114.6 MB / 478.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerGrids_PowerGrids_Examples_Tutorial_IslandOperation_PowerFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Examples_Tutorial_IslandOperation_PowerFlow.fmu > PowerGrids_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.pipe 2>&1)