Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_symb_jac_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.001406/0.001406, allocations: 114.4 kB / 19.7 MB, free: 2.191 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.001531/0.001531, allocations: 221.2 kB / 23.01 MB, free: 5.043 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.516/1.516, 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.0691/0.0691, allocations: 14.39 MB / 300.4 MB, free: 7.531 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: translateModel(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow") translateModel(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow") [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.002327/0.002327, allocations: 71.88 kB / 425 MB, free: 35.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08364/0.08597, allocations: 52.91 MB / 477.9 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow): time 0.01988/0.1058, allocations: 18.69 MB / 496.6 MB, free: 11.89 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01315/0.119, allocations: 7.655 MB / 0.4925 GB, free: 4.215 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002454/0.1215, allocations: 59.69 kB / 0.4925 GB, free: 4.156 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00281/0.1243, allocations: 1.002 MB / 0.4935 GB, free: 3.148 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009565/0.1338, allocations: 3.39 MB / 0.4968 GB, free: 15.78 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00238/0.1362, allocations: 0.817 MB / 0.4976 GB, free: 14.96 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008576/0.1448, allocations: 5.716 MB / 0.5032 GB, free: 9.227 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006919/0.1455, allocations: 210.9 kB / 0.5034 GB, free: 9 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003371/0.1488, allocations: 1.981 MB / 0.5053 GB, free: 7.012 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003456/0.1523, allocations: 2.02 MB / 0.5073 GB, free: 4.984 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005019/0.1528, allocations: 200 kB / 0.5075 GB, free: 4.789 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002107/0.1549, allocations: 0.7224 MB / 0.5082 GB, free: 4.066 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004745/0.1554, allocations: 0.4937 MB / 0.5087 GB, free: 3.57 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002208/0.1576, allocations: 1.672 MB / 0.5103 GB, free: 1.891 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006163/0.1638, allocations: 4.227 MB / 0.5144 GB, free: 13.65 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.1638, allocations: 0 / 0.5144 GB, free: 13.65 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.1638, allocations: 0 / 0.5144 GB, free: 13.65 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.189e-05/0.1638, allocations: 0 / 0.5144 GB, free: 13.65 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.01633/0.1802, allocations: 4.477 MB / 0.5188 GB, free: 9.117 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.1802, allocations: 8.031 kB / 0.5188 GB, free: 9.109 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002239/0.1824, allocations: 474.8 kB / 0.5193 GB, free: 8.645 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004065/0.1865, allocations: 1.709 MB / 0.5209 GB, free: 6.887 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001358/0.1867, allocations: 168.8 kB / 0.5211 GB, free: 6.719 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002848/0.1869, allocations: 211.9 kB / 0.5213 GB, free: 6.512 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003712/0.1906, allocations: 2.141 MB / 0.5234 GB, free: 4.262 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.585e-05/0.1907, allocations: 7.938 kB / 0.5234 GB, free: 4.254 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001709/0.1909, allocations: 88 kB / 0.5235 GB, free: 4.168 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.642e-05/0.1909, allocations: 56 kB / 0.5235 GB, free: 4.113 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004003/0.1949, allocations: 2.168 MB / 0.5256 GB, free: 1.93 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.2524/0.4474, allocations: 15.08 MB / 0.5404 GB, free: 47.36 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004013/0.4514, allocations: 2.062 MB / 0.5424 GB, free: 46.56 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001196/0.4526, allocations: 0.6996 MB / 0.5431 GB, free: 46.27 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001529/0.4527, allocations: 30.64 kB / 0.5431 GB, free: 46.26 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.323e-05/0.4528, allocations: 52.66 kB / 0.5431 GB, free: 46.21 MB / 398.1 MB Notification: Performance of pre-optimization done (n=217): time 4.018e-06/0.4528, allocations: 0.5 kB / 0.5431 GB, free: 46.21 MB / 398.1 MB Notification: Performance of matching and sorting (n=217): time 0.009422/0.4622, allocations: 3.229 MB / 0.5463 GB, free: 45.18 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.48e-05/0.4622, allocations: 72.72 kB / 0.5464 GB, free: 45.12 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002616/0.4648, allocations: 1.685 MB / 0.548 GB, free: 44.42 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001509/0.465, allocations: 61.64 kB / 0.5481 GB, free: 44.36 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007688/0.4658, allocations: 1.092 MB / 0.5491 GB, free: 43.61 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008266/0.4666, allocations: 0.7815 MB / 0.5499 GB, free: 43.1 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006418/0.4672, allocations: 440.3 kB / 0.5503 GB, free: 42.88 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 6.341e-05/0.4673, allocations: 304.5 kB / 0.5506 GB, free: 42.58 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009458/0.4682, allocations: 0.6585 MB / 0.5513 GB, free: 42.32 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00113/0.4694, allocations: 1.217 MB / 0.5524 GB, free: 41.39 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002158/0.4715, allocations: 2.028 MB / 0.5544 GB, free: 39.93 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.066e-05/0.4715, allocations: 3.906 kB / 0.5544 GB, free: 39.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=326) (initialization): time 0.004571/0.4761, allocations: 2.671 MB / 0.557 GB, free: 38.75 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.832e-05/0.4761, allocations: 15.72 kB / 0.5571 GB, free: 38.75 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.067e-05/0.4762, allocations: 15.84 kB / 0.5571 GB, free: 38.75 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001626/0.4778, allocations: 0.5367 MB / 0.5576 GB, free: 38.54 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001927/0.4797, allocations: 0.5775 MB / 0.5582 GB, free: 38.4 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007437/0.4871, allocations: 7.399 MB / 0.5654 GB, free: 32.23 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002948/0.4901, allocations: 197.1 kB / 0.5656 GB, free: 32.14 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000243/0.4903, allocations: 94.31 kB / 0.5657 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.0009243/0.4913, allocations: 483.1 kB / 0.5661 GB, free: 31.61 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005657/0.4918, allocations: 246.5 kB / 0.5664 GB, free: 31.36 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003347/0.4952, allocations: 2.126 MB / 0.5684 GB, free: 29.21 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.286e-05/0.4952, allocations: 20 kB / 0.5685 GB, free: 29.19 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.4952, allocations: 0 / 0.5685 GB, free: 29.19 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.838e-05/0.4952, allocations: 11.91 kB / 0.5685 GB, free: 29.18 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006983/0.5022, allocations: 5.213 MB / 0.5736 GB, free: 23.81 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.708e-06/0.5022, allocations: 4 kB / 0.5736 GB, free: 23.81 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001449/0.5036, allocations: 387.5 kB / 0.5739 GB, free: 23.43 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001578/0.5052, allocations: 0.5028 MB / 0.5744 GB, free: 22.92 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001219/0.5053, allocations: 43.98 kB / 0.5745 GB, free: 22.88 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007248/0.5126, allocations: 7.264 MB / 0.5816 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.117e-06/0.5126, allocations: 7.938 kB / 0.5816 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005895/0.5185, allocations: 4.185 MB / 0.5856 GB, free: 10.96 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001308/0.5198, allocations: 454.7 kB / 0.5861 GB, free: 10.53 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003/0.5201, allocations: 36.19 kB / 0.5861 GB, free: 10.49 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001554/0.5217, allocations: 66.47 kB / 0.5862 GB, free: 10.43 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002839/0.5219, allocations: 157.5 kB / 0.5863 GB, free: 10.27 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.574e-05/0.522, allocations: 55.98 kB / 0.5864 GB, free: 10.22 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001329/0.5233, allocations: 1.109 MB / 0.5875 GB, free: 9.086 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5233, allocations: 4 kB / 0.5875 GB, free: 9.082 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00251/0.5259, allocations: 0.8996 MB / 0.5883 GB, free: 8.199 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.0004025/0.5263, allocations: 283.7 kB / 0.5886 GB, free: 7.93 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003182/0.5294, allocations: 2.26 MB / 0.5908 GB, free: 5.633 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.121e-06/0.5294, allocations: 8.062 kB / 0.5908 GB, free: 5.625 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001594/0.531, allocations: 1.325 MB / 0.5921 GB, free: 4.266 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001625/0.5327, allocations: 332.9 kB / 0.5924 GB, free: 3.941 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006504/0.5392, allocations: 4.748 MB / 0.5971 GB, free: 15.11 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001426/0.5406, allocations: 1.546 MB / 0.5986 GB, free: 13.53 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.00134/0.5419, allocations: 297.5 kB / 0.5989 GB, free: 13.24 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005487/0.5425, allocations: 163.4 kB / 0.599 GB, free: 13.08 MB / 414.1 MB Notification: Performance of SimCode: time 1.393e-06/0.5425, allocations: 0 / 0.599 GB, free: 13.08 MB / 414.1 MB Notification: Performance of Templates: time 0.06211/0.6046, allocations: 33.2 MB / 0.6315 GB, free: 11.95 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.makefile [Timeout 660] (rm -f PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.sim & ./PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=50 -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.pipe 2>&1) [Timeout 50] [Calling sys.exit(0), Time elapsed: 6.250337813995429] Failed to read output from testmodel.py, exit status != 0: 0.6138733120023971 0.629049608 0.46194154099999996 Calling exit ...