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.001391/0.001391, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.001499/0.001499, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.612/1.612, allocations: 207.6 MB / 230.5 MB, free: 4.004 MB / 174.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.07073/0.07073, allocations: 14.4 MB / 296.8 MB, free: 1.879 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.003315/0.003315, allocations: 67.91 kB / 418.9 MB, free: 5.363 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4095/0.4128, allocations: 52.87 MB / 471.8 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow): time 0.0235/0.4363, allocations: 18.68 MB / 490.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01825/0.4546, allocations: 7.635 MB / 498.1 MB, free: 3.043 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004422/0.459, allocations: 63.62 kB / 498.2 MB, free: 2.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004517/0.4635, allocations: 1.002 MB / 499.2 MB, free: 1.973 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01335/0.4769, allocations: 3.39 MB / 0.4908 GB, free: 14.58 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003027/0.4799, allocations: 0.81 MB / 0.4916 GB, free: 13.77 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01164/0.4915, allocations: 5.708 MB / 0.4972 GB, free: 8.035 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001218/0.4928, allocations: 214.5 kB / 0.4974 GB, free: 7.805 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005567/0.4983, allocations: 1.973 MB / 0.4993 GB, free: 5.824 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005811/0.5041, allocations: 2.016 MB / 0.5013 GB, free: 3.801 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001217/0.5054, allocations: 204 kB / 0.5015 GB, free: 3.602 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004104/0.5095, allocations: 0.7263 MB / 0.5022 GB, free: 2.875 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008015/0.5103, allocations: 0.4937 MB / 0.5027 GB, free: 2.379 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004253/0.5145, allocations: 1.675 MB / 0.5043 GB, free: 0.6953 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009478/0.524, allocations: 4.206 MB / 0.5084 GB, free: 12.48 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.524, allocations: 0 / 0.5084 GB, free: 12.48 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.524, allocations: 0 / 0.5084 GB, free: 12.48 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001481/0.5242, allocations: 4 kB / 0.5084 GB, free: 12.47 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.01927/0.5434, allocations: 4.551 MB / 0.5129 GB, free: 7.852 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.985e-05/0.5435, allocations: 11.97 kB / 0.5129 GB, free: 7.84 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 9.147e-05/0.5436, allocations: 60.58 kB / 0.5129 GB, free: 7.777 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004776/0.544, allocations: 300.4 kB / 0.5132 GB, free: 7.473 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00236/0.5464, allocations: 478.7 kB / 0.5137 GB, free: 7.004 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004816/0.5512, allocations: 1.804 MB / 0.5154 GB, free: 5.145 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001709/0.5514, allocations: 168.3 kB / 0.5156 GB, free: 4.977 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003544/0.5517, allocations: 212 kB / 0.5158 GB, free: 4.77 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004494/0.5562, allocations: 2.141 MB / 0.5179 GB, free: 2.52 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.088e-05/0.5563, allocations: 3.938 kB / 0.5179 GB, free: 2.516 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002021/0.5565, allocations: 92 kB / 0.518 GB, free: 2.426 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.649e-05/0.5565, allocations: 55.98 kB / 0.518 GB, free: 2.371 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004269/0.5608, allocations: 2.168 MB / 0.5201 GB, free: 192 kB / 382.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.02633/0.5871, allocations: 15.19 MB / 0.535 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005384/0.5925, allocations: 2.964 MB / 0.5379 GB, free: 12.12 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001314/0.5938, allocations: 0.6973 MB / 0.5385 GB, free: 11.43 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000129/0.594, allocations: 29.98 kB / 0.5386 GB, free: 11.4 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.512e-05/0.594, allocations: 56.56 kB / 0.5386 GB, free: 11.33 MB / 414.1 MB Notification: Performance of pre-optimization done (n=217): time 5.059e-06/0.594, allocations: 0 / 0.5386 GB, free: 11.33 MB / 414.1 MB Notification: Performance of matching and sorting (n=217): time 0.009846/0.6039, allocations: 3.447 MB / 0.542 GB, free: 7.816 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.806e-05/0.604, allocations: 77.34 kB / 0.5421 GB, free: 7.73 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003411/0.6074, allocations: 1.693 MB / 0.5437 GB, free: 5.992 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002109/0.6076, allocations: 57.7 kB / 0.5438 GB, free: 5.93 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001137/0.6087, allocations: 1.092 MB / 0.5448 GB, free: 4.824 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001225/0.6099, allocations: 0.79 MB / 0.5456 GB, free: 4.027 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007459/0.6107, allocations: 433.1 kB / 0.546 GB, free: 3.598 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.6108, allocations: 317 kB / 0.5463 GB, free: 3.285 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001229/0.6121, allocations: 0.6571 MB / 0.547 GB, free: 2.625 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001795/0.6139, allocations: 1.222 MB / 0.5482 GB, free: 1.176 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00327/0.6171, allocations: 2.017 MB / 0.5501 GB, free: 14.91 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.329e-05/0.6172, allocations: 4 kB / 0.5501 GB, free: 14.9 MB / 430.1 MB Notification: Performance of matching and sorting (n=326) (initialization): time 0.006566/0.6237, allocations: 2.682 MB / 0.5528 GB, free: 12.16 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.063e-05/0.6238, allocations: 12 kB / 0.5528 GB, free: 12.15 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.894e-05/0.6238, allocations: 16 kB / 0.5528 GB, free: 12.13 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002042/0.6258, allocations: 0.5296 MB / 0.5533 GB, free: 11.59 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002444/0.6283, allocations: 0.5695 MB / 0.5539 GB, free: 11.02 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01208/0.6404, allocations: 7.719 MB / 0.5614 GB, free: 2.902 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003486/0.6438, allocations: 191 kB / 0.5616 GB, free: 2.715 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002698/0.6441, allocations: 103.9 kB / 0.5617 GB, free: 2.613 MB / 430.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.001191/0.6453, allocations: 473.2 kB / 0.5621 GB, free: 2.141 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008467/0.6462, allocations: 246.5 kB / 0.5624 GB, free: 1.898 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004909/0.6511, allocations: 2.136 MB / 0.5644 GB, free: 15.73 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.208e-05/0.6511, allocations: 20 kB / 0.5645 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.6511, allocations: 0 / 0.5645 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.176e-05/0.6511, allocations: 11.95 kB / 0.5645 GB, free: 15.7 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01028/0.6614, allocations: 5.239 MB / 0.5696 GB, free: 10.24 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.218e-05/0.6614, allocations: 4 kB / 0.5696 GB, free: 10.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001754/0.6632, allocations: 391.6 kB / 0.57 GB, free: 9.852 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001925/0.6651, allocations: 0.4986 MB / 0.5705 GB, free: 9.344 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001297/0.6652, allocations: 48 kB / 0.5705 GB, free: 9.297 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01119/0.6764, allocations: 7.561 MB / 0.5779 GB, free: 1.32 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/0.6764, allocations: 4 kB / 0.5779 GB, free: 1.316 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00552/0.6819, allocations: 2.302 MB / 0.5801 GB, free: 14.93 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002348/0.6843, allocations: 0.5264 MB / 0.5807 GB, free: 14.38 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004548/0.6847, allocations: 40 kB / 0.5807 GB, free: 14.34 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001655/0.6864, allocations: 52 kB / 0.5807 GB, free: 14.29 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004006/0.6868, allocations: 153.7 kB / 0.5809 GB, free: 14.14 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001006/0.6869, allocations: 52 kB / 0.5809 GB, free: 14.09 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001945/0.6888, allocations: 1.105 MB / 0.582 GB, free: 12.96 MB / 462.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.6888, allocations: 4 kB / 0.582 GB, free: 12.96 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003412/0.6922, allocations: 0.8862 MB / 0.5829 GB, free: 12.07 MB / 462.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.005628/0.6979, allocations: 3.037 MB / 0.5859 GB, free: 8.949 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00492/0.7028, allocations: 2.269 MB / 0.5881 GB, free: 6.641 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 9.558e-06/0.7028, allocations: 96 / 0.5881 GB, free: 6.641 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002708/0.7055, allocations: 1.324 MB / 0.5894 GB, free: 5.273 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003167/0.7087, allocations: 333.2 kB / 0.5897 GB, free: 4.945 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03445/0.7431, allocations: 16.45 MB / 0.6057 GB, free: 3.684 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001416/0.7445, allocations: 1.486 MB / 0.6072 GB, free: 2.164 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.00147/0.746, allocations: 304.9 kB / 0.6075 GB, free: 1.863 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001582/0.7476, allocations: 0.8859 MB / 0.6084 GB, free: 0.9766 MB / 478.1 MB Notification: Performance of SimCode: time 1.774e-06/0.7476, allocations: 0 / 0.6084 GB, free: 0.9766 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4335/1.181, allocations: 52.16 MB / 0.6593 GB, free: 98.85 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 17.35/18.53, allocations: 18.61 kB / 0.6593 GB, free: 98.84 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: 21.423093199031428] Failed to read output from testmodel.py, exit status != 0: 18.720414431998506 18.729241365 18.202548556 Calling exit ...