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.0008616/0.0008616, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008113/0.0008113, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8653/0.8653, allocations: 158.6 MB / 184.2 MB, free: 3.043 MB / 170.7 MB " [Timeout remaining time 179] 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.03764/0.03764, allocations: 10.65 MB / 247.1 MB, free: 4.715 MB / 234.7 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: Performance of FrontEnd - loaded program: time 3.046e-06/3.046e-06, allocations: 3.984 kB / 371.2 MB, free: 3.25 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.504e-05/1.809e-05, allocations: 2.281 kB / 371.2 MB, free: 3.246 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow): time 0.01026/0.01028, allocations: 16.17 MB / 387.4 MB, free: 3.008 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00907/0.01935, allocations: 7.102 MB / 394.5 MB, free: 11.88 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002447/0.02179, allocations: 63.62 kB / 394.6 MB, free: 11.82 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002578/0.02437, allocations: 0.9585 MB / 395.5 MB, free: 10.86 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007041/0.03141, allocations: 3.411 MB / 398.9 MB, free: 7.465 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001539/0.03295, allocations: 0.7629 MB / 399.7 MB, free: 6.703 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.006139/0.03909, allocations: 6.197 MB / 405.9 MB, free: 496 kB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006569/0.03975, allocations: 203 kB / 406.1 MB, free: 276 kB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004693/0.04444, allocations: 2.837 MB / 408.9 MB, free: 13.43 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002505/0.04695, allocations: 1.636 MB / 410.6 MB, free: 11.79 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007026/0.04765, allocations: 204 kB / 410.8 MB, free: 11.59 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002281/0.04993, allocations: 0.7063 MB / 411.5 MB, free: 10.88 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006369/0.05057, allocations: 0.5014 MB / 412 MB, free: 10.38 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00246/0.05303, allocations: 1.203 MB / 413.2 MB, free: 9.168 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006079/0.05911, allocations: 4.16 MB / 417.3 MB, free: 4.996 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.05911, allocations: 0 / 417.3 MB, free: 4.996 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.05911, allocations: 0 / 417.3 MB, free: 4.996 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001218/0.05923, allocations: 0 / 417.3 MB, free: 4.996 MB / 346.7 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.009867/0.0691, allocations: 4.445 MB / 421.8 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.06915, allocations: 12.03 kB / 421.8 MB, free: 496 kB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003989/0.06955, allocations: 304.4 kB / 422.1 MB, free: 180 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001402/0.07095, allocations: 470.8 kB / 422.6 MB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003729/0.07468, allocations: 1.712 MB / 424.3 MB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001046/0.07478, allocations: 160.8 kB / 424.4 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002945/0.07508, allocations: 216.4 kB / 424.6 MB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002891/0.07797, allocations: 2.145 MB / 426.8 MB, free: 11.33 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.894e-05/0.07801, allocations: 4 kB / 426.8 MB, free: 11.32 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00013/0.07814, allocations: 91.98 kB / 426.9 MB, free: 11.23 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.712e-05/0.07817, allocations: 56 kB / 426.9 MB, free: 11.18 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002708/0.08087, allocations: 2.136 MB / 429.1 MB, free: 9.027 MB / 362.7 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.0124/0.09327, allocations: 7.91 MB / 437 MB, free: 0.8945 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1638/0.2571, allocations: 2.047 MB / 439 MB, free: 70.11 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001073/0.2582, allocations: 0.6929 MB / 439.7 MB, free: 70.09 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.439e-05/0.2582, allocations: 31.34 kB / 439.7 MB, free: 70.09 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.588e-05/0.2583, allocations: 56.45 kB / 439.8 MB, free: 70.05 MB / 362.7 MB Notification: Performance of pre-optimization done (n=217): time 4.659e-06/0.2583, allocations: 0 / 439.8 MB, free: 70.05 MB / 362.7 MB Notification: Performance of matching and sorting (n=217): time 0.006452/0.2647, allocations: 3.266 MB / 443.1 MB, free: 69.16 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.256e-05/0.2648, allocations: 73.53 kB / 443.1 MB, free: 69.1 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002472/0.2673, allocations: 1.728 MB / 444.9 MB, free: 68.41 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.714e-05/0.2674, allocations: 60.95 kB / 444.9 MB, free: 68.35 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005769/0.2679, allocations: 1.088 MB / 446 MB, free: 67.74 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006126/0.2685, allocations: 0.7801 MB / 446.8 MB, free: 67.12 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005137/0.2691, allocations: 431 kB / 447.2 MB, free: 66.9 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 3.705e-05/0.2691, allocations: 305.4 kB / 447.5 MB, free: 66.61 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009433/0.27, allocations: 0.6609 MB / 448.2 MB, free: 66.34 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001139/0.2712, allocations: 1.217 MB / 449.4 MB, free: 65.42 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002044/0.2732, allocations: 2.018 MB / 451.4 MB, free: 64.01 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.52e-05/0.2732, allocations: 8.5 kB / 451.4 MB, free: 64.01 MB / 362.7 MB Notification: Performance of matching and sorting (n=326) (initialization): time 0.00407/0.2773, allocations: 2.684 MB / 454.1 MB, free: 62.84 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.031e-05/0.2773, allocations: 11.44 kB / 454.1 MB, free: 62.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.823e-05/0.2774, allocations: 16.44 kB / 454.1 MB, free: 62.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001173/0.2785, allocations: 0.5597 MB / 454.7 MB, free: 62.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001276/0.2798, allocations: 0.5654 MB / 455.3 MB, free: 62.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006924/0.2867, allocations: 7.409 MB / 462.7 MB, free: 56.94 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002368/0.2891, allocations: 191.7 kB / 462.8 MB, free: 56.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001194/0.2892, allocations: 97.86 kB / 462.9 MB, free: 56.8 MB / 362.7 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.0008615/0.2901, allocations: 486.1 kB / 463.4 MB, free: 56.43 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005109/0.2906, allocations: 245.8 kB / 463.7 MB, free: 56.31 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002405/0.293, allocations: 2.137 MB / 465.8 MB, free: 55.34 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.574e-05/0.293, allocations: 20.5 kB / 465.8 MB, free: 55.34 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-06/0.293, allocations: 1.656 kB / 465.8 MB, free: 55.34 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.408e-05/0.293, allocations: 10.45 kB / 465.8 MB, free: 55.34 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00447/0.2975, allocations: 4.303 MB / 470.1 MB, free: 53.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/0.2975, allocations: 4 kB / 470.1 MB, free: 53.01 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007498/0.2983, allocations: 391.7 kB / 470.5 MB, free: 52.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008407/0.2991, allocations: 0.5095 MB / 471 MB, free: 52.29 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.735e-05/0.2992, allocations: 40 kB / 471.1 MB, free: 52.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004811/0.304, allocations: 7.263 MB / 478.3 MB, free: 45.01 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.304, allocations: 4 kB / 478.3 MB, free: 45.01 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002952/0.307, allocations: 2.304 MB / 480.6 MB, free: 42.62 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009182/0.3079, allocations: 452 kB / 481.1 MB, free: 42.18 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001561/0.308, allocations: 44 kB / 481.1 MB, free: 42.14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008638/0.3089, allocations: 56.17 kB / 481.2 MB, free: 42.08 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002346/0.3091, allocations: 153.6 kB / 481.3 MB, free: 41.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.898e-05/0.3092, allocations: 63.97 kB / 481.4 MB, free: 41.87 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001056/0.3102, allocations: 1.105 MB / 482.5 MB, free: 40.74 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3102, allocations: 0 / 482.5 MB, free: 40.74 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002062/0.3123, allocations: 0.9015 MB / 483.4 MB, free: 39.84 MB / 362.7 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.002427/0.3147, allocations: 3.025 MB / 486.4 MB, free: 36.75 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002703/0.3174, allocations: 2.286 MB / 488.7 MB, free: 34.42 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.3174, allocations: 0 / 488.7 MB, free: 34.42 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001097/0.3185, allocations: 1.33 MB / 490 MB, free: 33.05 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00137/0.3199, allocations: 334 kB / 490.4 MB, free: 32.73 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01779/0.3377, allocations: 16.58 MB / 0.4951 GB, free: 15.37 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005954/0.3383, allocations: 0.9183 MB / 0.496 GB, free: 14.41 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0008259/0.3391, allocations: 294.3 kB / 0.4962 GB, free: 14.12 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007237/0.3398, allocations: 0.8908 MB / 0.4971 GB, free: 13.23 MB / 362.7 MB Notification: Performance of SimCode: time 1.583e-06/0.3398, allocations: 0 / 0.4971 GB, free: 13.23 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07993/0.4198, allocations: 53.19 MB / 0.549 GB, free: 8.074 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.914/9.333, allocations: 7.875 kB / 0.5491 GB, free: 8.066 MB / 410.7 MB " [Timeout remaining time 651] (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: 11.207994582131505] Failed to read output from testmodel.py, exit status != 0: 9.447499535046518 9.45574294 9.394712445 Calling exit ...