Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.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.0008953/0.0008953, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 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.9128/0.9128, allocations: 177.2 MB / 200.3 MB, free: 5.672 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.001309/0.001309, allocations: 160.6 kB / 257 MB, free: 12.96 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.4215/0.4215, allocations: 83.31 MB / 343.6 MB, free: 6.742 MB / 314.7 MB " [Timeout remaining time 180] 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.TwoAreas.Two_Areas_PSSE_AVR,tolerance=0.001,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR") translateModel(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR,tolerance=0.001,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 387.9 MB, free: 10.75 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.06e-05/2.191e-05, allocations: 2.312 kB / 387.9 MB, free: 10.75 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR): time 0.01274/0.01276, allocations: 17.62 MB / 405.5 MB, free: 9.059 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01389/0.02665, allocations: 6.598 MB / 412.1 MB, free: 2.438 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004441/0.03109, allocations: 47.88 kB / 412.2 MB, free: 2.391 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003948/0.03504, allocations: 1.011 MB / 413.2 MB, free: 1.371 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008901/0.04394, allocations: 2.645 MB / 415.8 MB, free: 14.71 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00488/0.04882, allocations: 2.251 MB / 418.1 MB, free: 12.46 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.009999/0.05882, allocations: 6.952 MB / 425 MB, free: 5.484 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002359/0.06117, allocations: 0.8772 MB / 425.9 MB, free: 4.531 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007324/0.0685, allocations: 3.847 MB / 429.7 MB, free: 0.6758 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003809/0.07231, allocations: 2.672 MB / 432.4 MB, free: 14 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001857/0.07416, allocations: 0.6758 MB / 433.1 MB, free: 13.32 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002235/0.0764, allocations: 0.9059 MB / 434 MB, free: 12.41 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001392/0.07779, allocations: 1.491 MB / 435.5 MB, free: 10.92 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00297/0.08076, allocations: 1.928 MB / 437.4 MB, free: 8.984 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006072/0.08683, allocations: 4.737 MB / 442.2 MB, free: 4.23 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.603e-06/0.08684, allocations: 0 / 442.2 MB, free: 4.23 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.08684, allocations: 0 / 442.2 MB, free: 4.23 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001329/0.08697, allocations: 0 / 442.2 MB, free: 4.23 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 695 * Number of variables: 695 Notification: Performance of Generate backend data structure: time 0.2103/0.2973, allocations: 9.736 MB / 451.9 MB, free: 40.73 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.2974, allocations: 9.562 kB / 451.9 MB, free: 40.73 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008823/0.3062, allocations: 2.384 MB / 454.3 MB, free: 40.72 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004235/0.3104, allocations: 1.932 MB / 456.2 MB, free: 40.1 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006667/0.3111, allocations: 1.393 MB / 457.6 MB, free: 38.81 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006236/0.3117, allocations: 331.9 kB / 457.9 MB, free: 38.8 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003481/0.3152, allocations: 2.307 MB / 460.2 MB, free: 38.57 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.039e-05/0.3152, allocations: 3.281 kB / 460.2 MB, free: 38.57 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002218/0.3155, allocations: 112.7 kB / 460.3 MB, free: 38.57 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.523e-05/0.3155, allocations: 65.91 kB / 460.4 MB, free: 38.57 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002192/0.3177, allocations: 1.086 MB / 461.5 MB, free: 38.48 MB / 410.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.01147/0.3292, allocations: 7.447 MB / 468.9 MB, free: 35.37 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003557/0.3327, allocations: 2.707 MB / 471.7 MB, free: 33 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007614/0.3335, allocations: 0.7042 MB / 472.4 MB, free: 32.35 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002907/0.3338, allocations: 108.6 kB / 472.5 MB, free: 32.25 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001203/0.335, allocations: 1.45 MB / 473.9 MB, free: 30.93 MB / 410.7 MB Notification: Performance of pre-optimization done (n=333): time 5.17e-06/0.335, allocations: 0 / 473.9 MB, free: 30.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=333): time 0.03656/0.3715, allocations: 17.86 MB / 491.8 MB, free: 13.41 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.648e-05/0.3716, allocations: 193.8 kB / 492 MB, free: 13.18 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002995/0.3746, allocations: 3.145 MB / 495.1 MB, free: 10.76 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000858/0.3754, allocations: 102.2 kB / 495.2 MB, free: 10.71 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005518/0.376, allocations: 1.163 MB / 496.4 MB, free: 9.828 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009626/0.377, allocations: 1.267 MB / 497.6 MB, free: 8.766 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001301/0.3783, allocations: 1.031 MB / 498.7 MB, free: 8.172 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.69e-05/0.3783, allocations: 309.2 kB / 499 MB, free: 7.867 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001748/0.38, allocations: 1.065 MB / 0.4883 GB, free: 6.797 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001913/0.3819, allocations: 1.584 MB / 0.4899 GB, free: 5.23 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003471/0.3854, allocations: 2.947 MB / 0.4927 GB, free: 2.289 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.699e-05/0.3854, allocations: 4.766 kB / 0.4928 GB, free: 2.285 MB / 410.7 MB Notification: Performance of matching and sorting (n=719) (initialization): time 0.006237/0.3917, allocations: 3.962 MB / 0.4966 GB, free: 14.34 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.71e-05/0.3917, allocations: 8 kB / 0.4966 GB, free: 14.34 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.617e-05/0.3917, allocations: 4 kB / 0.4966 GB, free: 14.33 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008499/0.4002, allocations: 4.719 MB / 0.5012 GB, free: 9.633 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002694/0.4029, allocations: 0.938 MB / 0.5022 GB, free: 8.75 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004642/0.4076, allocations: 2.793 MB / 0.5049 GB, free: 6.027 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00372/0.4113, allocations: 0.5718 MB / 0.5054 GB, free: 5.453 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003908/0.4117, allocations: 132 kB / 0.5056 GB, free: 5.324 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 10 (g2.eSDC1A.rotatingExciterLimited.sISO.local_reset,g4.eSDC1A.rotatingExciterLimited.sISO.local_reset,$whenCondition2,$whenCondition1,$whenCondition4,$whenCondition3,$whenCondition6,$whenCondition5,$whenCondition8,$whenCondition7) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (564): * Single equations (assignments): 561 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(80,72)} Notification: Performance of prepare postOptimizeDAE: time 0.001153/0.4128, allocations: 352 kB / 0.5059 GB, free: 5.023 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008797/0.4137, allocations: 363.6 kB / 0.5062 GB, free: 4.668 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01217/0.4259, allocations: 6.521 MB / 0.5126 GB, free: 14.19 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-05/0.4259, allocations: 36 kB / 0.5127 GB, free: 14.16 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.4259, allocations: 0 / 0.5127 GB, free: 14.16 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.137e-05/0.426, allocations: 16.48 kB / 0.5127 GB, free: 14.14 MB / 442.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 postOpt removeSimpleEquations (simulation): time 0.01974/0.4457, allocations: 8.917 MB / 0.5214 GB, free: 5.609 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.802e-05/0.4457, allocations: 0 / 0.5214 GB, free: 5.609 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00178/0.4475, allocations: 426.2 kB / 0.5218 GB, free: 5.219 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01261/0.4601, allocations: 4.837 MB / 0.5265 GB, free: 408 kB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006096/0.4607, allocations: 79.97 kB / 0.5266 GB, free: 328 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01572/0.4765, allocations: 8.046 MB / 0.5344 GB, free: 8.402 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/0.4765, allocations: 7.938 kB / 0.5344 GB, free: 8.395 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01522/0.4917, allocations: 7.381 MB / 0.5417 GB, free: 1.094 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001899/0.4936, allocations: 444.1 kB / 0.5421 GB, free: 0.6562 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001128/0.4947, allocations: 65.2 kB / 0.5421 GB, free: 0.5938 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002153/0.4969, allocations: 259.7 kB / 0.5424 GB, free: 348 kB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00158/0.4985, allocations: 0.6172 MB / 0.543 GB, free: 15.72 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002217/0.4987, allocations: 59.98 kB / 0.543 GB, free: 15.66 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002042/0.5007, allocations: 1.695 MB / 0.5447 GB, free: 14.15 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.9e-07/0.5007, allocations: 0 / 0.5447 GB, free: 14.15 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003899/0.5046, allocations: 1.444 MB / 0.5461 GB, free: 12.7 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 38 (g1.g1.w,g1.g1.delta,g1.g1.Epd,g1.g1.Epq,g1.g1.PSIkd,g1.g1.PSIkq,g1.sEXS.simpleLagLim.state,g1.sEXS.leadLag.TF.x_scaled[1],g2.g2.w,g2.g2.delta,g2.g2.Epd,g2.g2.Epq,g2.g2.PSIkd,g2.g2.PSIkq,g2.eSDC1A.imDerivativeLag.x,g2.eSDC1A.imLeadLag.TF.x_scaled[1],g2.eSDC1A.simpleLagLim.state,g2.eSDC1A.rotatingExciterLimited.sISO.y,g2.eSDC1A.TransducerDelay.state,g3.g3.w,g3.g3.delta,g3.g3.Epd,g3.g3.Epq,g3.g3.PSIkd,g3.g3.PSIkq,g3.sEXS.simpleLagLim.state,g3.sEXS.leadLag.TF.x_scaled[1],g4.gENSAL.w,g4.gENSAL.delta,g4.gENSAL.Epd,g4.gENSAL.Epq,g4.gENSAL.PSIkd,g4.gENSAL.PSIkq,g4.eSDC1A.imDerivativeLag.x,g4.eSDC1A.imLeadLag.TF.x_scaled[1],g4.eSDC1A.simpleLagLim.state,g4.eSDC1A.rotatingExciterLimited.sISO.y,g4.eSDC1A.TransducerDelay.state) * Number of discrete variables: 8 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (240): * Single equations (assignments): 239 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(54,52)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005437/0.5052, allocations: 217.6 kB / 0.5463 GB, free: 12.51 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.00759/0.5127, allocations: 4.082 MB / 0.5503 GB, free: 8.52 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.802e-05/0.5128, allocations: 44.5 kB / 0.5504 GB, free: 8.477 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004817/0.5176, allocations: 2.591 MB / 0.5529 GB, free: 5.969 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002748/0.5204, allocations: 446.7 kB / 0.5533 GB, free: 5.539 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.011/0.5314, allocations: 7.387 MB / 0.5605 GB, free: 14.16 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007436/0.5321, allocations: 0.7117 MB / 0.5612 GB, free: 13.42 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001812/0.5339, allocations: 420.2 kB / 0.5616 GB, free: 13 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001361/0.5353, allocations: 0.5071 MB / 0.5621 GB, free: 12.5 MB / 490.7 MB Notification: Performance of SimCode: time 2.154e-06/0.5353, allocations: 0 / 0.5621 GB, free: 12.5 MB / 490.7 MB Notification: Performance of Templates: time 0.2551/0.7904, allocations: 81.53 MB / 0.6417 GB, free: 170.9 MB / 0.5417 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.sim & ./OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.416155885905027]