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.001346/0.001346, allocations: 110.4 kB / 19.73 MB, free: 2.242 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.001456/0.001456, allocations: 217.3 kB / 23.05 MB, free: 5.074 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.613/1.613, allocations: 207.6 MB / 233.8 MB, free: 9.988 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.07751/0.07751, allocations: 14.39 MB / 300.5 MB, free: 7.445 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow,fileNamePrefix="PowerGrids_PowerGrids_Examples_Tutorial_IslandOperation_PowerFlow",fmuType="cs",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.002242/0.002242, allocations: 71.89 kB / 424.6 MB, free: 36.14 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.1387, allocations: 52.9 MB / 477.4 MB, free: 15.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow): time 0.02293/0.1616, allocations: 18.7 MB / 496.2 MB, free: 12.38 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01778/0.1794, allocations: 7.647 MB / 0.492 GB, free: 4.707 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005111/0.1845, allocations: 63.62 kB / 0.4921 GB, free: 4.645 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004775/0.1893, allocations: 0.9979 MB / 0.493 GB, free: 3.641 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01396/0.2033, allocations: 3.393 MB / 0.4963 GB, free: 272 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003104/0.2064, allocations: 0.813 MB / 0.4971 GB, free: 15.46 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01391/0.2203, allocations: 5.708 MB / 0.5027 GB, free: 9.727 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001689/0.222, allocations: 218.9 kB / 0.5029 GB, free: 9.492 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005538/0.2275, allocations: 1.977 MB / 0.5048 GB, free: 7.508 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005387/0.2329, allocations: 2.016 MB / 0.5068 GB, free: 5.484 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001487/0.2344, allocations: 200 kB / 0.507 GB, free: 5.289 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004677/0.2391, allocations: 0.7224 MB / 0.5077 GB, free: 4.566 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001427/0.2405, allocations: 0.4937 MB / 0.5082 GB, free: 4.07 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005302/0.2458, allocations: 1.679 MB / 0.5098 GB, free: 2.383 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01107/0.2569, allocations: 4.223 MB / 0.514 GB, free: 14.14 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.072e-05/0.2569, allocations: 7.938 kB / 0.514 GB, free: 14.14 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.558e-06/0.2569, allocations: 0 / 0.514 GB, free: 14.14 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001562/0.257, allocations: 0 / 0.514 GB, free: 14.14 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.01995/0.277, allocations: 4.469 MB / 0.5183 GB, free: 9.613 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.403e-05/0.2771, allocations: 12.03 kB / 0.5183 GB, free: 9.602 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001073/0.2772, allocations: 56.58 kB / 0.5184 GB, free: 9.543 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000494/0.2777, allocations: 308.4 kB / 0.5187 GB, free: 9.23 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002549/0.2802, allocations: 478.8 kB / 0.5191 GB, free: 8.762 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005227/0.2854, allocations: 1.705 MB / 0.5208 GB, free: 7.008 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001533/0.2856, allocations: 168.3 kB / 0.521 GB, free: 6.84 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003031/0.2859, allocations: 208 kB / 0.5212 GB, free: 6.637 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004659/0.2905, allocations: 2.145 MB / 0.5233 GB, free: 4.383 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.481e-05/0.2906, allocations: 0 / 0.5233 GB, free: 4.383 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002247/0.2908, allocations: 92 kB / 0.5234 GB, free: 4.293 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.022e-05/0.2909, allocations: 56 kB / 0.5234 GB, free: 4.238 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004362/0.2953, allocations: 2.175 MB / 0.5255 GB, free: 2.047 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.3867/0.682, allocations: 15.07 MB / 0.5402 GB, free: 47.38 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004643/0.6866, allocations: 2.072 MB / 0.5423 GB, free: 46.56 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001472/0.6881, allocations: 0.6955 MB / 0.5429 GB, free: 46.27 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001351/0.6882, allocations: 33.3 kB / 0.543 GB, free: 46.27 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.778e-05/0.6883, allocations: 56.77 kB / 0.543 GB, free: 46.21 MB / 398.1 MB Notification: Performance of pre-optimization done (n=217): time 4.278e-06/0.6883, allocations: 0 / 0.543 GB, free: 46.21 MB / 398.1 MB Notification: Performance of matching and sorting (n=217): time 0.01302/0.7013, allocations: 3.224 MB / 0.5462 GB, free: 45.14 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.092e-05/0.7014, allocations: 74.12 kB / 0.5463 GB, free: 45.08 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003552/0.7049, allocations: 1.694 MB / 0.5479 GB, free: 44.37 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002379/0.7052, allocations: 61.48 kB / 0.548 GB, free: 44.31 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008576/0.706, allocations: 1.088 MB / 0.549 GB, free: 43.56 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008832/0.7069, allocations: 0.7894 MB / 0.5498 GB, free: 43.05 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006962/0.7076, allocations: 431.1 kB / 0.5502 GB, free: 42.83 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 6.907e-05/0.7077, allocations: 301.1 kB / 0.5505 GB, free: 42.54 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001087/0.7088, allocations: 0.6631 MB / 0.5511 GB, free: 42.27 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00134/0.7101, allocations: 1.204 MB / 0.5523 GB, free: 41.35 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00234/0.7125, allocations: 2.033 MB / 0.5543 GB, free: 39.89 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.509e-05/0.7125, allocations: 3.938 kB / 0.5543 GB, free: 39.89 MB / 398.1 MB Notification: Performance of matching and sorting (n=326) (initialization): time 0.005482/0.718, allocations: 2.68 MB / 0.5569 GB, free: 38.7 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.236e-05/0.718, allocations: 12.75 kB / 0.5569 GB, free: 38.7 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.2e-05/0.718, allocations: 15.84 kB / 0.557 GB, free: 38.7 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001763/0.7198, allocations: 0.5285 MB / 0.5575 GB, free: 38.51 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002283/0.7221, allocations: 0.5777 MB / 0.558 GB, free: 38.37 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009253/0.7313, allocations: 7.401 MB / 0.5653 GB, free: 32.2 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004174/0.7355, allocations: 199.6 kB / 0.5655 GB, free: 32.1 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005183/0.736, allocations: 96.53 kB / 0.5655 GB, free: 32.08 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.001399/0.7374, allocations: 479.2 kB / 0.566 GB, free: 31.61 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009047/0.7383, allocations: 246.5 kB / 0.5662 GB, free: 31.37 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003646/0.742, allocations: 2.126 MB / 0.5683 GB, free: 29.21 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.498e-05/0.742, allocations: 20 kB / 0.5683 GB, free: 29.2 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.742, allocations: 7.938 kB / 0.5683 GB, free: 29.19 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.098e-05/0.742, allocations: 15.89 kB / 0.5684 GB, free: 29.17 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007785/0.7498, allocations: 5.194 MB / 0.5734 GB, free: 23.82 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.268e-05/0.7498, allocations: 8.031 kB / 0.5734 GB, free: 23.81 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001479/0.7513, allocations: 387.5 kB / 0.5738 GB, free: 23.43 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001553/0.7528, allocations: 0.5038 MB / 0.5743 GB, free: 22.92 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.404e-05/0.7529, allocations: 44 kB / 0.5743 GB, free: 22.88 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007388/0.7603, allocations: 7.268 MB / 0.5814 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.7603, allocations: 4 kB / 0.5814 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004222/0.7645, allocations: 2.302 MB / 0.5837 GB, free: 12.89 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001801/0.7663, allocations: 453.8 kB / 0.5841 GB, free: 12.46 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004674/0.7668, allocations: 40 kB / 0.5842 GB, free: 12.42 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001665/0.7685, allocations: 48 kB / 0.5842 GB, free: 12.38 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003675/0.7688, allocations: 161.6 kB / 0.5844 GB, free: 12.22 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.6e-05/0.7689, allocations: 56 kB / 0.5844 GB, free: 12.16 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001748/0.7707, allocations: 1.105 MB / 0.5855 GB, free: 11.04 MB / 398.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.7707, allocations: 96 / 0.5855 GB, free: 11.04 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003324/0.774, allocations: 0.8961 MB / 0.5864 GB, free: 10.16 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.00415/0.7782, allocations: 3.031 MB / 0.5893 GB, free: 7.059 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003919/0.7821, allocations: 2.27 MB / 0.5915 GB, free: 4.758 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.654e-06/0.7821, allocations: 4.172 kB / 0.5916 GB, free: 4.754 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001881/0.784, allocations: 1.316 MB / 0.5928 GB, free: 3.395 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002918/0.7869, allocations: 339.3 kB / 0.5932 GB, free: 3.066 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03306/0.8199, allocations: 16.45 MB / 0.6092 GB, free: 1.824 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001548/0.8215, allocations: 1.486 MB / 0.6107 GB, free: 312 kB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001591/0.8231, allocations: 307.5 kB / 0.611 GB, free: 4 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001609/0.8247, allocations: 0.8865 MB / 0.6118 GB, free: 15.12 MB / 430.1 MB Notification: Performance of SimCode: time 2.164e-06/0.8247, allocations: 0 / 0.6118 GB, free: 15.12 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.142/0.9667, allocations: 54.23 MB / 0.6648 GB, free: 8.859 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 18.04/19.01, allocations: 4 kB / 0.6648 GB, free: 8.855 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 & /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: 22.19464355194941] Failed to read output from testmodel.py, exit status != 0: 19.218649692018516 19.234554346 18.973914105 Calling exit ...