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.001486/0.001486, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001803/0.001803, allocations: 209.1 kB / 22.24 MB, free: 5.262 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.561/1.561, allocations: 207.7 MB / 233.1 MB, free: 9.777 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.07024/0.07024, allocations: 14.4 MB / 299.7 MB, free: 7.246 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) 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.00249/0.00249, allocations: 71.89 kB / 423.7 MB, free: 35.95 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1266, allocations: 52.9 MB / 476.6 MB, free: 14.97 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow): time 0.0216/0.1482, allocations: 16.16 MB / 492.8 MB, free: 14.75 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01612/0.1643, allocations: 7.102 MB / 499.9 MB, free: 7.621 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004115/0.1684, allocations: 63.62 kB / 500 MB, free: 7.559 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004524/0.173, allocations: 0.9474 MB / 0.4892 GB, free: 6.605 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01373/0.1867, allocations: 3.348 MB / 0.4924 GB, free: 3.277 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003029/0.1897, allocations: 0.7627 MB / 0.4932 GB, free: 2.52 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01132/0.201, allocations: 5.7 MB / 0.4987 GB, free: 12.8 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001198/0.2022, allocations: 203 kB / 0.4989 GB, free: 12.58 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004854/0.2071, allocations: 1.981 MB / 0.5009 GB, free: 10.59 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005205/0.2123, allocations: 1.832 MB / 0.5027 GB, free: 8.754 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001169/0.2135, allocations: 204 kB / 0.5029 GB, free: 8.555 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004247/0.2177, allocations: 0.6989 MB / 0.5035 GB, free: 7.855 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001324/0.219, allocations: 0.4938 MB / 0.504 GB, free: 7.359 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004978/0.224, allocations: 1.392 MB / 0.5054 GB, free: 5.961 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01118/0.2352, allocations: 4.239 MB / 0.5095 GB, free: 1.707 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.857e-06/0.2352, allocations: 7.938 kB / 0.5095 GB, free: 1.699 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.567e-06/0.2352, allocations: 0 / 0.5095 GB, free: 1.699 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002188/0.2354, allocations: 4 kB / 0.5095 GB, free: 1.695 MB / 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.02051/0.2559, allocations: 4.461 MB / 0.5139 GB, free: 13.18 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.934e-05/0.256, allocations: 12.03 kB / 0.5139 GB, free: 13.17 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001104/0.2571, allocations: 304.4 kB / 0.5142 GB, free: 12.86 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00295/0.26, allocations: 474.8 kB / 0.5146 GB, free: 12.39 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00607/0.2661, allocations: 1.717 MB / 0.5163 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002621/0.2664, allocations: 164.5 kB / 0.5165 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007841/0.2672, allocations: 216 kB / 0.5167 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005442/0.2726, allocations: 2.145 MB / 0.5188 GB, free: 8 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.152e-05/0.2727, allocations: 0 / 0.5188 GB, free: 8 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002669/0.2729, allocations: 91.94 kB / 0.5189 GB, free: 7.91 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.057e-05/0.273, allocations: 59.98 kB / 0.5189 GB, free: 7.852 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00441/0.2774, allocations: 2.129 MB / 0.521 GB, free: 5.707 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.363/0.6404, allocations: 7.91 MB / 0.5287 GB, free: 56.16 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004499/0.6449, allocations: 2.052 MB / 0.5307 GB, free: 56.09 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001373/0.6463, allocations: 0.6948 MB / 0.5314 GB, free: 55.96 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000136/0.6464, allocations: 27.03 kB / 0.5314 GB, free: 55.96 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.842e-05/0.6465, allocations: 62.14 kB / 0.5315 GB, free: 55.9 MB / 398.1 MB Notification: Performance of pre-optimization done (n=217): time 6.151e-06/0.6465, allocations: 0 / 0.5315 GB, free: 55.9 MB / 398.1 MB Notification: Performance of matching and sorting (n=217): time 0.01064/0.6571, allocations: 3.265 MB / 0.5347 GB, free: 54.97 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.285e-05/0.6572, allocations: 77.69 kB / 0.5348 GB, free: 54.9 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004111/0.6613, allocations: 1.73 MB / 0.5364 GB, free: 54.21 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002309/0.6615, allocations: 60.27 kB / 0.5365 GB, free: 54.15 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000909/0.6625, allocations: 1.095 MB / 0.5376 GB, free: 53.48 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009175/0.6634, allocations: 0.789 MB / 0.5383 GB, free: 52.98 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007056/0.6641, allocations: 431.7 kB / 0.5388 GB, free: 52.76 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 7.968e-05/0.6642, allocations: 303.3 kB / 0.539 GB, free: 52.46 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001429/0.6656, allocations: 0.6568 MB / 0.5397 GB, free: 52.2 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001733/0.6673, allocations: 1.216 MB / 0.5409 GB, free: 51.28 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003043/0.6704, allocations: 2.018 MB / 0.5428 GB, free: 49.87 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.778e-05/0.6704, allocations: 5.406 kB / 0.5428 GB, free: 49.87 MB / 398.1 MB Notification: Performance of matching and sorting (n=326) (initialization): time 0.005808/0.6762, allocations: 2.694 MB / 0.5455 GB, free: 48.69 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.839e-05/0.6762, allocations: 14.22 kB / 0.5455 GB, free: 48.69 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-05/0.6763, allocations: 13.16 kB / 0.5455 GB, free: 48.69 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001784/0.6781, allocations: 0.5525 MB / 0.546 GB, free: 48.57 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002031/0.6801, allocations: 0.5736 MB / 0.5466 GB, free: 48.51 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008492/0.6886, allocations: 7.409 MB / 0.5538 GB, free: 42.79 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003294/0.6919, allocations: 194 kB / 0.554 GB, free: 42.7 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001665/0.692, allocations: 101.5 kB / 0.5541 GB, free: 42.68 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 (283): * Single equations (assignments): 280 * 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,28), (2,10)} Notification: Performance of prepare postOptimizeDAE: time 0.001039/0.6931, allocations: 471.3 kB / 0.5546 GB, free: 42.34 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004687/0.6936, allocations: 242.9 kB / 0.5548 GB, free: 42.21 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003396/0.6969, allocations: 2.148 MB / 0.5569 GB, free: 40.32 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.197e-05/0.697, allocations: 24 kB / 0.5569 GB, free: 40.3 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.697, allocations: 7.938 kB / 0.5569 GB, free: 40.29 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.873e-05/0.697, allocations: 11.67 kB / 0.5569 GB, free: 40.29 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007666/0.7047, allocations: 4.293 MB / 0.5611 GB, free: 36.37 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-05/0.7047, allocations: 4 kB / 0.5611 GB, free: 36.37 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00148/0.7061, allocations: 389.3 kB / 0.5615 GB, free: 35.99 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001608/0.7078, allocations: 0.5111 MB / 0.562 GB, free: 35.47 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001254/0.7079, allocations: 40.09 kB / 0.562 GB, free: 35.43 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007636/0.7155, allocations: 7.269 MB / 0.5691 GB, free: 27.84 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.913e-06/0.7155, allocations: 7.938 kB / 0.5692 GB, free: 27.83 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005239/0.7208, allocations: 2.31 MB / 0.5714 GB, free: 25.44 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002031/0.7228, allocations: 454.4 kB / 0.5718 GB, free: 25 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005026/0.7233, allocations: 40 kB / 0.5719 GB, free: 24.96 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001678/0.725, allocations: 53.55 kB / 0.5719 GB, free: 24.91 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003211/0.7253, allocations: 157.6 kB / 0.5721 GB, free: 24.76 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.188e-05/0.7254, allocations: 56 kB / 0.5721 GB, free: 24.7 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001503/0.7269, allocations: 1.105 MB / 0.5732 GB, free: 23.57 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.7269, allocations: 0 / 0.5732 GB, free: 23.57 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003204/0.7301, allocations: 0.8925 MB / 0.5741 GB, free: 22.7 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 (174): * Single equations (assignments): 171 * 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,28)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003962/0.734, allocations: 3.053 MB / 0.5771 GB, free: 19.58 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003774/0.7378, allocations: 2.287 MB / 0.5793 GB, free: 17.25 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 8.485e-06/0.7378, allocations: 0 / 0.5793 GB, free: 17.25 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001861/0.7397, allocations: 1.329 MB / 0.5806 GB, free: 15.89 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002682/0.7424, allocations: 323.4 kB / 0.5809 GB, free: 15.57 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02632/0.7687, allocations: 16.48 MB / 0.597 GB, free: 14.31 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001377/0.7701, allocations: 0.9222 MB / 0.5979 GB, free: 13.35 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001564/0.7716, allocations: 300.4 kB / 0.5982 GB, free: 13.05 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00163/0.7733, allocations: 0.8897 MB / 0.5991 GB, free: 12.16 MB / 414.1 MB Notification: Performance of SimCode: time 2.204e-06/0.7733, allocations: 0 / 0.5991 GB, free: 12.16 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1326/0.9059, allocations: 52.82 MB / 0.6506 GB, free: 7.336 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.81/16.71, allocations: 0 / 0.6506 GB, free: 7.336 MB / 462.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: 19.86517446488142] Failed to read output from testmodel.py, exit status != 0: 16.87684160657227 16.908193766 16.667102192 Calling exit ...