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.0007701/0.0007701, 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.0008079/0.0008079, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8784/0.8784, allocations: 158.6 MB / 184.2 MB, free: 3.047 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.03742/0.03742, allocations: 10.65 MB / 247.1 MB, free: 4.723 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 1.473e-06/1.473e-06, allocations: 3.938 kB / 371.2 MB, free: 3.258 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.122e-05/2.269e-05, allocations: 6.281 kB / 371.2 MB, free: 3.25 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow): time 0.01168/0.01171, allocations: 16.16 MB / 387.4 MB, free: 3.02 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008741/0.02045, allocations: 7.106 MB / 394.5 MB, free: 11.89 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001005/0.02145, allocations: 63.62 kB / 394.6 MB, free: 11.83 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00137/0.02282, allocations: 0.9546 MB / 395.5 MB, free: 10.87 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004783/0.0276, allocations: 3.411 MB / 398.9 MB, free: 7.477 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009123/0.02852, allocations: 0.7587 MB / 399.7 MB, free: 6.719 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.005601/0.03412, allocations: 6.201 MB / 405.9 MB, free: 0.4961 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004318/0.03455, allocations: 211 kB / 406.1 MB, free: 280 kB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002922/0.03747, allocations: 2.821 MB / 408.9 MB, free: 13.45 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00125/0.03872, allocations: 1.644 MB / 410.6 MB, free: 11.8 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000182/0.0389, allocations: 204 kB / 410.8 MB, free: 11.6 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001123/0.04003, allocations: 0.6985 MB / 411.5 MB, free: 10.9 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000253/0.04028, allocations: 0.5092 MB / 412 MB, free: 10.39 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001032/0.04131, allocations: 1.2 MB / 413.2 MB, free: 9.184 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002883/0.0442, allocations: 4.16 MB / 417.3 MB, free: 5.012 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.0442, allocations: 0 / 417.3 MB, free: 5.012 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.764e-06/0.0442, allocations: 0 / 417.3 MB, free: 5.012 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.512e-05/0.04423, allocations: 0 / 417.3 MB, free: 5.012 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.007362/0.05159, allocations: 4.441 MB / 421.8 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/0.05164, allocations: 12.03 kB / 421.8 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002395/0.05188, allocations: 308.4 kB / 422.1 MB, free: 196 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009263/0.0528, allocations: 470.8 kB / 422.6 MB, free: 15.73 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00208/0.05488, allocations: 1.712 MB / 424.3 MB, free: 13.97 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.35e-05/0.05498, allocations: 168.7 kB / 424.4 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001811/0.05516, allocations: 212.4 kB / 424.6 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002301/0.05746, allocations: 2.145 MB / 426.8 MB, free: 11.34 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.225e-05/0.05749, allocations: 3.938 kB / 426.8 MB, free: 11.34 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001172/0.05761, allocations: 95.98 kB / 426.9 MB, free: 11.24 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.729e-05/0.05763, allocations: 56 kB / 426.9 MB, free: 11.19 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002198/0.05983, allocations: 2.129 MB / 429.1 MB, free: 9.043 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.00888/0.06871, allocations: 7.917 MB / 437 MB, free: 0.9023 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1576/0.2263, allocations: 2.04 MB / 439 MB, free: 68.9 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001107/0.2274, allocations: 0.6957 MB / 439.7 MB, free: 68.89 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001017/0.2275, allocations: 28.41 kB / 439.7 MB, free: 68.89 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.27e-05/0.2275, allocations: 55.73 kB / 439.8 MB, free: 68.84 MB / 362.7 MB Notification: Performance of pre-optimization done (n=217): time 4.338e-06/0.2275, allocations: 3.938 kB / 439.8 MB, free: 68.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=217): time 0.006566/0.2341, allocations: 3.256 MB / 443.1 MB, free: 68.18 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.334e-05/0.2342, allocations: 74.78 kB / 443.1 MB, free: 68.12 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001993/0.2361, allocations: 1.728 MB / 444.9 MB, free: 67.43 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.38e-05/0.2362, allocations: 61.58 kB / 444.9 MB, free: 67.38 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005486/0.2368, allocations: 1.09 MB / 446 MB, free: 66.77 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004732/0.2372, allocations: 0.778 MB / 446.8 MB, free: 66.26 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000385/0.2376, allocations: 428.2 kB / 447.2 MB, free: 66.04 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 2.891e-05/0.2376, allocations: 302.5 kB / 447.5 MB, free: 65.75 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007406/0.2384, allocations: 0.6619 MB / 448.2 MB, free: 65.48 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009052/0.2393, allocations: 1.212 MB / 449.4 MB, free: 64.57 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001675/0.241, allocations: 2.031 MB / 451.4 MB, free: 63.15 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.086e-05/0.241, allocations: 8.469 kB / 451.4 MB, free: 63.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=326) (initialization): time 0.003174/0.2441, allocations: 2.685 MB / 454.1 MB, free: 61.98 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.757e-05/0.2442, allocations: 12.17 kB / 454.1 MB, free: 61.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.255e-05/0.2442, allocations: 19.5 kB / 454.1 MB, free: 61.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001152/0.2454, allocations: 0.5578 MB / 454.7 MB, free: 61.85 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001181/0.2465, allocations: 0.5666 MB / 455.3 MB, free: 61.8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005944/0.2525, allocations: 7.404 MB / 462.7 MB, free: 56.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001742/0.2542, allocations: 197 kB / 462.9 MB, free: 55.99 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-05/0.2543, allocations: 98.34 kB / 462.9 MB, free: 55.97 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.0006947/0.255, allocations: 482.7 kB / 463.4 MB, free: 55.62 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000286/0.2553, allocations: 247.2 kB / 463.7 MB, free: 55.5 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002238/0.2575, allocations: 2.136 MB / 465.8 MB, free: 54.53 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.485e-05/0.2575, allocations: 22.12 kB / 465.8 MB, free: 54.53 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.2576, allocations: 0 / 465.8 MB, free: 54.53 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.133e-05/0.2576, allocations: 9.328 kB / 465.8 MB, free: 54.53 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003948/0.2615, allocations: 4.308 MB / 470.1 MB, free: 52.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.072e-06/0.2615, allocations: 4 kB / 470.1 MB, free: 52.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000722/0.2622, allocations: 394.9 kB / 470.5 MB, free: 51.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007835/0.263, allocations: 0.5025 MB / 471 MB, free: 51.52 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.27e-05/0.2631, allocations: 40 kB / 471.1 MB, free: 51.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004151/0.2672, allocations: 7.268 MB / 478.3 MB, free: 44.19 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.2672, allocations: 4 kB / 478.3 MB, free: 44.19 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001868/0.2691, allocations: 2.295 MB / 480.6 MB, free: 41.81 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005244/0.2696, allocations: 453.7 kB / 481.1 MB, free: 41.38 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001421/0.2698, allocations: 44 kB / 481.1 MB, free: 41.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006808/0.2704, allocations: 59.38 kB / 481.2 MB, free: 41.28 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001368/0.2706, allocations: 157.6 kB / 481.3 MB, free: 41.13 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.52e-05/0.2706, allocations: 59.94 kB / 481.4 MB, free: 41.07 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0008784/0.2715, allocations: 1.109 MB / 482.5 MB, free: 39.94 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.11e-07/0.2715, allocations: 0 / 482.5 MB, free: 39.94 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001658/0.2732, allocations: 0.8929 MB / 483.4 MB, free: 39.06 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.002209/0.2754, allocations: 3.035 MB / 486.4 MB, free: 35.96 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002059/0.2774, allocations: 2.282 MB / 488.7 MB, free: 33.64 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.2774, allocations: 0 / 488.7 MB, free: 33.64 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009308/0.2784, allocations: 1.332 MB / 490 MB, free: 32.27 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009456/0.2793, allocations: 334.9 kB / 490.4 MB, free: 31.95 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01449/0.2938, allocations: 16.57 MB / 0.4951 GB, free: 14.61 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005094/0.2943, allocations: 0.9222 MB / 0.496 GB, free: 13.65 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0006812/0.295, allocations: 298.3 kB / 0.4962 GB, free: 13.36 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006296/0.2956, allocations: 0.883 MB / 0.4971 GB, free: 12.47 MB / 362.7 MB Notification: Performance of SimCode: time 1.102e-06/0.2956, allocations: 0 / 0.4971 GB, free: 12.47 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06287/0.3585, allocations: 53.19 MB / 0.5491 GB, free: 7.309 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.366/9.724, allocations: 8 kB / 0.5491 GB, free: 7.301 MB / 410.7 MB " [Timeout remaining time 650] (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: 11.574854307807982] Failed to read output from testmodel.py, exit status != 0: 9.83513578120619 9.843779007 9.797649064 Calling exit ...