Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.00089/0.00089, allocations: 80.94 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.93/0.93, allocations: 177.2 MB / 200.3 MB, free: 5.344 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.001291/0.001291, allocations: 167.2 kB / 257 MB, free: 12.8 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.4181/0.4181, allocations: 80.23 MB / 340.5 MB, free: 9.523 MB / 314.7 MB " [Timeout remaining time 180] Using package OpenIPSL with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/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_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_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.092e-06/1.092e-06, allocations: 0 / 383.8 MB, free: 14.67 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.12e-05/1.229e-05, allocations: 5.547 kB / 383.8 MB, free: 14.67 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR): time 0.01181/0.01183, allocations: 17.58 MB / 401.4 MB, free: 13.02 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01065/0.02248, allocations: 6.557 MB / 407.9 MB, free: 6.438 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001981/0.02446, allocations: 43.88 kB / 408 MB, free: 6.395 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00166/0.02612, allocations: 1.015 MB / 409 MB, free: 5.371 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00424/0.03036, allocations: 2.649 MB / 411.6 MB, free: 2.707 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002899/0.03326, allocations: 2.254 MB / 413.9 MB, free: 460 kB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005295/0.03855, allocations: 6.952 MB / 420.8 MB, free: 9.473 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001027/0.03958, allocations: 0.8771 MB / 421.7 MB, free: 8.52 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003678/0.04326, allocations: 3.847 MB / 425.6 MB, free: 4.664 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002199/0.04546, allocations: 2.676 MB / 428.2 MB, free: 1.98 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006226/0.04608, allocations: 0.6719 MB / 428.9 MB, free: 1.309 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009268/0.04701, allocations: 0.9059 MB / 429.8 MB, free: 412 kB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007699/0.04778, allocations: 1.487 MB / 431.3 MB, free: 14.91 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001617/0.04939, allocations: 1.932 MB / 433.2 MB, free: 12.97 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003477/0.05287, allocations: 4.725 MB / 437.9 MB, free: 8.23 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.05287, allocations: 0 / 437.9 MB, free: 8.23 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.05288, allocations: 0 / 437.9 MB, free: 8.23 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.626e-05/0.05291, allocations: 4 kB / 438 MB, free: 8.227 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.1836/0.2365, allocations: 9.738 MB / 447.7 MB, free: 42.55 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.2366, allocations: 11 kB / 447.7 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006617/0.2432, allocations: 2.39 MB / 450.1 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003528/0.2467, allocations: 1.92 MB / 452 MB, free: 41.93 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005552/0.2473, allocations: 1.397 MB / 453.4 MB, free: 40.64 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004519/0.2477, allocations: 337.3 kB / 453.7 MB, free: 40.63 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002589/0.2503, allocations: 2.31 MB / 456 MB, free: 40.39 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.999e-05/0.2504, allocations: 0 / 456 MB, free: 40.39 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001856/0.2506, allocations: 114.9 kB / 456.2 MB, free: 40.39 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.287e-05/0.2506, allocations: 68.66 kB / 456.2 MB, free: 40.39 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001661/0.2522, allocations: 1.088 MB / 457.3 MB, free: 40.3 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.01006/0.2623, allocations: 7.44 MB / 464.8 MB, free: 38.52 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003754/0.2661, allocations: 2.716 MB / 467.5 MB, free: 38.3 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007711/0.2668, allocations: 0.7035 MB / 468.2 MB, free: 37.92 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003041/0.2671, allocations: 108.2 kB / 468.3 MB, free: 37.84 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0013/0.2684, allocations: 1.443 MB / 469.7 MB, free: 37.02 MB / 410.7 MB Notification: Performance of pre-optimization done (n=333): time 4.979e-06/0.2684, allocations: 4 kB / 469.7 MB, free: 37.01 MB / 410.7 MB Notification: Performance of matching and sorting (n=333): time 0.04592/0.3144, allocations: 17.87 MB / 487.6 MB, free: 19.68 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.711e-05/0.3144, allocations: 193.7 kB / 487.8 MB, free: 19.45 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00475/0.3192, allocations: 3.144 MB / 490.9 MB, free: 17.03 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009586/0.3201, allocations: 101.8 kB / 491 MB, free: 16.98 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008253/0.321, allocations: 1.167 MB / 492.2 MB, free: 16.17 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001469/0.3224, allocations: 1.269 MB / 493.5 MB, free: 15.11 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001941/0.3244, allocations: 1.034 MB / 494.5 MB, free: 14.51 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.418e-05/0.3244, allocations: 304.9 kB / 494.8 MB, free: 14.21 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002034/0.3264, allocations: 1.061 MB / 495.9 MB, free: 13.31 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001787/0.3282, allocations: 1.574 MB / 497.4 MB, free: 11.8 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003341/0.3316, allocations: 2.955 MB / 0.4887 GB, free: 8.852 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.541e-05/0.3316, allocations: 0 / 0.4887 GB, free: 8.852 MB / 410.7 MB Notification: Performance of matching and sorting (n=719) (initialization): time 0.005653/0.3372, allocations: 3.959 MB / 0.4925 GB, free: 4.91 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.565e-05/0.3373, allocations: 8 kB / 0.4925 GB, free: 4.902 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.591e-05/0.3373, allocations: 8 kB / 0.4925 GB, free: 4.895 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007449/0.3447, allocations: 4.73 MB / 0.4972 GB, free: 204 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002633/0.3474, allocations: 0.9361 MB / 0.4981 GB, free: 15.32 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004714/0.3521, allocations: 2.784 MB / 0.5008 GB, free: 12.61 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003514/0.3556, allocations: 0.5788 MB / 0.5014 GB, free: 12.02 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004645/0.3561, allocations: 138.1 kB / 0.5015 GB, free: 11.89 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.001082/0.3571, allocations: 350.3 kB / 0.5018 GB, free: 11.59 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008178/0.358, allocations: 367.6 kB / 0.5022 GB, free: 11.23 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01136/0.3693, allocations: 6.512 MB / 0.5085 GB, free: 4.777 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.984e-05/0.3694, allocations: 36 kB / 0.5086 GB, free: 4.742 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.3694, allocations: 0 / 0.5086 GB, free: 4.742 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.844e-05/0.3694, allocations: 19.94 kB / 0.5086 GB, free: 4.723 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 postOpt removeSimpleEquations (simulation): time 0.01698/0.3864, allocations: 8.914 MB / 0.5173 GB, free: 12.19 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-05/0.3864, allocations: 0 / 0.5173 GB, free: 12.19 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001475/0.3879, allocations: 424.5 kB / 0.5177 GB, free: 11.8 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01129/0.3992, allocations: 4.839 MB / 0.5224 GB, free: 6.977 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004953/0.3997, allocations: 71.97 kB / 0.5225 GB, free: 6.906 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01352/0.4132, allocations: 8.064 MB / 0.5304 GB, free: 14.96 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.4132, allocations: 0 / 0.5304 GB, free: 14.96 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01386/0.4271, allocations: 7.371 MB / 0.5376 GB, free: 7.672 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001754/0.4288, allocations: 444.1 kB / 0.538 GB, free: 7.234 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007273/0.4295, allocations: 75.94 kB / 0.5381 GB, free: 7.16 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001625/0.4312, allocations: 251.8 kB / 0.5383 GB, free: 6.914 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001178/0.4324, allocations: 0.6134 MB / 0.5389 GB, free: 6.301 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001601/0.4325, allocations: 63.97 kB / 0.539 GB, free: 6.238 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001861/0.4344, allocations: 1.694 MB / 0.5406 GB, free: 4.723 MB / 458.7 MB Notification: Performance of sort global known variables: time 1e-07/0.4344, allocations: 4 kB / 0.5406 GB, free: 4.719 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003687/0.4381, allocations: 1.432 MB / 0.542 GB, free: 3.285 MB / 458.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.0005509/0.4386, allocations: 229.9 kB / 0.5422 GB, free: 3.078 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.007832/0.4464, allocations: 4.082 MB / 0.5462 GB, free: 15.09 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.042e-05/0.4465, allocations: 41.55 kB / 0.5463 GB, free: 15.05 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004502/0.451, allocations: 2.585 MB / 0.5488 GB, free: 12.55 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002486/0.4535, allocations: 449.1 kB / 0.5492 GB, free: 12.11 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01041/0.4639, allocations: 7.38 MB / 0.5564 GB, free: 4.734 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005501/0.4644, allocations: 0.7117 MB / 0.5571 GB, free: 3.996 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001557/0.466, allocations: 420.8 kB / 0.5575 GB, free: 3.582 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001265/0.4673, allocations: 0.5099 MB / 0.558 GB, free: 3.074 MB / 474.7 MB Notification: Performance of SimCode: time 1.683e-06/0.4673, allocations: 0 / 0.558 GB, free: 3.074 MB / 474.7 MB Notification: Performance of Templates: time 0.08816/0.5554, allocations: 81.55 MB / 0.6377 GB, free: 2.199 MB / 0.5417 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.sim & ./OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.2966147139668465]