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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001373/0.001373, allocations: 102.8 kB / 16.45 MB, free: 6.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001485/0.001485, allocations: 206.4 kB / 19.42 MB, free: 3.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.474/1.474, allocations: 207.6 MB / 229.8 MB, free: 11.42 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06923/0.06923, allocations: 14.4 MB / 296.1 MB, free: 8.633 MB / 238.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00216/0.00216, allocations: 75.19 kB / 418.2 MB, free: 37.93 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.084/0.08616, allocations: 52.86 MB / 471.1 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow): time 0.01966/0.1058, allocations: 18.69 MB / 489.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01297/0.1188, allocations: 7.635 MB / 497.4 MB, free: 6.555 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002344/0.1211, allocations: 67.56 kB / 497.5 MB, free: 6.488 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002645/0.1238, allocations: 1.002 MB / 498.5 MB, free: 5.48 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008989/0.1328, allocations: 3.396 MB / 0.4901 GB, free: 2.105 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002066/0.1348, allocations: 0.7899 MB / 0.4909 GB, free: 1.32 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007872/0.1427, allocations: 5.72 MB / 0.4965 GB, free: 11.58 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005987/0.1433, allocations: 218.5 kB / 0.4967 GB, free: 11.35 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003192/0.1465, allocations: 1.973 MB / 0.4986 GB, free: 9.367 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00318/0.1497, allocations: 2.012 MB / 0.5006 GB, free: 7.348 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004773/0.1502, allocations: 204 kB / 0.5008 GB, free: 7.148 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002089/0.1522, allocations: 0.7223 MB / 0.5015 GB, free: 6.426 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004903/0.1527, allocations: 0.4937 MB / 0.502 GB, free: 5.93 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002233/0.155, allocations: 1.672 MB / 0.5036 GB, free: 4.25 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006781/0.1617, allocations: 4.219 MB / 0.5077 GB, free: 16 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.1618, allocations: 0 / 0.5077 GB, free: 16 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1618, allocations: 0 / 0.5077 GB, free: 16 kB / 382.1 MB Notification: Performance of Transformations before backend: time 5.546e-05/0.1618, allocations: 0 / 0.5077 GB, free: 16 kB / 382.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.01657/0.1784, allocations: 4.556 MB / 0.5122 GB, free: 11.39 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.1784, allocations: 11.97 kB / 0.5122 GB, free: 11.38 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004269/0.1789, allocations: 304.4 kB / 0.5125 GB, free: 11.07 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002216/0.1811, allocations: 474.8 kB / 0.5129 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004593/0.1857, allocations: 1.804 MB / 0.5147 GB, free: 8.742 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001561/0.1858, allocations: 168.5 kB / 0.5148 GB, free: 8.574 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003069/0.1861, allocations: 208 kB / 0.515 GB, free: 8.371 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003818/0.1899, allocations: 2.141 MB / 0.5171 GB, free: 6.121 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.028e-05/0.19, allocations: 4 kB / 0.5171 GB, free: 6.117 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001781/0.1902, allocations: 88 kB / 0.5172 GB, free: 6.031 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.747e-05/0.1902, allocations: 56 kB / 0.5173 GB, free: 5.977 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003813/0.194, allocations: 2.179 MB / 0.5194 GB, free: 3.781 MB / 398.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.1928/0.3868, allocations: 15.18 MB / 0.5342 GB, free: 48.69 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003994/0.3908, allocations: 2.961 MB / 0.5371 GB, free: 46.77 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001031/0.3919, allocations: 0.6923 MB / 0.5378 GB, free: 46.49 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001172/0.392, allocations: 27.59 kB / 0.5378 GB, free: 46.49 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.235e-05/0.392, allocations: 58.59 kB / 0.5379 GB, free: 46.43 MB / 398.1 MB Notification: Performance of pre-optimization done (n=217): time 3.997e-06/0.392, allocations: 0 / 0.5379 GB, free: 46.43 MB / 398.1 MB Notification: Performance of matching and sorting (n=217): time 0.008876/0.4009, allocations: 3.454 MB / 0.5412 GB, free: 45.11 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.752e-05/0.4009, allocations: 73.78 kB / 0.5413 GB, free: 45.05 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002455/0.4034, allocations: 1.686 MB / 0.543 GB, free: 44.35 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001514/0.4036, allocations: 59.64 kB / 0.543 GB, free: 44.29 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005936/0.4041, allocations: 1.093 MB / 0.5441 GB, free: 43.54 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006889/0.4048, allocations: 0.7922 MB / 0.5449 GB, free: 43.02 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000557/0.4054, allocations: 433.6 kB / 0.5453 GB, free: 42.8 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 5.143e-05/0.4054, allocations: 301.1 kB / 0.5456 GB, free: 42.51 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001/0.4064, allocations: 0.6584 MB / 0.5462 GB, free: 42.25 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00124/0.4077, allocations: 1.219 MB / 0.5474 GB, free: 41.32 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002141/0.4098, allocations: 2.019 MB / 0.5494 GB, free: 39.87 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.225e-05/0.4098, allocations: 7.969 kB / 0.5494 GB, free: 39.86 MB / 398.1 MB Notification: Performance of matching and sorting (n=326) (initialization): time 0.004395/0.4142, allocations: 2.681 MB / 0.552 GB, free: 38.68 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.607e-05/0.4143, allocations: 11.84 kB / 0.552 GB, free: 38.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.258e-05/0.4143, allocations: 19.75 kB / 0.552 GB, free: 38.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001633/0.4159, allocations: 0.5406 MB / 0.5525 GB, free: 38.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002041/0.418, allocations: 0.5702 MB / 0.5531 GB, free: 38.29 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007137/0.4251, allocations: 7.706 MB / 0.5606 GB, free: 31.73 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002545/0.4276, allocations: 199.6 kB / 0.5608 GB, free: 31.64 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001682/0.4278, allocations: 101.4 kB / 0.5609 GB, free: 31.61 MB / 398.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.0007586/0.4286, allocations: 473.6 kB / 0.5614 GB, free: 31.27 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004329/0.429, allocations: 254.4 kB / 0.5616 GB, free: 31.14 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003383/0.4324, allocations: 2.127 MB / 0.5637 GB, free: 29.57 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.145e-05/0.4324, allocations: 23.94 kB / 0.5637 GB, free: 29.55 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.4324, allocations: 4 kB / 0.5637 GB, free: 29.55 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.572e-05/0.4324, allocations: 11.95 kB / 0.5637 GB, free: 29.54 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00617/0.4386, allocations: 5.227 MB / 0.5688 GB, free: 24.14 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.298e-06/0.4386, allocations: 7.984 kB / 0.5688 GB, free: 24.14 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001497/0.4401, allocations: 395.7 kB / 0.5692 GB, free: 23.75 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001523/0.4416, allocations: 0.5024 MB / 0.5697 GB, free: 23.24 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.844e-05/0.4417, allocations: 47.98 kB / 0.5697 GB, free: 23.19 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006752/0.4485, allocations: 7.571 MB / 0.5771 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.878e-06/0.4485, allocations: 8.156 kB / 0.5772 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003644/0.4521, allocations: 2.294 MB / 0.5794 GB, free: 12.83 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009503/0.4531, allocations: 0.5145 MB / 0.5799 GB, free: 12.31 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002819/0.4533, allocations: 47.92 kB / 0.5799 GB, free: 12.26 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001488/0.4548, allocations: 58.77 kB / 0.58 GB, free: 12.21 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002573/0.4551, allocations: 153.8 kB / 0.5801 GB, free: 12.06 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.837e-05/0.4552, allocations: 55.94 kB / 0.5802 GB, free: 12 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00129/0.4564, allocations: 1.101 MB / 0.5813 GB, free: 10.88 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4564, allocations: 0 / 0.5813 GB, free: 10.88 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002411/0.4589, allocations: 0.8874 MB / 0.5821 GB, free: 10.01 MB / 398.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.003668/0.4625, allocations: 3.035 MB / 0.5851 GB, free: 6.898 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003638/0.4662, allocations: 2.261 MB / 0.5873 GB, free: 4.602 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.164e-06/0.4662, allocations: 0 / 0.5873 GB, free: 4.602 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001817/0.468, allocations: 1.329 MB / 0.5886 GB, free: 3.234 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002438/0.4704, allocations: 324.7 kB / 0.5889 GB, free: 2.914 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03638/0.5068, allocations: 16.48 MB / 0.605 GB, free: 1.656 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001308/0.5081, allocations: 1.49 MB / 0.6065 GB, free: 136 kB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001373/0.5095, allocations: 304 kB / 0.6068 GB, free: 15.84 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00155/0.511, allocations: 0.882 MB / 0.6076 GB, free: 14.95 MB / 430.1 MB Notification: Performance of SimCode: time 1.152e-06/0.511, allocations: 0 / 0.6076 GB, free: 14.95 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1126/0.6237, allocations: 52.12 MB / 0.6585 GB, free: 10.8 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.61/17.23, allocations: 11.3 kB / 0.6585 GB, free: 10.79 MB / 478.1 MB " [Timeout remaining time 643] (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 & python3 -m fmpy simulate --output-file PowerGrids_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 PowerGrids_PowerGrids_Examples_Tutorial_IslandOperation_PowerFlow.fmu > PowerGrids_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.026359010997112] Failed to read output from testmodel.py, exit status != 0: 17.368585917007294 17.390877853 17.224844755 Calling exit ...