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.001881/0.001881, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002556/0.002556, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.495/1.495, allocations: 207.6 MB / 233 MB, free: 10.01 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.07165/0.07165, allocations: 14.39 MB / 299.7 MB, free: 7.438 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="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.002334/0.002334, allocations: 81.59 kB / 423.8 MB, free: 36.15 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09164/0.09398, allocations: 52.89 MB / 476.7 MB, free: 15.17 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow): time 0.0221/0.1161, allocations: 18.7 MB / 495.4 MB, free: 12.39 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01486/0.1309, allocations: 7.647 MB / 0.4912 GB, free: 4.715 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002952/0.1339, allocations: 63.62 kB / 0.4913 GB, free: 4.652 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003389/0.1373, allocations: 1.002 MB / 0.4923 GB, free: 3.645 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01096/0.1482, allocations: 3.389 MB / 0.4956 GB, free: 284 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002504/0.1507, allocations: 0.8091 MB / 0.4964 GB, free: 15.47 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008763/0.1595, allocations: 5.712 MB / 0.5019 GB, free: 9.738 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007633/0.1603, allocations: 222.9 kB / 0.5021 GB, free: 9.5 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003537/0.1638, allocations: 1.977 MB / 0.5041 GB, free: 7.516 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003668/0.1675, allocations: 2.008 MB / 0.506 GB, free: 5.5 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006846/0.1682, allocations: 204 kB / 0.5062 GB, free: 5.301 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002768/0.1709, allocations: 0.7184 MB / 0.5069 GB, free: 4.582 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006606/0.1716, allocations: 0.4938 MB / 0.5074 GB, free: 4.086 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002774/0.1744, allocations: 1.683 MB / 0.5091 GB, free: 2.395 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006077/0.1804, allocations: 4.231 MB / 0.5132 GB, free: 14.15 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.1804, allocations: 0 / 0.5132 GB, free: 14.15 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1805, allocations: 0 / 0.5132 GB, free: 14.15 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.326e-05/0.1805, allocations: 0 / 0.5132 GB, free: 14.15 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.01588/0.1964, allocations: 4.469 MB / 0.5176 GB, free: 9.625 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/0.1964, allocations: 8.031 kB / 0.5176 GB, free: 9.617 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004093/0.1969, allocations: 308.4 kB / 0.5179 GB, free: 9.305 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002094/0.1989, allocations: 478.8 kB / 0.5183 GB, free: 8.836 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004174/0.2031, allocations: 1.705 MB / 0.52 GB, free: 7.082 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001698/0.2033, allocations: 164.5 kB / 0.5201 GB, free: 6.918 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003387/0.2036, allocations: 212 kB / 0.5203 GB, free: 6.711 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004301/0.2079, allocations: 2.149 MB / 0.5224 GB, free: 4.453 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.42e-05/0.208, allocations: 0 / 0.5224 GB, free: 4.453 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001815/0.2082, allocations: 88 kB / 0.5225 GB, free: 4.367 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.38e-05/0.2082, allocations: 59.98 kB / 0.5226 GB, free: 4.309 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003931/0.2122, allocations: 2.175 MB / 0.5247 GB, free: 2.117 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.2152/0.4273, allocations: 15.07 MB / 0.5394 GB, free: 47.29 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004078/0.4314, allocations: 2.065 MB / 0.5414 GB, free: 46.47 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001121/0.4325, allocations: 0.6987 MB / 0.5421 GB, free: 46.18 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001256/0.4327, allocations: 29.72 kB / 0.5422 GB, free: 46.18 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.349e-05/0.4327, allocations: 54.22 kB / 0.5422 GB, free: 46.12 MB / 398.1 MB Notification: Performance of pre-optimization done (n=217): time 4.048e-06/0.4327, allocations: 1.031 kB / 0.5422 GB, free: 46.12 MB / 398.1 MB Notification: Performance of matching and sorting (n=217): time 0.009063/0.4418, allocations: 3.232 MB / 0.5454 GB, free: 45.05 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.45e-05/0.4418, allocations: 73.97 kB / 0.5454 GB, free: 44.99 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002598/0.4444, allocations: 1.693 MB / 0.5471 GB, free: 44.28 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001404/0.4446, allocations: 56.42 kB / 0.5471 GB, free: 44.22 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005733/0.4451, allocations: 1.097 MB / 0.5482 GB, free: 43.46 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006398/0.4458, allocations: 0.7851 MB / 0.549 GB, free: 42.96 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005392/0.4463, allocations: 434 kB / 0.5494 GB, free: 42.74 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 4.776e-05/0.4464, allocations: 305.1 kB / 0.5497 GB, free: 42.45 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009385/0.4473, allocations: 0.6504 MB / 0.5503 GB, free: 42.18 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001139/0.4484, allocations: 1.217 MB / 0.5515 GB, free: 41.25 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002065/0.4505, allocations: 2.028 MB / 0.5535 GB, free: 39.8 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.697e-06/0.4505, allocations: 3.969 kB / 0.5535 GB, free: 39.8 MB / 398.1 MB Notification: Performance of matching and sorting (n=326) (initialization): time 0.004273/0.4548, allocations: 2.676 MB / 0.5561 GB, free: 38.61 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.594e-05/0.4548, allocations: 14.03 kB / 0.5561 GB, free: 38.61 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.97e-05/0.4548, allocations: 15.72 kB / 0.5561 GB, free: 38.61 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001616/0.4565, allocations: 0.5313 MB / 0.5566 GB, free: 38.42 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001976/0.4584, allocations: 0.5803 MB / 0.5572 GB, free: 38.28 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007463/0.4659, allocations: 7.401 MB / 0.5644 GB, free: 32.11 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002661/0.4686, allocations: 197.1 kB / 0.5646 GB, free: 32.01 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001672/0.4687, allocations: 102.9 kB / 0.5647 GB, free: 31.98 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.0009132/0.4696, allocations: 471.3 kB / 0.5652 GB, free: 31.6 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004949/0.4701, allocations: 246.5 kB / 0.5654 GB, free: 31.36 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003618/0.4737, allocations: 2.138 MB / 0.5675 GB, free: 29.2 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.481e-05/0.4738, allocations: 20 kB / 0.5675 GB, free: 29.18 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/0.4738, allocations: 3.938 kB / 0.5675 GB, free: 29.17 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.201e-05/0.4738, allocations: 15.89 kB / 0.5675 GB, free: 29.16 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007728/0.4815, allocations: 5.195 MB / 0.5726 GB, free: 23.8 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.335e-05/0.4815, allocations: 6.625 kB / 0.5726 GB, free: 23.8 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001428/0.483, allocations: 388.1 kB / 0.573 GB, free: 23.42 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001564/0.4845, allocations: 0.5105 MB / 0.5735 GB, free: 22.9 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001272/0.4847, allocations: 40 kB / 0.5735 GB, free: 22.86 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007085/0.4917, allocations: 7.263 MB / 0.5806 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.182e-06/0.4917, allocations: 8 kB / 0.5806 GB, free: 15.26 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003869/0.4956, allocations: 2.295 MB / 0.5829 GB, free: 12.88 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001471/0.4971, allocations: 457.9 kB / 0.5833 GB, free: 12.45 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006039/0.4977, allocations: 43.98 kB / 0.5833 GB, free: 12.41 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001849/0.4995, allocations: 48 kB / 0.5834 GB, free: 12.36 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002423/0.4998, allocations: 157.6 kB / 0.5835 GB, free: 12.21 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.337e-05/0.4999, allocations: 52 kB / 0.5836 GB, free: 12.16 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001558/0.5014, allocations: 1.109 MB / 0.5847 GB, free: 11.02 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5014, allocations: 96 / 0.5847 GB, free: 11.02 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002889/0.5043, allocations: 0.9 MB / 0.5856 GB, free: 10.14 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.003986/0.5083, allocations: 3.031 MB / 0.5885 GB, free: 7.043 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003488/0.5118, allocations: 2.261 MB / 0.5907 GB, free: 4.746 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.5118, allocations: 4 kB / 0.5907 GB, free: 4.742 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001725/0.5135, allocations: 1.321 MB / 0.592 GB, free: 3.379 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00238/0.5159, allocations: 336.4 kB / 0.5923 GB, free: 3.055 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03144/0.5473, allocations: 16.45 MB / 0.6084 GB, free: 1.816 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001584/0.5489, allocations: 1.49 MB / 0.6099 GB, free: 300 kB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001371/0.5503, allocations: 300.9 kB / 0.6101 GB, free: 15.99 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001581/0.5519, allocations: 0.8819 MB / 0.611 GB, free: 15.11 MB / 430.1 MB Notification: Performance of SimCode: time 1.433e-06/0.5519, allocations: 0 / 0.611 GB, free: 15.11 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1257/0.6776, allocations: 54.19 MB / 0.6639 GB, free: 8.867 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 17.45/18.13, allocations: 15.73 kB / 0.6639 GB, free: 8.855 MB / 478.1 MB " [Timeout remaining time 642] (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: 20.98735902295448] Failed to read output from testmodel.py, exit status != 0: 18.28804930811748 18.318053477 18.131406114 Calling exit ...