Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.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.0009089/0.0009089, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9383/0.9383, allocations: 177.2 MB / 200 MB, free: 5.535 MB / 186.7 MB " [Timeout remaining time 179] 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.00127/0.00127, allocations: 156.6 kB / 256.6 MB, free: 12.99 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.2858/0.2858, allocations: 80.35 MB / 393.5 MB, free: 2.082 MB / 314.7 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.2.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/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 Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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) Running command: translateModel(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2") translateModel(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.764e-06/1.764e-06, allocations: 0 / 489.9 MB, free: 11.52 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.865e-05/2.041e-05, allocations: 2.312 kB / 489.9 MB, free: 11.52 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2): time 0.004726/0.004746, allocations: 5.343 MB / 495.3 MB, free: 6.156 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002371/0.007117, allocations: 1.794 MB / 497.1 MB, free: 4.371 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003178/0.007435, allocations: 15.94 kB / 497.1 MB, free: 4.355 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003665/0.007801, allocations: 192.7 kB / 497.3 MB, free: 4.168 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001112/0.008913, allocations: 0.7131 MB / 498 MB, free: 3.453 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006273/0.009541, allocations: 0.497 MB / 498.5 MB, free: 2.961 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009068/0.01045, allocations: 1.303 MB / 499.8 MB, free: 1.652 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002442/0.01069, allocations: 176.4 kB / 500 MB, free: 1.473 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006676/0.01136, allocations: 0.7442 MB / 0.489 GB, free: 0.7266 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005098/0.01187, allocations: 0.518 MB / 0.4895 GB, free: 212 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001331/0.012, allocations: 112.6 kB / 0.4896 GB, free: 100 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003494/0.01235, allocations: 272.3 kB / 0.4899 GB, free: 15.83 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001566/0.01251, allocations: 270.9 kB / 0.4901 GB, free: 15.57 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002522/0.01276, allocations: 376 kB / 0.4905 GB, free: 15.2 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009579/0.01372, allocations: 1.051 MB / 0.4915 GB, free: 14.14 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.295e-06/0.01372, allocations: 0 / 0.4915 GB, free: 14.14 MB / 426.7 MB Notification: Performance of FrontEnd: time 6.42e-07/0.01372, allocations: 1.594 kB / 0.4915 GB, free: 14.14 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.436e-05/0.01374, allocations: 0 / 0.4915 GB, free: 14.14 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 162 * Number of variables: 162 Notification: Performance of Generate backend data structure: time 0.003145/0.01688, allocations: 2.006 MB / 0.4935 GB, free: 12.12 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.01692, allocations: 8.031 kB / 0.4935 GB, free: 12.11 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001815/0.01873, allocations: 0.6408 MB / 0.4941 GB, free: 11.48 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007099/0.01944, allocations: 0.6486 MB / 0.4947 GB, free: 10.8 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001692/0.01961, allocations: 334.3 kB / 0.495 GB, free: 10.41 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001052/0.01972, allocations: 79.94 kB / 0.4951 GB, free: 10.34 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007954/0.02051, allocations: 0.6283 MB / 0.4957 GB, free: 9.688 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.02052, allocations: 0 / 0.4957 GB, free: 9.688 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.981e-05/0.02057, allocations: 24.78 kB / 0.4958 GB, free: 9.664 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.281e-05/0.02059, allocations: 16 kB / 0.4958 GB, free: 9.648 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005453/0.02113, allocations: 345 kB / 0.4961 GB, free: 9.312 MB / 426.7 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.003019/0.02415, allocations: 2.246 MB / 0.4983 GB, free: 7.02 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003126/0.02728, allocations: 1.203 MB / 0.4995 GB, free: 5.797 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003186/0.0276, allocations: 209.6 kB / 0.4997 GB, free: 5.586 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.301e-05/0.02766, allocations: 12.66 kB / 0.4997 GB, free: 5.574 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.764e-05/0.02769, allocations: 50.03 kB / 0.4997 GB, free: 5.516 MB / 426.7 MB Notification: Performance of pre-optimization done (n=72): time 2.053e-06/0.02769, allocations: 0 / 0.4997 GB, free: 5.516 MB / 426.7 MB Notification: Performance of matching and sorting (n=72): time 0.005132/0.03282, allocations: 2.165 MB / 0.5018 GB, free: 3.324 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.575e-05/0.03286, allocations: 89.75 kB / 0.5019 GB, free: 3.219 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000606/0.03346, allocations: 0.7298 MB / 0.5026 GB, free: 2.477 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.904e-05/0.03351, allocations: 41.7 kB / 0.5027 GB, free: 2.43 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000223/0.03374, allocations: 475.6 kB / 0.5031 GB, free: 1.957 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002355/0.03397, allocations: 277.7 kB / 0.5034 GB, free: 1.684 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002393/0.03421, allocations: 200.2 kB / 0.5036 GB, free: 1.477 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.03434, allocations: 0.5121 MB / 0.5041 GB, free: 0.957 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000392/0.03473, allocations: 251.9 kB / 0.5043 GB, free: 0.7109 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000464/0.0352, allocations: 411.9 kB / 0.5047 GB, free: 272 kB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001277/0.03647, allocations: 0.9133 MB / 0.5056 GB, free: 15.32 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.03648, allocations: 0 / 0.5056 GB, free: 15.32 MB / 442.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.002847/0.03932, allocations: 1.553 MB / 0.5071 GB, free: 13.75 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.03934, allocations: 7.938 kB / 0.5071 GB, free: 13.74 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.677e-06/0.03935, allocations: 4 kB / 0.5071 GB, free: 13.73 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002535/0.04188, allocations: 0.8891 MB / 0.508 GB, free: 12.83 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004489/0.04233, allocations: 171.7 kB / 0.5082 GB, free: 12.66 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004291/0.04662, allocations: 3.504 MB / 0.5116 GB, free: 9.035 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004966/0.04712, allocations: 103.4 kB / 0.5117 GB, free: 8.934 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.445e-05/0.04718, allocations: 43.92 kB / 0.5117 GB, free: 8.891 MB / 442.7 MB Warning: Assuming fixed start value for the following 2 variables: G1.order6.delta:VARIABLE(flow=false start = G1.order6.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real G1.order6.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005665/0.04774, allocations: 393.6 kB / 0.5121 GB, free: 8.504 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004504/0.04819, allocations: 415.8 kB / 0.5125 GB, free: 8.055 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001219/0.04941, allocations: 0.9133 MB / 0.5134 GB, free: 7.113 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.236e-06/0.04941, allocations: 0 / 0.5134 GB, free: 7.113 MB / 442.7 MB Notification: Performance of matching and sorting (n=128) (initialization_lambda0): time 0.002819/0.05223, allocations: 1.549 MB / 0.5149 GB, free: 5.539 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.038e-05/0.05224, allocations: 4 kB / 0.5149 GB, free: 5.535 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.05225, allocations: 4 kB / 0.5149 GB, free: 5.531 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002332/0.05458, allocations: 0.8928 MB / 0.5158 GB, free: 4.625 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000408/0.05499, allocations: 159.8 kB / 0.5159 GB, free: 4.469 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004099/0.05909, allocations: 3.512 MB / 0.5194 GB, free: 0.832 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004963/0.05958, allocations: 91.52 kB / 0.5195 GB, free: 0.7422 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.275e-05/0.05964, allocations: 35.98 kB / 0.5195 GB, free: 0.707 MB / 442.7 MB Warning: Assuming fixed start value for the following 2 variables: G1.order6.delta:VARIABLE(flow=false start = G1.order6.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real G1.order6.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 2 (breaker2.Open,breaker1.Open) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (101): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(9,17,54.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000244/0.05988, allocations: 327.5 kB / 0.5198 GB, free: 392 kB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001389/0.06002, allocations: 115.4 kB / 0.5199 GB, free: 276 kB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002174/0.06219, allocations: 1.222 MB / 0.5211 GB, free: 15.02 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/0.0622, allocations: 3.984 kB / 0.5211 GB, free: 15.02 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.0622, allocations: 7.938 kB / 0.5211 GB, free: 15.01 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001193/0.06232, allocations: 107.2 kB / 0.5212 GB, free: 14.91 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.776e-05/0.0624, allocations: 16 kB / 0.5212 GB, free: 14.89 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003269/0.06273, allocations: 39.95 kB / 0.5213 GB, free: 14.85 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002381/0.06297, allocations: 172.2 kB / 0.5214 GB, free: 14.68 MB / 458.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001821/0.06479, allocations: 0.8532 MB / 0.5223 GB, free: 13.81 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001136/0.06592, allocations: 0.9513 MB / 0.5232 GB, free: 12.84 MB / 458.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002783/0.0662, allocations: 146.1 kB / 0.5233 GB, free: 12.69 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0003745/0.06658, allocations: 482.9 kB / 0.5238 GB, free: 12.22 MB / 458.7 MB Notification: Performance of Backend: time 4.2e-07/0.06658, allocations: 0 / 0.5238 GB, free: 12.22 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003749/0.07032, allocations: 2.153 MB / 0.5259 GB, free: 10.01 MB / 458.7 MB Notification: Performance of SimCode: time 0.00225/0.07257, allocations: 2.477 MB / 0.5283 GB, free: 7.469 MB / 458.7 MB Notification: Performance of Templates: time 0.02548/0.09805, allocations: 26.58 MB / 0.5543 GB, free: 13.04 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.sim & ./OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9668785580433905]