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.006488/0.006488, allocations: 107.4 kB / 15.74 MB, free: 5.996 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.001342/0.001343, allocations: 197 kB / 16.67 MB, free: 5.918 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.465/1.465, allocations: 205.1 MB / 222.6 MB, free: 4.5 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06514/0.06514, allocations: 14.16 MB / 284.1 MB, free: 6.98 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.001589/0.001589, allocations: 71.83 kB / 398.8 MB, free: 13.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2587/0.2603, allocations: 50.12 MB / 448.9 MB, free: 2.84 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow): time 0.01584/0.2761, allocations: 18.64 MB / 467.6 MB, free: 3.793 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01302/0.2892, allocations: 7.61 MB / 475.2 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003026/0.2922, allocations: 51.81 kB / 475.2 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003272/0.2956, allocations: 0.994 MB / 476.2 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009557/0.3052, allocations: 3.256 MB / 479.5 MB, free: 8.168 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002129/0.3073, allocations: 0.771 MB / 480.2 MB, free: 7.395 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00747/0.3148, allocations: 5.708 MB / 485.9 MB, free: 1.664 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008644/0.3157, allocations: 386.4 kB / 486.3 MB, free: 1.266 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003182/0.3189, allocations: 1.946 MB / 488.3 MB, free: 15.31 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003386/0.3223, allocations: 2.012 MB / 490.3 MB, free: 13.29 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006842/0.323, allocations: 200 kB / 490.5 MB, free: 13.1 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002261/0.3253, allocations: 0.7224 MB / 491.2 MB, free: 12.38 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006362/0.3259, allocations: 0.4976 MB / 491.7 MB, free: 11.88 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002954/0.3289, allocations: 1.675 MB / 493.4 MB, free: 10.19 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007462/0.3363, allocations: 4.194 MB / 497.6 MB, free: 5.984 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.924e-06/0.3364, allocations: 0 / 497.6 MB, free: 5.984 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.3364, allocations: 0 / 497.6 MB, free: 5.984 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001893/0.3366, allocations: 3.938 kB / 497.6 MB, free: 5.98 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.01746/0.3541, allocations: 4.469 MB / 0.4903 GB, free: 1.441 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.345e-05/0.3541, allocations: 8.031 kB / 0.4903 GB, free: 1.434 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006992/0.3549, allocations: 300.4 kB / 0.4906 GB, free: 1.129 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002564/0.3574, allocations: 457.2 kB / 0.491 GB, free: 0.6797 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004802/0.3623, allocations: 1.799 MB / 0.4928 GB, free: 14.82 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000154/0.3624, allocations: 164.5 kB / 0.4929 GB, free: 14.66 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004434/0.3629, allocations: 212 kB / 0.4931 GB, free: 14.45 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004357/0.3673, allocations: 2.142 MB / 0.4952 GB, free: 12.2 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.428e-05/0.3673, allocations: 0 / 0.4952 GB, free: 12.2 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002317/0.3676, allocations: 91.98 kB / 0.4953 GB, free: 12.11 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.82e-05/0.3676, allocations: 56 kB / 0.4954 GB, free: 12.05 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004145/0.3718, allocations: 2.168 MB / 0.4975 GB, free: 9.871 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.02208/0.3939, allocations: 15.17 MB / 0.5123 GB, free: 8.984 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004545/0.3985, allocations: 3.113 MB / 0.5153 GB, free: 5.668 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001227/0.3997, allocations: 0.7949 MB / 0.5161 GB, free: 4.875 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001521/0.3999, allocations: 41.97 kB / 0.5161 GB, free: 4.836 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.679e-05/0.4, allocations: 48.66 kB / 0.5162 GB, free: 4.777 MB / 398.1 MB Notification: Performance of pre-optimization done (n=217): time 4.328e-06/0.4, allocations: 3.938 kB / 0.5162 GB, free: 4.773 MB / 398.1 MB Notification: Performance of matching and sorting (n=217): time 0.009235/0.4092, allocations: 3.457 MB / 0.5196 GB, free: 1.246 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.995e-05/0.4093, allocations: 77.41 kB / 0.5196 GB, free: 1.16 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00309/0.4124, allocations: 1.685 MB / 0.5213 GB, free: 15.43 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001732/0.4126, allocations: 57.7 kB / 0.5213 GB, free: 15.37 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008461/0.4134, allocations: 1.062 MB / 0.5224 GB, free: 14.29 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008644/0.4143, allocations: 0.7508 MB / 0.5231 GB, free: 13.53 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007242/0.4151, allocations: 432.8 kB / 0.5235 GB, free: 13.1 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.259e-05/0.4152, allocations: 309 kB / 0.5238 GB, free: 12.79 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001115/0.4163, allocations: 0.6532 MB / 0.5245 GB, free: 12.14 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001509/0.4178, allocations: 1.226 MB / 0.5257 GB, free: 10.68 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002893/0.4207, allocations: 2.024 MB / 0.5276 GB, free: 8.406 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.821e-05/0.4207, allocations: 4 kB / 0.5276 GB, free: 8.402 MB / 414.1 MB Notification: Performance of matching and sorting (n=326) (initialization): time 0.005863/0.4266, allocations: 2.684 MB / 0.5303 GB, free: 5.656 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.559e-05/0.4267, allocations: 12 kB / 0.5303 GB, free: 5.645 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.362e-05/0.4267, allocations: 20 kB / 0.5303 GB, free: 5.625 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001994/0.4287, allocations: 0.5336 MB / 0.5308 GB, free: 5.082 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002291/0.431, allocations: 0.5695 MB / 0.5314 GB, free: 4.512 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009631/0.4407, allocations: 7.714 MB / 0.5389 GB, free: 12.39 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0029/0.4436, allocations: 186.6 kB / 0.5391 GB, free: 12.21 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002749/0.4439, allocations: 99.98 kB / 0.5392 GB, free: 12.11 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.001075/0.445, allocations: 481 kB / 0.5396 GB, free: 11.63 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007426/0.4457, allocations: 233.2 kB / 0.5399 GB, free: 11.4 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004145/0.4499, allocations: 2.152 MB / 0.542 GB, free: 9.223 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.7e-05/0.4499, allocations: 20 kB / 0.542 GB, free: 9.203 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.074e-06/0.4499, allocations: 0 / 0.542 GB, free: 9.203 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.075e-05/0.45, allocations: 11.95 kB / 0.542 GB, free: 9.191 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008832/0.4588, allocations: 5.25 MB / 0.5471 GB, free: 3.715 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.206e-05/0.4588, allocations: 4 kB / 0.5471 GB, free: 3.711 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001678/0.4605, allocations: 396 kB / 0.5475 GB, free: 3.324 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001788/0.4623, allocations: 0.5065 MB / 0.548 GB, free: 2.809 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001544/0.4625, allocations: 36 kB / 0.548 GB, free: 2.773 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009294/0.4718, allocations: 7.561 MB / 0.5554 GB, free: 10.8 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/0.4718, allocations: 4 kB / 0.5554 GB, free: 10.79 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005203/0.4771, allocations: 2.317 MB / 0.5577 GB, free: 8.391 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001798/0.4789, allocations: 0.5058 MB / 0.5582 GB, free: 7.863 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006729/0.4796, allocations: 43.94 kB / 0.5582 GB, free: 7.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002218/0.4818, allocations: 59.84 kB / 0.5583 GB, free: 7.762 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003768/0.4822, allocations: 149.7 kB / 0.5584 GB, free: 7.617 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001134/0.4823, allocations: 56 kB / 0.5585 GB, free: 7.562 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002227/0.4846, allocations: 1.105 MB / 0.5595 GB, free: 6.434 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.4846, allocations: 0 / 0.5595 GB, free: 6.434 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003984/0.4886, allocations: 0.8822 MB / 0.5604 GB, free: 5.551 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.005058/0.4936, allocations: 3.044 MB / 0.5634 GB, free: 2.418 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004469/0.4981, allocations: 2.382 MB / 0.5657 GB, free: 15.99 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.076e-06/0.4982, allocations: 3.938 kB / 0.5657 GB, free: 15.99 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002239/0.5004, allocations: 1.398 MB / 0.5671 GB, free: 14.55 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002965/0.5034, allocations: 341.4 kB / 0.5674 GB, free: 14.22 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03253/0.536, allocations: 16.41 MB / 0.5834 GB, free: 13 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001528/0.5375, allocations: 1.49 MB / 0.5849 GB, free: 11.47 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001372/0.5389, allocations: 296.9 kB / 0.5852 GB, free: 11.18 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001387/0.5403, allocations: 0.8859 MB / 0.586 GB, free: 10.29 MB / 478.1 MB Notification: Performance of SimCode: time 1.552e-06/0.5404, allocations: 4 kB / 0.586 GB, free: 10.29 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3006/0.8409, allocations: 52.97 MB / 0.6378 GB, free: 114.2 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.04/16.88, allocations: 6.906 kB / 0.6378 GB, free: 114.2 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)