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.001167/0.001167, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001208/0.001208, allocations: 193.9 kB / 16.14 MB, free: 6.66 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.132/1.132, allocations: 205.1 MB / 222 MB, free: 4.746 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.05512/0.05512, allocations: 14.16 MB / 283.5 MB, free: 7.289 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.00127/0.00127, allocations: 66.72 kB / 347.2 MB, free: 17.01 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07236/0.07364, allocations: 50.13 MB / 397.4 MB, free: 14.84 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow): time 0.01428/0.08796, allocations: 19 MB / 416.4 MB, free: 11.75 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01008/0.09807, allocations: 7.663 MB / 424 MB, free: 4.066 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001956/0.1, allocations: 63.75 kB / 424.1 MB, free: 4.004 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002266/0.1023, allocations: 0.8633 MB / 424.9 MB, free: 3.137 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006619/0.109, allocations: 3.008 MB / 428 MB, free: 156 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1372/0.2462, allocations: 0.7184 MB / 428.7 MB, free: 15.06 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.006161/0.2524, allocations: 5.75 MB / 434.4 MB, free: 15.06 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005055/0.2529, allocations: 354 kB / 434.8 MB, free: 14.98 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001744/0.2547, allocations: 1.482 MB / 436.3 MB, free: 14.87 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001595/0.2563, allocations: 1.626 MB / 437.9 MB, free: 14.56 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000185/0.2565, allocations: 91.38 kB / 438 MB, free: 14.56 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001324/0.2578, allocations: 0.5334 MB / 438.5 MB, free: 14.56 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002451/0.258, allocations: 355.5 kB / 438.8 MB, free: 14.46 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001188/0.2592, allocations: 1.459 MB / 440.3 MB, free: 14.03 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002925/0.2622, allocations: 3.61 MB / 443.9 MB, free: 13.48 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.2622, allocations: 3.156 kB / 443.9 MB, free: 13.48 MB / 318.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.2622, allocations: 1.375 kB / 443.9 MB, free: 13.48 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.659e-05/0.2622, allocations: 0 / 443.9 MB, free: 13.48 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.01108/0.2733, allocations: 4.251 MB / 448.2 MB, free: 11.77 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.2733, allocations: 9.25 kB / 448.2 MB, free: 11.77 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002415/0.2736, allocations: 305.7 kB / 448.5 MB, free: 11.58 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001528/0.2751, allocations: 462.8 kB / 448.9 MB, free: 11.4 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002061/0.2772, allocations: 1.65 MB / 450.6 MB, free: 10.43 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.836e-05/0.2773, allocations: 168.4 kB / 450.7 MB, free: 10.35 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001878/0.2775, allocations: 206.5 kB / 450.9 MB, free: 10.28 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002481/0.28, allocations: 2.147 MB / 453.1 MB, free: 9.195 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.311e-05/0.28, allocations: 3.531 kB / 453.1 MB, free: 9.195 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000141/0.2801, allocations: 93.02 kB / 453.2 MB, free: 9.121 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.64e-05/0.2802, allocations: 52.97 kB / 453.2 MB, free: 9.121 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002621/0.2828, allocations: 2.176 MB / 455.4 MB, free: 8.066 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.009949/0.2928, allocations: 13.96 MB / 469.4 MB, free: 9.543 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003781/0.2965, allocations: 3.131 MB / 472.5 MB, free: 6.219 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009805/0.2975, allocations: 0.7949 MB / 473.3 MB, free: 5.43 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001043/0.2977, allocations: 26 kB / 473.3 MB, free: 5.402 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.076e-05/0.2977, allocations: 60.5 kB / 473.4 MB, free: 5.336 MB / 334.1 MB Notification: Performance of pre-optimization done (n=217): time 3.356e-06/0.2977, allocations: 0 / 473.4 MB, free: 5.336 MB / 334.1 MB Notification: Performance of matching and sorting (n=217): time 0.00736/0.3051, allocations: 3.458 MB / 476.9 MB, free: 1.809 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.807e-05/0.3051, allocations: 77.34 kB / 476.9 MB, free: 1.719 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001754/0.3069, allocations: 1.517 MB / 478.4 MB, free: 160 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001046/0.307, allocations: 61.7 kB / 478.5 MB, free: 92 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000635/0.3076, allocations: 1.069 MB / 479.6 MB, free: 15.02 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005307/0.3082, allocations: 0.7474 MB / 480.3 MB, free: 14.27 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005278/0.3087, allocations: 440.8 kB / 480.8 MB, free: 13.84 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.082e-05/0.3088, allocations: 305.1 kB / 481 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009541/0.3098, allocations: 0.6571 MB / 481.7 MB, free: 12.88 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001396/0.3112, allocations: 1.212 MB / 482.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00241/0.3136, allocations: 2.027 MB / 484.9 MB, free: 9.16 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.446e-06/0.3136, allocations: 4 kB / 484.9 MB, free: 9.156 MB / 350.1 MB Notification: Performance of matching and sorting (n=326) (initialization): time 0.004241/0.3178, allocations: 2.688 MB / 487.6 MB, free: 6.406 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.731e-05/0.3179, allocations: 15.98 kB / 487.7 MB, free: 6.391 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.936e-05/0.3179, allocations: 16 kB / 487.7 MB, free: 6.375 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001727/0.3196, allocations: 0.5387 MB / 488.2 MB, free: 5.828 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001919/0.3216, allocations: 0.5734 MB / 488.8 MB, free: 5.254 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007557/0.3291, allocations: 6.961 MB / 495.7 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00183/0.331, allocations: 206.2 kB / 495.9 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001359/0.3311, allocations: 99.98 kB / 496 MB, free: 13.62 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.0007513/0.3319, allocations: 482.2 kB / 496.5 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00029/0.3322, allocations: 237.2 kB / 496.7 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003481/0.3357, allocations: 2.152 MB / 498.9 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.295e-05/0.3357, allocations: 20 kB / 498.9 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.3357, allocations: 1.125 kB / 498.9 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.489e-05/0.3357, allocations: 7.969 kB / 498.9 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006241/0.342, allocations: 4.897 MB / 0.492 GB, free: 5.621 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.798e-06/0.342, allocations: 8.062 kB / 0.492 GB, free: 5.613 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001405/0.3434, allocations: 391.5 kB / 0.4924 GB, free: 5.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0015/0.3449, allocations: 0.5028 MB / 0.4929 GB, free: 4.719 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.311e-05/0.345, allocations: 40 kB / 0.4929 GB, free: 4.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006962/0.352, allocations: 6.86 MB / 0.4996 GB, free: 13.43 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.853e-06/0.352, allocations: 4 kB / 0.4996 GB, free: 13.43 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003404/0.3554, allocations: 2.303 MB / 0.5019 GB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007421/0.3562, allocations: 458 kB / 0.5023 GB, free: 10.57 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002378/0.3564, allocations: 40 kB / 0.5023 GB, free: 10.53 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00103/0.3574, allocations: 79.59 kB / 0.5024 GB, free: 10.45 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002203/0.3577, allocations: 157.6 kB / 0.5026 GB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.288e-05/0.3578, allocations: 52.09 kB / 0.5026 GB, free: 10.25 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00115/0.3589, allocations: 0.9958 MB / 0.5036 GB, free: 9.227 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3589, allocations: 0 / 0.5036 GB, free: 9.227 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001962/0.3609, allocations: 0.8002 MB / 0.5044 GB, free: 8.426 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.003733/0.3646, allocations: 3.046 MB / 0.5074 GB, free: 5.301 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003178/0.3678, allocations: 2.363 MB / 0.5097 GB, free: 2.902 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3678, allocations: 4.062 kB / 0.5097 GB, free: 2.898 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001693/0.3695, allocations: 1.39 MB / 0.511 GB, free: 1.469 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001193/0.3707, allocations: 254.4 kB / 0.5113 GB, free: 1.215 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.02503/0.3958, allocations: 18.5 MB / 0.5293 GB, free: 12.98 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001/0.3968, allocations: 1.486 MB / 0.5308 GB, free: 11.46 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001293/0.3981, allocations: 295 kB / 0.5311 GB, free: 11.17 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009708/0.3991, allocations: 0.8625 MB / 0.5319 GB, free: 10.3 MB / 414.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3991, allocations: 0 / 0.5319 GB, free: 10.3 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06214/0.4612, allocations: 43.41 MB / 0.5743 GB, free: 14.94 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002089/0.4615, allocations: 240.9 kB / 0.5745 GB, free: 14.68 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.474/2.936, allocations: 0 / 0.5745 GB, free: 14.68 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)