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.001375/0.001375, allocations: 105 kB / 20.48 MB, free: 1.473 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.001561/0.001561, allocations: 216.3 kB / 23.8 MB, free: 4.676 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.527/1.527, allocations: 207.6 MB / 234.6 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.06779/0.06779, allocations: 14.39 MB / 301.2 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.002915/0.002915, allocations: 67.91 kB / 425.8 MB, free: 35.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1053, allocations: 52.91 MB / 478.7 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow): time 0.02005/0.1253, allocations: 18.69 MB / 497.4 MB, free: 11.89 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01353/0.1389, allocations: 7.662 MB / 0.4932 GB, free: 4.207 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003304/0.1422, allocations: 59.69 kB / 0.4933 GB, free: 4.148 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004544/0.1467, allocations: 1.002 MB / 0.4943 GB, free: 3.141 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01474/0.1615, allocations: 3.388 MB / 0.4976 GB, free: 15.77 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003709/0.1652, allocations: 0.8095 MB / 0.4984 GB, free: 14.97 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01303/0.1782, allocations: 5.708 MB / 0.5039 GB, free: 9.238 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001336/0.1795, allocations: 218.9 kB / 0.5041 GB, free: 9.004 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005481/0.185, allocations: 1.977 MB / 0.5061 GB, free: 7.02 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005826/0.1909, allocations: 2.016 MB / 0.508 GB, free: 4.996 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001155/0.192, allocations: 200 kB / 0.5082 GB, free: 4.801 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004009/0.196, allocations: 0.7224 MB / 0.5089 GB, free: 4.078 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001087/0.1971, allocations: 0.4976 MB / 0.5094 GB, free: 3.578 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004595/0.2017, allocations: 1.675 MB / 0.5111 GB, free: 1.895 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01289/0.2146, allocations: 4.223 MB / 0.5152 GB, free: 13.66 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.014e-05/0.2146, allocations: 4 kB / 0.5152 GB, free: 13.65 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.2146, allocations: 0 / 0.5152 GB, free: 13.65 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001723/0.2148, allocations: 4 kB / 0.5152 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.01864/0.2334, allocations: 4.465 MB / 0.5196 GB, free: 9.129 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.2335, allocations: 12.03 kB / 0.5196 GB, free: 9.117 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002305/0.2358, allocations: 474.8 kB / 0.52 GB, free: 8.652 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004398/0.2402, allocations: 1.713 MB / 0.5217 GB, free: 6.891 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001476/0.2403, allocations: 160.8 kB / 0.5218 GB, free: 6.73 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003126/0.2406, allocations: 215.9 kB / 0.522 GB, free: 6.52 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004139/0.2448, allocations: 2.141 MB / 0.5241 GB, free: 4.27 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.28e-05/0.2448, allocations: 3.938 kB / 0.5241 GB, free: 4.266 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001955/0.245, allocations: 92 kB / 0.5242 GB, free: 4.176 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.947e-05/0.245, allocations: 56 kB / 0.5243 GB, free: 4.121 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004226/0.2493, allocations: 2.172 MB / 0.5264 GB, free: 1.934 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.2399/0.4892, allocations: 15.08 MB / 0.5411 GB, free: 47.43 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004682/0.4939, allocations: 2.063 MB / 0.5431 GB, free: 46.63 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001503/0.4954, allocations: 0.7011 MB / 0.5438 GB, free: 46.34 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000173/0.4956, allocations: 34.27 kB / 0.5439 GB, free: 46.33 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.39e-05/0.4956, allocations: 52.67 kB / 0.5439 GB, free: 46.28 MB / 398.1 MB Notification: Performance of pre-optimization done (n=217): time 5.099e-06/0.4956, allocations: 0 / 0.5439 GB, free: 46.28 MB / 398.1 MB Notification: Performance of matching and sorting (n=217): time 0.01074/0.5063, allocations: 3.224 MB / 0.5471 GB, free: 45.25 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.033e-05/0.5064, allocations: 74.62 kB / 0.5471 GB, free: 45.19 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004085/0.5105, allocations: 1.691 MB / 0.5488 GB, free: 44.48 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001171/0.5106, allocations: 61.14 kB / 0.5488 GB, free: 44.43 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008585/0.5115, allocations: 1.092 MB / 0.5499 GB, free: 43.67 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000812/0.5123, allocations: 0.7844 MB / 0.5507 GB, free: 43.17 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000776/0.5131, allocations: 434.5 kB / 0.5511 GB, free: 42.95 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 5.609e-05/0.5131, allocations: 303 kB / 0.5514 GB, free: 42.65 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001307/0.5144, allocations: 0.6577 MB / 0.552 GB, free: 42.39 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001698/0.5161, allocations: 1.221 MB / 0.5532 GB, free: 41.45 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002783/0.5189, allocations: 2.023 MB / 0.5552 GB, free: 40 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.765e-05/0.5189, allocations: 11.69 kB / 0.5552 GB, free: 40 MB / 398.1 MB Notification: Performance of matching and sorting (n=326) (initialization): time 0.005046/0.524, allocations: 2.669 MB / 0.5578 GB, free: 38.82 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.072e-05/0.524, allocations: 11.25 kB / 0.5578 GB, free: 38.82 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.662e-05/0.524, allocations: 16.31 kB / 0.5578 GB, free: 38.82 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001853/0.5259, allocations: 0.5356 MB / 0.5584 GB, free: 38.6 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002107/0.528, allocations: 0.5731 MB / 0.5589 GB, free: 38.47 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008484/0.5365, allocations: 7.412 MB / 0.5662 GB, free: 32.3 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003055/0.5395, allocations: 195.8 kB / 0.5663 GB, free: 32.18 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002598/0.5398, allocations: 99.98 kB / 0.5664 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.001235/0.541, allocations: 479.1 kB / 0.5669 GB, free: 31.61 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009848/0.542, allocations: 246.5 kB / 0.5671 GB, free: 31.37 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004177/0.5462, allocations: 2.126 MB / 0.5692 GB, free: 29.21 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-05/0.5462, allocations: 24 kB / 0.5692 GB, free: 29.19 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.725e-06/0.5462, allocations: 112 / 0.5692 GB, free: 29.19 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.933e-05/0.5462, allocations: 15.84 kB / 0.5692 GB, free: 29.18 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007961/0.5542, allocations: 5.195 MB / 0.5743 GB, free: 23.82 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.271e-05/0.5542, allocations: 4 kB / 0.5743 GB, free: 23.82 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001471/0.5557, allocations: 396 kB / 0.5747 GB, free: 23.43 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001549/0.5572, allocations: 0.5028 MB / 0.5752 GB, free: 22.92 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001241/0.5573, allocations: 43.98 kB / 0.5752 GB, free: 22.88 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007214/0.5646, allocations: 7.263 MB / 0.5823 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.5646, allocations: 7.938 kB / 0.5823 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005933/0.5705, allocations: 4.185 MB / 0.5864 GB, free: 10.96 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001339/0.5718, allocations: 454.8 kB / 0.5868 GB, free: 10.54 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005727/0.5724, allocations: 43.94 kB / 0.5869 GB, free: 10.49 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001977/0.5744, allocations: 62.47 kB / 0.5869 GB, free: 10.43 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002643/0.5747, allocations: 161.6 kB / 0.5871 GB, free: 10.27 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.604e-05/0.5747, allocations: 55.98 kB / 0.5872 GB, free: 10.22 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00176/0.5765, allocations: 1.105 MB / 0.5882 GB, free: 9.09 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5765, allocations: 0 / 0.5882 GB, free: 9.09 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003565/0.5801, allocations: 0.8996 MB / 0.5891 GB, free: 8.207 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.000472/0.5805, allocations: 284.9 kB / 0.5894 GB, free: 7.938 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003686/0.5842, allocations: 2.254 MB / 0.5916 GB, free: 5.645 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/0.5842, allocations: 8.047 kB / 0.5916 GB, free: 5.637 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001905/0.5861, allocations: 1.329 MB / 0.5929 GB, free: 4.273 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002707/0.5888, allocations: 335.2 kB / 0.5932 GB, free: 3.945 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006833/0.5957, allocations: 4.744 MB / 0.5978 GB, free: 15.12 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001394/0.5971, allocations: 1.546 MB / 0.5994 GB, free: 13.54 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001477/0.5985, allocations: 305.9 kB / 0.5996 GB, free: 13.24 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005951/0.5991, allocations: 163.4 kB / 0.5998 GB, free: 13.08 MB / 414.1 MB Notification: Performance of SimCode: time 1.122e-06/0.5991, allocations: 0 / 0.5998 GB, free: 13.08 MB / 414.1 MB Notification: Performance of Templates: time 0.06478/0.6639, allocations: 33.19 MB / 0.6322 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.313477467978373] Failed to read output from testmodel.py, exit status != 0: 0.6740813269861974 0.688666616 0.47035389099999997 Calling exit ...