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.001434/0.001434, allocations: 88.72 kB / 19.44 MB, free: 356 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 1.499/1.499, allocations: 177.1 MB / 199.7 MB, free: 5.77 MB / 186.7 MB " [Timeout remaining time 178] 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.001595/0.001595, allocations: 174.9 kB / 256.3 MB, free: 13.15 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.4688/0.4688, allocations: 80.24 MB / 393 MB, free: 2.203 MB / 314.7 MB " [Timeout remaining time 179] 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.493e-06/1.493e-06, allocations: 0 / 489.1 MB, free: 11.54 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.588e-05/2.737e-05, allocations: 3.125 kB / 489.1 MB, free: 11.53 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR): time 0.02113/0.02116, allocations: 16.57 MB / 0.4938 GB, free: 10.9 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01483/0.03599, allocations: 6.219 MB / 0.4999 GB, free: 4.699 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003813/0.0398, allocations: 47.88 kB / 0.4999 GB, free: 4.652 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003514/0.04331, allocations: 0.9774 MB / 0.5009 GB, free: 3.668 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008414/0.05173, allocations: 2.607 MB / 0.5034 GB, free: 1.062 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005691/0.05742, allocations: 2.261 MB / 0.5056 GB, free: 14.83 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.01081/0.06823, allocations: 6.939 MB / 0.5124 GB, free: 7.863 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002437/0.07067, allocations: 0.8381 MB / 0.5132 GB, free: 6.969 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007745/0.07841, allocations: 3.819 MB / 0.5169 GB, free: 3.141 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005122/0.08353, allocations: 2.644 MB / 0.5195 GB, free: 500 kB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002211/0.08574, allocations: 0.6719 MB / 0.5202 GB, free: 15.81 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00276/0.0885, allocations: 0.9136 MB / 0.5211 GB, free: 14.9 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002284/0.09079, allocations: 1.491 MB / 0.5225 GB, free: 13.41 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003999/0.09479, allocations: 1.92 MB / 0.5244 GB, free: 11.48 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01274/0.1075, allocations: 8.435 MB / 0.5326 GB, free: 3.02 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.1075, allocations: 0 / 0.5326 GB, free: 3.02 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1075, allocations: 0 / 0.5326 GB, free: 3.02 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002436/0.1078, allocations: 0 / 0.5326 GB, free: 3.02 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.04353/0.1513, allocations: 11.75 MB / 0.5441 GB, free: 7.176 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.1513, allocations: 8.031 kB / 0.5441 GB, free: 7.168 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01384/0.1652, allocations: 2.361 MB / 0.5464 GB, free: 4.801 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009873/0.1751, allocations: 3.388 MB / 0.5497 GB, free: 1.344 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001874/0.1769, allocations: 1.414 MB / 0.5511 GB, free: 15.68 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001517/0.1785, allocations: 332 kB / 0.5514 GB, free: 15.35 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01259/0.191, allocations: 3.961 MB / 0.5553 GB, free: 11.32 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-05/0.1911, allocations: 0 / 0.5553 GB, free: 11.32 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008397/0.192, allocations: 112 kB / 0.5554 GB, free: 11.21 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.666e-05/0.192, allocations: 68 kB / 0.5555 GB, free: 11.14 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01114/0.2032, allocations: 3.792 MB / 0.5592 GB, free: 7.336 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 preOpt removeSimpleEquations (simulation): time 0.2082/0.4114, allocations: 11.68 MB / 0.5706 GB, free: 85.06 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01659/0.428, allocations: 5.301 MB / 0.5758 GB, free: 83.47 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005452/0.4334, allocations: 2.231 MB / 0.5779 GB, free: 82.6 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007339/0.4341, allocations: 100.1 kB / 0.578 GB, free: 82.59 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006319/0.4405, allocations: 2.867 MB / 0.5808 GB, free: 81.54 MB / 442.7 MB Notification: Performance of pre-optimization done (n=333): time 8.195e-06/0.4405, allocations: 0 / 0.5808 GB, free: 81.54 MB / 442.7 MB Notification: Performance of matching and sorting (n=333): time 0.1039/0.5443, allocations: 26.41 MB / 0.6066 GB, free: 62.18 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.362e-05/0.5444, allocations: 192.8 kB / 0.6068 GB, free: 61.96 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007328/0.5517, allocations: 4.313 MB / 0.611 GB, free: 57.73 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009569/0.5527, allocations: 101.7 kB / 0.6111 GB, free: 57.62 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001355/0.554, allocations: 1.81 MB / 0.6129 GB, free: 56.11 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001726/0.5557, allocations: 1.247 MB / 0.6141 GB, free: 55.04 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003551/0.5593, allocations: 1.019 MB / 0.6151 GB, free: 54.01 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 4.06e-05/0.5593, allocations: 313 kB / 0.6154 GB, free: 53.7 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006149/0.5655, allocations: 2.987 MB / 0.6183 GB, free: 50.71 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006365/0.5719, allocations: 3.505 MB / 0.6217 GB, free: 47.11 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01212/0.584, allocations: 6.072 MB / 0.6277 GB, free: 40.9 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.092e-05/0.584, allocations: 4 kB / 0.6277 GB, free: 40.89 MB / 442.7 MB Notification: Performance of matching and sorting (n=719) (initialization): time 0.02159/0.6056, allocations: 9.314 MB / 0.6368 GB, free: 31.51 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.36e-05/0.6056, allocations: 10.03 kB / 0.6368 GB, free: 31.5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.119e-05/0.6057, allocations: 12.7 kB / 0.6368 GB, free: 31.49 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02387/0.6295, allocations: 10.17 MB / 0.6467 GB, free: 21.32 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005269/0.6348, allocations: 0.9518 MB / 0.6476 GB, free: 20.37 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01587/0.6507, allocations: 6.347 MB / 0.6538 GB, free: 14 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007081/0.6577, allocations: 0.6947 MB / 0.6545 GB, free: 13.4 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001023/0.6588, allocations: 191.9 kB / 0.6547 GB, free: 13.21 MB / 442.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 ($whenCondition2,$whenCondition1,$whenCondition4,$whenCondition3,$whenCondition6,$whenCondition5,$whenCondition8,$whenCondition7,g4.eSDC1A.rotatingExciterLimited.sISO.local_reset,g2.eSDC1A.rotatingExciterLimited.sISO.local_reset) * 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.002524/0.6613, allocations: 0.767 MB / 0.6555 GB, free: 12.44 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001736/0.663, allocations: 0.5722 MB / 0.656 GB, free: 11.86 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03493/0.698, allocations: 11.57 MB / 0.6673 GB, free: 244 kB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.318e-05/0.698, allocations: 32 kB / 0.6673 GB, free: 212 kB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.442e-05/0.698, allocations: 0 / 0.6673 GB, free: 212 kB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.322e-05/0.6981, allocations: 19.94 kB / 0.6674 GB, free: 192 kB / 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.05611/0.7542, allocations: 15.55 MB / 0.6825 GB, free: 0.6602 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.942e-05/0.7542, allocations: 4 kB / 0.6826 GB, free: 0.6562 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00325/0.7575, allocations: 439.5 kB / 0.683 GB, free: 232 kB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0372/0.7947, allocations: 7.193 MB / 0.69 GB, free: 9.027 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001042/0.7957, allocations: 79.98 kB / 0.6901 GB, free: 8.949 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06545/0.8612, allocations: 20.89 MB / 0.7105 GB, free: 3.996 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.118e-05/0.8612, allocations: 4 kB / 0.7105 GB, free: 3.992 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05225/0.9134, allocations: 14.67 MB / 0.7248 GB, free: 5.227 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002099/0.9155, allocations: 0.6222 MB / 0.7254 GB, free: 4.648 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001787/0.9173, allocations: 72 kB / 0.7255 GB, free: 4.578 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00562/0.9229, allocations: 383.5 kB / 0.7258 GB, free: 4.203 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003097/0.926, allocations: 0.6392 MB / 0.7265 GB, free: 3.562 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007898/0.9268, allocations: 87.97 kB / 0.7265 GB, free: 3.477 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.007218/0.9341, allocations: 2.842 MB / 0.7293 GB, free: 0.6367 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9341, allocations: 0 / 0.7293 GB, free: 0.6367 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006809/0.9409, allocations: 1.448 MB / 0.7307 GB, free: 15.23 MB / 0.5105 GB 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.001167/0.942, allocations: 242.2 kB / 0.731 GB, free: 15 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02488/0.9669, allocations: 7.38 MB / 0.7382 GB, free: 7.586 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.035e-05/0.9669, allocations: 4 kB / 0.7382 GB, free: 7.582 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.01487/0.9818, allocations: 4.313 MB / 0.7424 GB, free: 3.262 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005219/0.987, allocations: 490 kB / 0.7429 GB, free: 2.797 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02105/1.008, allocations: 8.804 MB / 0.7515 GB, free: 9.973 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003868/1.012, allocations: 1.826 MB / 0.7532 GB, free: 8.102 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.003575/1.016, allocations: 440.2 kB / 0.7537 GB, free: 7.668 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0021/1.018, allocations: 272.4 kB / 0.7539 GB, free: 7.398 MB / 0.5261 GB Notification: Performance of SimCode: time 1.583e-06/1.018, allocations: 4 kB / 0.7539 GB, free: 7.395 MB / 0.5261 GB Notification: Performance of Templates: time 0.266/1.284, allocations: 79.12 MB / 0.8312 GB, free: 152.9 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=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.593376953038387]