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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001545/0.001545, allocations: 107.4 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001779/0.001779, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.465/1.465, allocations: 207.6 MB / 229.8 MB, free: 11.42 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.06879/0.06879, allocations: 14.4 MB / 296 MB, free: 8.648 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002369/0.002369, allocations: 68.47 kB / 418.2 MB, free: 37.92 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08694/0.08931, allocations: 52.86 MB / 471.1 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow): time 0.02084/0.1102, allocations: 18.67 MB / 489.7 MB, free: 14.23 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01521/0.1254, allocations: 7.651 MB / 497.4 MB, free: 6.551 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003723/0.1291, allocations: 55.75 kB / 497.4 MB, free: 6.496 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004097/0.1332, allocations: 1.002 MB / 498.4 MB, free: 5.488 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01187/0.1451, allocations: 3.406 MB / 0.4901 GB, free: 2.102 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003086/0.1481, allocations: 0.7899 MB / 0.4909 GB, free: 1.316 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.009164/0.1573, allocations: 5.712 MB / 0.4964 GB, free: 11.59 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009828/0.1583, allocations: 210.6 kB / 0.4966 GB, free: 11.36 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003817/0.1621, allocations: 1.95 MB / 0.4985 GB, free: 9.402 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004074/0.1662, allocations: 2.019 MB / 0.5005 GB, free: 7.375 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008569/0.167, allocations: 204 kB / 0.5007 GB, free: 7.176 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002808/0.1698, allocations: 0.7146 MB / 0.5014 GB, free: 6.461 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008471/0.1707, allocations: 0.4976 MB / 0.5019 GB, free: 5.961 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003446/0.1741, allocations: 1.675 MB / 0.5035 GB, free: 4.277 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006893/0.181, allocations: 4.212 MB / 0.5076 GB, free: 52 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.181, allocations: 0 / 0.5076 GB, free: 52 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.181, allocations: 0 / 0.5076 GB, free: 52 kB / 382.1 MB Notification: Performance of Transformations before backend: time 5.63e-05/0.1811, allocations: 0 / 0.5076 GB, free: 52 kB / 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.01635/0.1974, allocations: 4.548 MB / 0.5121 GB, free: 11.43 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.1975, allocations: 8.031 kB / 0.5121 GB, free: 11.42 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004702/0.198, allocations: 308.4 kB / 0.5124 GB, free: 11.11 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002154/0.2001, allocations: 470.8 kB / 0.5128 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004341/0.2045, allocations: 1.812 MB / 0.5146 GB, free: 8.777 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001476/0.2046, allocations: 168.5 kB / 0.5148 GB, free: 8.609 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003255/0.2049, allocations: 208 kB / 0.515 GB, free: 8.406 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003629/0.2086, allocations: 2.141 MB / 0.517 GB, free: 6.156 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.246e-05/0.2086, allocations: 7.938 kB / 0.5171 GB, free: 6.148 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001881/0.2088, allocations: 92 kB / 0.5171 GB, free: 6.059 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-05/0.2088, allocations: 56 kB / 0.5172 GB, free: 6.004 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003663/0.2125, allocations: 2.168 MB / 0.5193 GB, free: 3.82 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.2066/0.4191, allocations: 15.18 MB / 0.5341 GB, free: 48.67 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004434/0.4236, allocations: 2.96 MB / 0.537 GB, free: 46.76 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001187/0.4247, allocations: 0.7002 MB / 0.5377 GB, free: 46.47 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001203/0.4249, allocations: 29.38 kB / 0.5377 GB, free: 46.47 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.909e-05/0.4249, allocations: 54.53 kB / 0.5378 GB, free: 46.41 MB / 398.1 MB Notification: Performance of pre-optimization done (n=217): time 3.687e-06/0.4249, allocations: 0 / 0.5378 GB, free: 46.41 MB / 398.1 MB Notification: Performance of matching and sorting (n=217): time 0.009634/0.4345, allocations: 3.456 MB / 0.5412 GB, free: 45.09 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.409e-05/0.4346, allocations: 74.47 kB / 0.5412 GB, free: 45.03 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002259/0.4368, allocations: 1.683 MB / 0.5429 GB, free: 44.33 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001138/0.437, allocations: 60.58 kB / 0.5429 GB, free: 44.27 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005272/0.4375, allocations: 1.095 MB / 0.544 GB, free: 43.52 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000603/0.4381, allocations: 0.7865 MB / 0.5448 GB, free: 43.01 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005254/0.4386, allocations: 434.2 kB / 0.5452 GB, free: 42.79 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 3.566e-05/0.4386, allocations: 301.1 kB / 0.5455 GB, free: 42.5 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009478/0.4396, allocations: 0.6631 MB / 0.5461 GB, free: 42.23 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001183/0.4408, allocations: 1.219 MB / 0.5473 GB, free: 41.3 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002025/0.4428, allocations: 2.025 MB / 0.5493 GB, free: 39.85 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.025e-05/0.4428, allocations: 3.938 kB / 0.5493 GB, free: 39.85 MB / 398.1 MB Notification: Performance of matching and sorting (n=326) (initialization): time 0.004144/0.447, allocations: 2.676 MB / 0.5519 GB, free: 38.66 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.63e-05/0.447, allocations: 12.25 kB / 0.5519 GB, free: 38.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.896e-05/0.447, allocations: 15.78 kB / 0.5519 GB, free: 38.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001586/0.4486, allocations: 0.5334 MB / 0.5525 GB, free: 38.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002003/0.4506, allocations: 0.58 MB / 0.553 GB, free: 38.29 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007228/0.4578, allocations: 7.711 MB / 0.5605 GB, free: 31.73 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002664/0.4605, allocations: 196.5 kB / 0.5607 GB, free: 31.63 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001634/0.4607, allocations: 99.56 kB / 0.5608 GB, free: 31.61 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.0007615/0.4614, allocations: 478.1 kB / 0.5613 GB, free: 31.26 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004189/0.4618, allocations: 252 kB / 0.5615 GB, free: 31.13 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003206/0.465, allocations: 2.128 MB / 0.5636 GB, free: 29.59 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.097e-05/0.465, allocations: 20 kB / 0.5636 GB, free: 29.57 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.4651, allocations: 3.938 kB / 0.5636 GB, free: 29.56 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.583e-05/0.4651, allocations: 7.969 kB / 0.5636 GB, free: 29.55 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006641/0.4717, allocations: 5.233 MB / 0.5687 GB, free: 24.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.917e-06/0.4717, allocations: 4 kB / 0.5688 GB, free: 24.15 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001408/0.4731, allocations: 392.1 kB / 0.5691 GB, free: 23.77 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001412/0.4745, allocations: 0.5087 MB / 0.5696 GB, free: 23.25 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.288e-05/0.4746, allocations: 43.94 kB / 0.5697 GB, free: 23.21 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006246/0.4809, allocations: 7.565 MB / 0.5771 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.4809, allocations: 12.12 kB / 0.5771 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003314/0.4842, allocations: 2.295 MB / 0.5793 GB, free: 12.85 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009464/0.4851, allocations: 0.5284 MB / 0.5798 GB, free: 12.32 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002724/0.4854, allocations: 40 kB / 0.5799 GB, free: 12.28 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001367/0.4868, allocations: 61.84 kB / 0.5799 GB, free: 12.22 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002107/0.487, allocations: 145.7 kB / 0.5801 GB, free: 12.08 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.355e-05/0.4871, allocations: 63.98 kB / 0.5801 GB, free: 12.02 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001187/0.4883, allocations: 1.101 MB / 0.5812 GB, free: 10.89 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4883, allocations: 0 / 0.5812 GB, free: 10.89 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002379/0.4906, allocations: 0.8868 MB / 0.5821 GB, free: 10.02 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.003491/0.4941, allocations: 3.045 MB / 0.585 GB, free: 6.902 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003217/0.4973, allocations: 2.255 MB / 0.5872 GB, free: 4.613 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.4973, allocations: 0.9375 kB / 0.5872 GB, free: 4.613 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001614/0.499, allocations: 1.323 MB / 0.5885 GB, free: 3.246 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002081/0.501, allocations: 325.5 kB / 0.5888 GB, free: 2.926 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02798/0.529, allocations: 16.48 MB / 0.6049 GB, free: 1.676 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001388/0.5304, allocations: 1.486 MB / 0.6064 GB, free: 160 kB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001409/0.5318, allocations: 295 kB / 0.6067 GB, free: 15.87 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001394/0.5332, allocations: 0.8859 MB / 0.6075 GB, free: 14.98 MB / 430.1 MB Notification: Performance of SimCode: time 1.152e-06/0.5332, allocations: 0 / 0.6075 GB, free: 14.98 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1086/0.6418, allocations: 52.14 MB / 0.6584 GB, free: 10.81 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.75/17.39, allocations: 15.75 kB / 0.6585 GB, free: 10.8 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.198688094038516] Failed to read output from testmodel.py, exit status != 0: 17.516765191219747 17.545813935 17.359380144 Calling exit ...