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.0008556/0.0008556, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005597/0.005597, allocations: 169.2 kB / 16.26 MB, free: 6.652 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.302/1.302, allocations: 205.4 MB / 222.4 MB, free: 5.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.05695/0.05695, allocations: 14.16 MB / 284.9 MB, free: 7.023 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.0004559/0.000456, allocations: 15.98 kB / 349.6 MB, free: 16.71 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08074/0.08121, allocations: 51.1 MB / 400.7 MB, free: 13.56 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow): time 0.0144/0.09564, allocations: 18.24 MB / 419 MB, free: 11.24 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01191/0.1076, allocations: 7.551 MB / 426.5 MB, free: 3.668 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002231/0.1099, allocations: 55.75 kB / 426.6 MB, free: 3.613 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002113/0.112, allocations: 0.8672 MB / 427.4 MB, free: 2.742 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.1595/0.2715, allocations: 2.976 MB / 430.4 MB, free: 14.7 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001938/0.2735, allocations: 0.7232 MB / 431.1 MB, free: 14.7 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.006511/0.28, allocations: 5.745 MB / 436.9 MB, free: 14.7 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000531/0.2805, allocations: 346 kB / 437.2 MB, free: 14.61 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002077/0.2826, allocations: 1.466 MB / 438.7 MB, free: 14.48 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001617/0.2842, allocations: 1.607 MB / 440.3 MB, free: 14.1 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001667/0.2844, allocations: 79.25 kB / 440.4 MB, free: 14.1 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001366/0.2858, allocations: 0.5303 MB / 440.9 MB, free: 14.08 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002655/0.286, allocations: 346.5 kB / 441.2 MB, free: 13.96 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001263/0.2873, allocations: 1.47 MB / 442.7 MB, free: 13.44 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003194/0.2905, allocations: 3.521 MB / 446.2 MB, free: 12.89 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.2905, allocations: 0 / 446.2 MB, free: 12.89 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.2905, allocations: 1.062 kB / 446.2 MB, free: 12.89 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.471e-05/0.2906, allocations: 0 / 446.2 MB, free: 12.89 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.01118/0.3018, allocations: 3.774 MB / 450 MB, free: 11.55 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.3018, allocations: 9.938 kB / 450 MB, free: 11.55 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000392/0.3022, allocations: 300.3 kB / 450.3 MB, free: 11.5 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001695/0.3039, allocations: 455.5 kB / 450.7 MB, free: 11.35 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002432/0.3064, allocations: 1.662 MB / 452.4 MB, free: 10.57 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.081e-05/0.3064, allocations: 161.8 kB / 452.6 MB, free: 10.5 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000211/0.3067, allocations: 213.9 kB / 452.8 MB, free: 10.43 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002775/0.3094, allocations: 2.145 MB / 454.9 MB, free: 9.066 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.63e-05/0.3095, allocations: 4 kB / 454.9 MB, free: 9.062 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001442/0.3096, allocations: 87.69 kB / 455 MB, free: 8.996 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.64e-05/0.3097, allocations: 57.98 kB / 455.1 MB, free: 8.992 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002767/0.3125, allocations: 2.172 MB / 457.2 MB, free: 7.938 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.01082/0.3233, allocations: 13.98 MB / 471.2 MB, free: 9.371 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004136/0.3274, allocations: 3.12 MB / 474.3 MB, free: 6.055 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001048/0.3285, allocations: 0.7949 MB / 475.1 MB, free: 5.266 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.369e-05/0.3286, allocations: 33.98 kB / 475.2 MB, free: 5.23 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.993e-05/0.3286, allocations: 56.59 kB / 475.2 MB, free: 5.168 MB / 334.1 MB Notification: Performance of pre-optimization done (n=217): time 3.076e-06/0.3286, allocations: 0 / 475.2 MB, free: 5.168 MB / 334.1 MB Notification: Performance of matching and sorting (n=217): time 0.007779/0.3364, allocations: 3.482 MB / 478.7 MB, free: 1.625 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.441e-05/0.3365, allocations: 73.41 kB / 478.8 MB, free: 1.539 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001729/0.3382, allocations: 1.529 MB / 480.3 MB, free: 15.96 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.443e-05/0.3383, allocations: 61.7 kB / 480.4 MB, free: 15.9 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006891/0.339, allocations: 1.06 MB / 481.4 MB, free: 14.83 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005554/0.3396, allocations: 0.7493 MB / 482.2 MB, free: 14.09 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000216/0.3398, allocations: 198.9 kB / 482.4 MB, free: 13.89 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.302e-05/0.3399, allocations: 305.1 kB / 482.7 MB, free: 13.59 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009903/0.3409, allocations: 0.6571 MB / 483.3 MB, free: 12.93 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00135/0.3423, allocations: 1.218 MB / 484.5 MB, free: 11.48 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002534/0.3448, allocations: 2.021 MB / 486.6 MB, free: 9.207 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.085e-06/0.3448, allocations: 4 kB / 486.6 MB, free: 9.203 MB / 350.1 MB Notification: Performance of matching and sorting (n=326) (initialization): time 0.004285/0.3491, allocations: 2.68 MB / 489.2 MB, free: 6.461 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.343e-05/0.3491, allocations: 12 kB / 489.3 MB, free: 6.449 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.944e-05/0.3492, allocations: 16 kB / 489.3 MB, free: 6.434 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001642/0.3508, allocations: 0.539 MB / 489.8 MB, free: 5.887 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002003/0.3528, allocations: 0.5734 MB / 490.4 MB, free: 5.312 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007907/0.3607, allocations: 6.972 MB / 497.4 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001779/0.3625, allocations: 210.2 kB / 497.6 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000135/0.3627, allocations: 96 kB / 497.6 MB, free: 13.66 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.0007529/0.3634, allocations: 482.2 kB / 498.1 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002921/0.3637, allocations: 237.2 kB / 498.4 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003711/0.3675, allocations: 2.144 MB / 0.4888 GB, free: 10.78 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-05/0.3675, allocations: 20 kB / 0.4888 GB, free: 10.76 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.3675, allocations: 0 / 0.4888 GB, free: 10.76 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.705e-05/0.3675, allocations: 11.95 kB / 0.4888 GB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006548/0.3741, allocations: 4.907 MB / 0.4936 GB, free: 5.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.196e-06/0.3741, allocations: 4 kB / 0.4936 GB, free: 5.656 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001486/0.3756, allocations: 399.9 kB / 0.494 GB, free: 5.266 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001556/0.3771, allocations: 0.495 MB / 0.4945 GB, free: 4.762 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.681e-05/0.3772, allocations: 43.94 kB / 0.4945 GB, free: 4.719 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007402/0.3846, allocations: 6.856 MB / 0.5012 GB, free: 13.47 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.3847, allocations: 4 kB / 0.5012 GB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003547/0.3882, allocations: 2.307 MB / 0.5035 GB, free: 11.07 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006943/0.3889, allocations: 454 kB / 0.5039 GB, free: 10.61 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002139/0.3891, allocations: 43.98 kB / 0.5039 GB, free: 10.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001085/0.3902, allocations: 79.69 kB / 0.504 GB, free: 10.49 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002193/0.3905, allocations: 153.7 kB / 0.5041 GB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.14e-05/0.3905, allocations: 56 kB / 0.5042 GB, free: 10.28 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001191/0.3917, allocations: 0.9919 MB / 0.5052 GB, free: 9.266 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3917, allocations: 0 / 0.5052 GB, free: 9.266 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002008/0.3938, allocations: 0.808 MB / 0.506 GB, free: 8.457 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.003934/0.3977, allocations: 3.041 MB / 0.5089 GB, free: 5.34 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003358/0.4011, allocations: 2.373 MB / 0.5112 GB, free: 2.934 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.4011, allocations: 1.812 kB / 0.5112 GB, free: 2.934 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001832/0.4029, allocations: 1.39 MB / 0.5126 GB, free: 1.504 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002055/0.405, allocations: 257.7 kB / 0.5129 GB, free: 1.246 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.02469/0.4297, allocations: 18.53 MB / 0.5309 GB, free: 12.97 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001296/0.431, allocations: 1.493 MB / 0.5324 GB, free: 11.45 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001385/0.4324, allocations: 297.9 kB / 0.5327 GB, free: 11.15 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001074/0.4335, allocations: 0.8664 MB / 0.5335 GB, free: 10.29 MB / 414.1 MB Notification: Performance of SimCode: time 7.01e-07/0.4335, allocations: 0 / 0.5335 GB, free: 10.29 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07043/0.5039, allocations: 42.8 MB / 0.5753 GB, free: 15.56 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002138/0.5042, allocations: 244.7 kB / 0.5756 GB, free: 15.3 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.681/3.185, allocations: 0 / 0.5756 GB, free: 15.3 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)