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.001453/0.001453, allocations: 108 kB / 15.6 MB, free: 132 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.001603/0.001604, allocations: 193.4 kB / 16.53 MB, free: 6.391 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.31/1.31, allocations: 205.1 MB / 222.4 MB, free: 4.582 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.05928/0.05928, allocations: 14.16 MB / 283.9 MB, free: 7.094 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.00165/0.00165, allocations: 63.91 kB / 348 MB, free: 16.48 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08007/0.08174, allocations: 50.12 MB / 398.1 MB, free: 14.33 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow): time 0.01475/0.09652, allocations: 18.64 MB / 416.7 MB, free: 11.6 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01029/0.1068, allocations: 7.612 MB / 424.4 MB, free: 3.965 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001976/0.1088, allocations: 51.81 kB / 424.4 MB, free: 3.914 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002317/0.1112, allocations: 0.9979 MB / 425.4 MB, free: 2.91 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.1392/0.2504, allocations: 3.245 MB / 428.6 MB, free: 15.25 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001864/0.2523, allocations: 0.7742 MB / 429.4 MB, free: 15.25 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005866/0.2582, allocations: 5.681 MB / 435.1 MB, free: 15.25 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005789/0.2588, allocations: 380.8 kB / 435.5 MB, free: 15.16 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002567/0.2613, allocations: 1.893 MB / 437.4 MB, free: 15.05 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002342/0.2637, allocations: 2.016 MB / 439.4 MB, free: 14.73 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000337/0.264, allocations: 201.9 kB / 439.6 MB, free: 14.73 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001638/0.2657, allocations: 0.7248 MB / 440.3 MB, free: 14.73 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003284/0.266, allocations: 0.4931 MB / 440.8 MB, free: 14.63 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001492/0.2675, allocations: 1.682 MB / 442.5 MB, free: 13.87 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003524/0.2711, allocations: 3.969 MB / 446.4 MB, free: 12.46 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.2711, allocations: 4 kB / 446.4 MB, free: 12.46 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.2711, allocations: 0 / 446.4 MB, free: 12.46 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.358e-05/0.2711, allocations: 0 / 446.4 MB, free: 12.46 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.01389/0.285, allocations: 4.508 MB / 451 MB, free: 10.35 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.2851, allocations: 9.062 kB / 451 MB, free: 10.35 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002938/0.2854, allocations: 305.5 kB / 451.3 MB, free: 10.16 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001854/0.2872, allocations: 463.4 kB / 451.7 MB, free: 9.98 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002724/0.29, allocations: 1.741 MB / 453.5 MB, free: 8.945 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.205e-05/0.2901, allocations: 163.8 kB / 453.6 MB, free: 8.867 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000194/0.2903, allocations: 212.1 kB / 453.8 MB, free: 8.801 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002562/0.2928, allocations: 2.146 MB / 456 MB, free: 7.441 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.556e-05/0.2929, allocations: 6.531 kB / 456 MB, free: 7.441 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001465/0.293, allocations: 89.09 kB / 456.1 MB, free: 7.371 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.654e-05/0.2931, allocations: 53.97 kB / 456.1 MB, free: 7.371 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002929/0.296, allocations: 2.174 MB / 458.3 MB, free: 6.328 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.01655/0.3126, allocations: 15.25 MB / 473.5 MB, free: 5.848 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004081/0.3167, allocations: 3.117 MB / 476.7 MB, free: 2.555 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001023/0.3177, allocations: 0.791 MB / 477.4 MB, free: 1.766 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.912e-05/0.3178, allocations: 36.86 kB / 477.5 MB, free: 1.734 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.202e-05/0.3179, allocations: 56.56 kB / 477.5 MB, free: 1.672 MB / 334.1 MB Notification: Performance of pre-optimization done (n=217): time 3.516e-06/0.3179, allocations: 3.938 kB / 477.5 MB, free: 1.668 MB / 334.1 MB Notification: Performance of matching and sorting (n=217): time 0.007712/0.3256, allocations: 3.451 MB / 481 MB, free: 14.17 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.946e-05/0.3256, allocations: 73.41 kB / 481.1 MB, free: 14.09 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002222/0.3279, allocations: 1.685 MB / 482.7 MB, free: 12.36 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.215e-05/0.328, allocations: 57.7 kB / 482.8 MB, free: 12.29 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007137/0.3287, allocations: 1.069 MB / 483.9 MB, free: 11.22 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006535/0.3294, allocations: 0.7516 MB / 484.6 MB, free: 10.47 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005516/0.3299, allocations: 432.9 kB / 485 MB, free: 10.04 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.104e-05/0.33, allocations: 309 kB / 485.4 MB, free: 9.738 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001012/0.331, allocations: 0.6532 MB / 486 MB, free: 9.082 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001349/0.3324, allocations: 1.221 MB / 487.2 MB, free: 7.641 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002444/0.3348, allocations: 2.019 MB / 489.2 MB, free: 5.402 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.598e-06/0.3349, allocations: 4 kB / 489.2 MB, free: 5.398 MB / 350.1 MB Notification: Performance of matching and sorting (n=326) (initialization): time 0.004431/0.3393, allocations: 2.685 MB / 491.9 MB, free: 2.652 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.583e-05/0.3393, allocations: 12 kB / 491.9 MB, free: 2.641 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.192e-05/0.3394, allocations: 19.94 kB / 492 MB, free: 2.621 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001654/0.341, allocations: 0.5449 MB / 492.5 MB, free: 2.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002009/0.343, allocations: 0.5695 MB / 493.1 MB, free: 1.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008396/0.3514, allocations: 7.721 MB / 0.4891 GB, free: 9.391 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002287/0.3537, allocations: 182.6 kB / 0.4892 GB, free: 9.211 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001545/0.3539, allocations: 99.98 kB / 0.4893 GB, free: 9.113 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.0006983/0.3546, allocations: 490.2 kB / 0.4898 GB, free: 8.625 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000418/0.355, allocations: 241.1 kB / 0.49 GB, free: 8.387 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003597/0.3586, allocations: 2.148 MB / 0.4921 GB, free: 6.215 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-05/0.3587, allocations: 24 kB / 0.4921 GB, free: 6.191 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.3587, allocations: 4 kB / 0.4922 GB, free: 6.188 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.737e-05/0.3587, allocations: 11.95 kB / 0.4922 GB, free: 6.176 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007089/0.3658, allocations: 5.257 MB / 0.4973 GB, free: 0.7383 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.756e-06/0.3658, allocations: 8 kB / 0.4973 GB, free: 0.7305 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001502/0.3673, allocations: 388.1 kB / 0.4977 GB, free: 360 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001567/0.3689, allocations: 0.5077 MB / 0.4982 GB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001284/0.3691, allocations: 40 kB / 0.4982 GB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008762/0.3778, allocations: 7.567 MB / 0.5056 GB, free: 7.816 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.354e-06/0.3779, allocations: 7.938 kB / 0.5056 GB, free: 7.809 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004483/0.3824, allocations: 2.303 MB / 0.5079 GB, free: 5.422 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001349/0.3837, allocations: 0.5097 MB / 0.5084 GB, free: 4.891 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005062/0.3842, allocations: 40 kB / 0.5084 GB, free: 4.852 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001687/0.3859, allocations: 59.84 kB / 0.5084 GB, free: 4.793 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000255/0.3862, allocations: 149.7 kB / 0.5086 GB, free: 4.645 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.128e-05/0.3863, allocations: 52.09 kB / 0.5086 GB, free: 4.594 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001593/0.3879, allocations: 1.117 MB / 0.5097 GB, free: 3.453 MB / 382.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3879, allocations: 0 / 0.5097 GB, free: 3.453 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00257/0.3905, allocations: 0.8783 MB / 0.5106 GB, free: 2.574 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.004104/0.3946, allocations: 3.066 MB / 0.5136 GB, free: 15.43 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.005552/0.4001, allocations: 2.444 MB / 0.516 GB, free: 12.95 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.4002, allocations: 1.875 kB / 0.516 GB, free: 12.95 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 simulation system equations: time 0.001974/0.4021, allocations: 1.39 MB / 0.5173 GB, free: 11.52 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001531/0.4037, allocations: 337.3 kB / 0.5177 GB, free: 11.19 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.024/0.4277, allocations: 18.7 MB / 0.5359 GB, free: 6.676 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001027/0.4287, allocations: 1.49 MB / 0.5374 GB, free: 5.148 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001312/0.4301, allocations: 292.9 kB / 0.5376 GB, free: 4.859 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001059/0.4311, allocations: 0.882 MB / 0.5385 GB, free: 3.977 MB / 414.1 MB Notification: Performance of SimCode: time 2.7e-07/0.4311, allocations: 0 / 0.5385 GB, free: 3.977 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.862/2.293, allocations: 50.7 MB / 0.588 GB, free: 1.254 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.86/17.15, allocations: 3.859 kB / 0.588 GB, free: 1.25 MB / 462.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)