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.001654/0.001654, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002451/0.002451, allocations: 214.1 kB / 22.25 MB, free: 4.859 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.53/1.53, allocations: 207.7 MB / 233.1 MB, free: 9.793 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.06868/0.06868, allocations: 14.39 MB / 299.7 MB, free: 7.258 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.002708/0.002708, allocations: 76.45 kB / 423.7 MB, free: 35.95 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1153, allocations: 52.89 MB / 476.6 MB, free: 14.97 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow): time 0.02519/0.1405, allocations: 16.16 MB / 492.8 MB, free: 14.75 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01579/0.1563, allocations: 7.102 MB / 499.9 MB, free: 7.621 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004142/0.1604, allocations: 63.62 kB / 500 MB, free: 7.559 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004477/0.1649, allocations: 0.9512 MB / 0.4892 GB, free: 6.602 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01277/0.1777, allocations: 3.337 MB / 0.4924 GB, free: 3.285 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003239/0.1809, allocations: 0.7739 MB / 0.4932 GB, free: 2.516 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01182/0.1927, allocations: 5.693 MB / 0.4987 GB, free: 12.8 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001063/0.1938, allocations: 207 kB / 0.4989 GB, free: 12.58 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004835/0.1986, allocations: 1.993 MB / 0.5009 GB, free: 10.58 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004607/0.2033, allocations: 1.816 MB / 0.5027 GB, free: 8.758 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001019/0.2043, allocations: 204 kB / 0.5029 GB, free: 8.559 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00353/0.2078, allocations: 0.7028 MB / 0.5035 GB, free: 7.855 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001139/0.2089, allocations: 0.4976 MB / 0.504 GB, free: 7.355 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004353/0.2133, allocations: 1.392 MB / 0.5054 GB, free: 5.957 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008844/0.2221, allocations: 4.247 MB / 0.5095 GB, free: 1.695 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.2221, allocations: 0 / 0.5095 GB, free: 1.695 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.2221, allocations: 3.938 kB / 0.5095 GB, free: 1.691 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001244/0.2223, allocations: 0 / 0.5095 GB, free: 1.691 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.01883/0.2411, allocations: 4.465 MB / 0.5139 GB, free: 13.17 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.209e-05/0.2412, allocations: 8.031 kB / 0.5139 GB, free: 13.16 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004733/0.2416, allocations: 308.4 kB / 0.5142 GB, free: 12.85 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002397/0.244, allocations: 474.8 kB / 0.5147 GB, free: 12.39 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004867/0.2489, allocations: 1.709 MB / 0.5163 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001744/0.2491, allocations: 168.5 kB / 0.5165 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003176/0.2494, allocations: 208 kB / 0.5167 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00433/0.2537, allocations: 2.141 MB / 0.5188 GB, free: 8 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.684e-05/0.2538, allocations: 0 / 0.5188 GB, free: 8 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002001/0.254, allocations: 92 kB / 0.5189 GB, free: 7.91 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.39e-05/0.254, allocations: 63.94 kB / 0.5189 GB, free: 7.848 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004153/0.2582, allocations: 2.136 MB / 0.521 GB, free: 5.695 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.3547/0.6129, allocations: 7.91 MB / 0.5287 GB, free: 56.1 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004212/0.6171, allocations: 2.046 MB / 0.5307 GB, free: 56.02 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001119/0.6182, allocations: 0.7017 MB / 0.5314 GB, free: 55.91 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001219/0.6183, allocations: 27.03 kB / 0.5314 GB, free: 55.91 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.579e-05/0.6184, allocations: 56.28 kB / 0.5315 GB, free: 55.86 MB / 398.1 MB Notification: Performance of pre-optimization done (n=217): time 4.759e-06/0.6184, allocations: 1.156 kB / 0.5315 GB, free: 55.86 MB / 398.1 MB Notification: Performance of matching and sorting (n=217): time 0.009775/0.6281, allocations: 3.264 MB / 0.5347 GB, free: 54.91 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.21e-05/0.6282, allocations: 78.06 kB / 0.5348 GB, free: 54.84 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003947/0.6322, allocations: 1.73 MB / 0.5364 GB, free: 54.16 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002705/0.6324, allocations: 61.05 kB / 0.5365 GB, free: 54.1 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008135/0.6333, allocations: 1.094 MB / 0.5376 GB, free: 53.43 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000818/0.6341, allocations: 0.7856 MB / 0.5383 GB, free: 52.92 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000709/0.6348, allocations: 431.5 kB / 0.5388 GB, free: 52.7 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 6.134e-05/0.6348, allocations: 303.6 kB / 0.539 GB, free: 52.41 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001263/0.6361, allocations: 0.6564 MB / 0.5397 GB, free: 52.14 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001458/0.6376, allocations: 1.216 MB / 0.5409 GB, free: 51.23 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002641/0.6402, allocations: 2.023 MB / 0.5428 GB, free: 49.81 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.519e-05/0.6402, allocations: 4.281 kB / 0.5428 GB, free: 49.81 MB / 398.1 MB Notification: Performance of matching and sorting (n=326) (initialization): time 0.005092/0.6453, allocations: 2.691 MB / 0.5455 GB, free: 48.64 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.121e-05/0.6453, allocations: 17.72 kB / 0.5455 GB, free: 48.64 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.569e-05/0.6454, allocations: 14.38 kB / 0.5455 GB, free: 48.64 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00166/0.647, allocations: 0.5617 MB / 0.5461 GB, free: 48.51 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001944/0.649, allocations: 0.5664 MB / 0.5466 GB, free: 48.46 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008567/0.6575, allocations: 7.402 MB / 0.5538 GB, free: 42.73 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003609/0.6612, allocations: 197.7 kB / 0.554 GB, free: 42.64 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002325/0.6614, allocations: 95.75 kB / 0.5541 GB, free: 42.62 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.001083/0.6625, allocations: 473.2 kB / 0.5546 GB, free: 42.29 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005527/0.663, allocations: 255.6 kB / 0.5548 GB, free: 42.15 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003605/0.6666, allocations: 2.146 MB / 0.5569 GB, free: 40.29 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.459e-05/0.6666, allocations: 20 kB / 0.5569 GB, free: 40.27 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.6666, allocations: 3.938 kB / 0.5569 GB, free: 40.27 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.871e-05/0.6667, allocations: 10.55 kB / 0.5569 GB, free: 40.27 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006963/0.6736, allocations: 4.303 MB / 0.5611 GB, free: 36.33 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-05/0.6736, allocations: 4.531 kB / 0.5611 GB, free: 36.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001457/0.6751, allocations: 379.5 kB / 0.5615 GB, free: 35.95 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00155/0.6766, allocations: 0.5098 MB / 0.562 GB, free: 35.43 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.98e-05/0.6767, allocations: 47.81 kB / 0.5621 GB, free: 35.39 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007408/0.6841, allocations: 7.261 MB / 0.5691 GB, free: 27.8 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/0.6841, allocations: 7.938 kB / 0.5691 GB, free: 27.79 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00423/0.6884, allocations: 2.314 MB / 0.5714 GB, free: 25.39 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001502/0.6899, allocations: 449.6 kB / 0.5718 GB, free: 24.96 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003012/0.6902, allocations: 43.98 kB / 0.5719 GB, free: 24.92 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00152/0.6917, allocations: 53.83 kB / 0.5719 GB, free: 24.87 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002623/0.692, allocations: 157.6 kB / 0.5721 GB, free: 24.71 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.234e-05/0.692, allocations: 52 kB / 0.5721 GB, free: 24.66 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001424/0.6935, allocations: 1.101 MB / 0.5732 GB, free: 23.54 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6935, allocations: 4 kB / 0.5732 GB, free: 23.54 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00315/0.6966, allocations: 0.8992 MB / 0.5741 GB, free: 22.65 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.004086/0.7007, allocations: 3.041 MB / 0.5771 GB, free: 19.55 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003617/0.7043, allocations: 2.281 MB / 0.5793 GB, free: 17.22 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/0.7043, allocations: 4 kB / 0.5793 GB, free: 17.22 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001805/0.7061, allocations: 1.334 MB / 0.5806 GB, free: 15.85 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002126/0.7083, allocations: 336.7 kB / 0.5809 GB, free: 15.52 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02504/0.7333, allocations: 16.48 MB / 0.597 GB, free: 14.26 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002433/0.7357, allocations: 0.9183 MB / 0.5979 GB, free: 13.3 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001802/0.7375, allocations: 295.6 kB / 0.5982 GB, free: 13.01 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001996/0.7395, allocations: 0.8859 MB / 0.5991 GB, free: 12.12 MB / 414.1 MB Notification: Performance of SimCode: time 2.194e-06/0.7395, allocations: 4 kB / 0.5991 GB, free: 12.12 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1698/0.9093, allocations: 52.83 MB / 0.6507 GB, free: 7.293 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.82/16.73, allocations: 2.109 kB / 0.6507 GB, free: 7.293 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerGrids_PowerGrids_Examples_Tutorial_IslandOperation_PowerFlow_fmu --startTime=0 --stopTime=1 --stepSize=0.002 --timeout=50 --tolerance=1e-06 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.719679611735046] Failed to read output from testmodel.py, exit status != 0: 16.897246876731515 16.913462676 16.687701721 Calling exit ...