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.001634/0.001634, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001756/0.001756, allocations: 219.5 kB / 22.26 MB, free: 5.125 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.553/1.553, allocations: 207.6 MB / 233 MB, free: 9.969 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.06993/0.06993, allocations: 14.39 MB / 299.7 MB, free: 7.516 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.002461/0.002461, allocations: 67.91 kB / 423.8 MB, free: 36.14 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09251/0.09497, allocations: 52.91 MB / 476.7 MB, free: 15.14 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow): time 0.01925/0.1142, allocations: 18.69 MB / 495.4 MB, free: 12.38 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01302/0.1272, allocations: 7.659 MB / 0.4912 GB, free: 4.695 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002952/0.1302, allocations: 63.62 kB / 0.4913 GB, free: 4.633 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003203/0.1334, allocations: 0.9979 MB / 0.4923 GB, free: 3.629 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01032/0.1437, allocations: 3.399 MB / 0.4956 GB, free: 256 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002372/0.1461, allocations: 0.8059 MB / 0.4964 GB, free: 15.45 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008737/0.1548, allocations: 5.716 MB / 0.502 GB, free: 9.703 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006794/0.1555, allocations: 214.9 kB / 0.5022 GB, free: 9.473 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003721/0.1592, allocations: 1.981 MB / 0.5041 GB, free: 7.484 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003996/0.1632, allocations: 2.016 MB / 0.5061 GB, free: 5.461 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006599/0.1639, allocations: 204 kB / 0.5063 GB, free: 5.262 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002662/0.1665, allocations: 0.7146 MB / 0.507 GB, free: 4.547 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005166/0.1671, allocations: 0.4937 MB / 0.5074 GB, free: 4.051 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002689/0.1698, allocations: 1.672 MB / 0.5091 GB, free: 2.371 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006386/0.1761, allocations: 4.227 MB / 0.5132 GB, free: 14.12 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1761, allocations: 0 / 0.5132 GB, free: 14.12 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1761, allocations: 0 / 0.5132 GB, free: 14.12 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.991e-05/0.1762, allocations: 0 / 0.5132 GB, free: 14.12 MB / 398.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.01587/0.1921, allocations: 4.477 MB / 0.5176 GB, free: 9.594 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.1921, allocations: 8.031 kB / 0.5176 GB, free: 9.586 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004041/0.1925, allocations: 308.4 kB / 0.5179 GB, free: 9.273 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002052/0.1946, allocations: 474.8 kB / 0.5183 GB, free: 8.809 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003859/0.1984, allocations: 1.705 MB / 0.52 GB, free: 7.055 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001374/0.1986, allocations: 172.5 kB / 0.5202 GB, free: 6.883 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002709/0.1988, allocations: 211.9 kB / 0.5204 GB, free: 6.676 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003664/0.2025, allocations: 2.141 MB / 0.5224 GB, free: 4.426 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.439e-05/0.2025, allocations: 7.938 kB / 0.5225 GB, free: 4.418 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001699/0.2027, allocations: 88 kB / 0.5225 GB, free: 4.332 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.035e-05/0.2028, allocations: 56 kB / 0.5226 GB, free: 4.277 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003699/0.2065, allocations: 2.168 MB / 0.5247 GB, free: 2.094 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.1983/0.4047, allocations: 15.08 MB / 0.5394 GB, free: 47.28 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003787/0.4085, allocations: 2.061 MB / 0.5414 GB, free: 46.48 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001187/0.4097, allocations: 0.6947 MB / 0.5421 GB, free: 46.19 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001361/0.4098, allocations: 33.95 kB / 0.5422 GB, free: 46.19 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.939e-05/0.4099, allocations: 53.19 kB / 0.5422 GB, free: 46.13 MB / 398.1 MB Notification: Performance of pre-optimization done (n=217): time 3.797e-06/0.4099, allocations: 0 / 0.5422 GB, free: 46.13 MB / 398.1 MB Notification: Performance of matching and sorting (n=217): time 0.008799/0.4187, allocations: 3.231 MB / 0.5454 GB, free: 45.05 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.928e-05/0.4187, allocations: 74.03 kB / 0.5454 GB, free: 44.99 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002348/0.421, allocations: 1.689 MB / 0.5471 GB, free: 44.28 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001172/0.4212, allocations: 60.58 kB / 0.5471 GB, free: 44.22 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005386/0.4217, allocations: 1.093 MB / 0.5482 GB, free: 43.47 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005796/0.4223, allocations: 0.7845 MB / 0.549 GB, free: 42.96 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005202/0.4228, allocations: 433.2 kB / 0.5494 GB, free: 42.75 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 3.548e-05/0.4228, allocations: 301.1 kB / 0.5497 GB, free: 42.45 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009283/0.4238, allocations: 0.6592 MB / 0.5503 GB, free: 42.19 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001098/0.4249, allocations: 1.219 MB / 0.5515 GB, free: 41.25 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002053/0.4269, allocations: 2.024 MB / 0.5535 GB, free: 39.8 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.297e-06/0.4269, allocations: 3.969 kB / 0.5535 GB, free: 39.8 MB / 398.1 MB Notification: Performance of matching and sorting (n=326) (initialization): time 0.004275/0.4312, allocations: 2.673 MB / 0.5561 GB, free: 38.62 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.631e-05/0.4312, allocations: 14.44 kB / 0.5561 GB, free: 38.62 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.327e-05/0.4313, allocations: 15.84 kB / 0.5561 GB, free: 38.62 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001662/0.4329, allocations: 0.5271 MB / 0.5566 GB, free: 38.39 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002026/0.435, allocations: 0.5777 MB / 0.5572 GB, free: 38.26 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00726/0.4422, allocations: 7.418 MB / 0.5645 GB, free: 32.07 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002651/0.4449, allocations: 193.7 kB / 0.5646 GB, free: 31.98 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002381/0.4451, allocations: 95.22 kB / 0.5647 GB, free: 31.96 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.00091/0.446, allocations: 482.6 kB / 0.5652 GB, free: 31.57 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004757/0.4465, allocations: 242.5 kB / 0.5654 GB, free: 31.34 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003221/0.4497, allocations: 2.134 MB / 0.5675 GB, free: 29.18 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.11e-05/0.4497, allocations: 20 kB / 0.5675 GB, free: 29.16 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.4497, allocations: 0 / 0.5675 GB, free: 29.16 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.661e-05/0.4497, allocations: 11.91 kB / 0.5675 GB, free: 29.14 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006307/0.4561, allocations: 5.201 MB / 0.5726 GB, free: 23.79 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.726e-06/0.4561, allocations: 4 kB / 0.5726 GB, free: 23.78 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001433/0.4575, allocations: 401.9 kB / 0.573 GB, free: 23.39 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001464/0.459, allocations: 0.4989 MB / 0.5735 GB, free: 22.88 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.47e-05/0.459, allocations: 43.98 kB / 0.5735 GB, free: 22.84 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006512/0.4656, allocations: 7.268 MB / 0.5806 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.4656, allocations: 4 kB / 0.5806 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003586/0.4691, allocations: 2.295 MB / 0.5829 GB, free: 12.86 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001071/0.4702, allocations: 458 kB / 0.5833 GB, free: 12.43 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002878/0.4705, allocations: 40 kB / 0.5833 GB, free: 12.39 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001495/0.472, allocations: 54.09 kB / 0.5834 GB, free: 12.34 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000216/0.4722, allocations: 153.7 kB / 0.5835 GB, free: 12.19 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.56e-05/0.4723, allocations: 63.86 kB / 0.5836 GB, free: 12.12 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001203/0.4735, allocations: 1.109 MB / 0.5847 GB, free: 10.99 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4735, allocations: 0 / 0.5847 GB, free: 10.99 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002127/0.4756, allocations: 0.8948 MB / 0.5856 GB, free: 10.11 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.003412/0.479, allocations: 3.031 MB / 0.5885 GB, free: 7.016 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003077/0.4821, allocations: 2.267 MB / 0.5907 GB, free: 4.715 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.4821, allocations: 0 / 0.5907 GB, free: 4.715 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0016/0.4837, allocations: 1.324 MB / 0.592 GB, free: 3.348 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001914/0.4856, allocations: 324.5 kB / 0.5923 GB, free: 3.031 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02657/0.5122, allocations: 16.46 MB / 0.6084 GB, free: 1.789 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001179/0.5134, allocations: 1.49 MB / 0.6099 GB, free: 272 kB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001286/0.5147, allocations: 294.5 kB / 0.6101 GB, free: 15.98 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001339/0.516, allocations: 0.8859 MB / 0.611 GB, free: 15.09 MB / 430.1 MB Notification: Performance of SimCode: time 8.42e-07/0.516, allocations: 0 / 0.611 GB, free: 15.09 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1203/0.6363, allocations: 54.21 MB / 0.6639 GB, free: 8.844 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 17.9/18.53, allocations: 3.938 kB / 0.6639 GB, free: 8.84 MB / 478.1 MB " [Timeout remaining time 641] (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: 21.468118092001532] Failed to read output from testmodel.py, exit status != 0: 18.691238061997865 18.707212126 18.527833077 Calling exit ...