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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR,tolerance=0.001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR") translateModel(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR,tolerance=0.001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001214/0.001214, allocations: 107.2 kB / 15.99 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.322/1.322, allocations: 222.9 MB / 239.6 MB, free: 4.812 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001273/0.001273, allocations: 192.5 kB / 289.9 MB, free: 2.543 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4395/0.4395, allocations: 78.52 MB / 418.6 MB, free: 3.289 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001342, allocations: 75.88 kB / 497.6 MB, free: 6.766 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1404/0.1418, allocations: 68.18 MB / 0.5525 GB, free: 2.547 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR): time 0.2573/0.3992, allocations: 20.2 MB / 0.5722 GB, free: 27.71 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0117/0.4109, allocations: 6.467 MB / 0.5785 GB, free: 25.58 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004924/0.4159, allocations: 44.97 kB / 0.5786 GB, free: 25.58 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003165/0.4191, allocations: 0.7682 MB / 0.5793 GB, free: 25.3 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008127/0.4273, allocations: 2.353 MB / 0.5816 GB, free: 24.43 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004751/0.432, allocations: 2.026 MB / 0.5836 GB, free: 23.4 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.009152/0.4412, allocations: 7.312 MB / 0.5908 GB, free: 19.69 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003321/0.4445, allocations: 1.316 MB / 0.592 GB, free: 19.09 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00513/0.4497, allocations: 2.727 MB / 0.5947 GB, free: 17.63 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005284/0.455, allocations: 3.331 MB / 0.598 GB, free: 15.93 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00302/0.4581, allocations: 0.6727 MB / 0.5986 GB, free: 15.93 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003707/0.4618, allocations: 0.9457 MB / 0.5995 GB, free: 15.85 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002484/0.4643, allocations: 1.486 MB / 0.601 GB, free: 14.82 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005413/0.4697, allocations: 2.865 MB / 0.6038 GB, free: 12.79 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01142/0.4812, allocations: 6.663 MB / 0.6103 GB, free: 10.52 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.315e-06/0.4812, allocations: 0 / 0.6103 GB, free: 10.52 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.4812, allocations: 0 / 0.6103 GB, free: 10.52 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004271/0.4817, allocations: 2.078 kB / 0.6103 GB, free: 10.52 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 691 * Number of variables: 691 Notification: Performance of Generate backend data structure: time 0.04873/0.5304, allocations: 10.54 MB / 0.6206 GB, free: 6.406 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.976e-05/0.5305, allocations: 10.16 kB / 0.6206 GB, free: 6.406 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01411/0.5446, allocations: 1.94 MB / 0.6225 GB, free: 5.566 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01003/0.5547, allocations: 3.349 MB / 0.6258 GB, free: 3.039 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001156/0.5559, allocations: 1.007 MB / 0.6267 GB, free: 2.086 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001781/0.5577, allocations: 333.1 kB / 0.6271 GB, free: 1.965 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01286/0.5706, allocations: 3.949 MB / 0.6309 GB, free: 15.24 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001304/0.5708, allocations: 4 kB / 0.6309 GB, free: 15.24 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001134/0.5719, allocations: 110.6 kB / 0.631 GB, free: 15.13 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.451e-05/0.572, allocations: 69.78 kB / 0.6311 GB, free: 15.07 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01043/0.5824, allocations: 3.804 MB / 0.6348 GB, free: 11.25 MB / 446.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.03738/0.6198, allocations: 15.58 MB / 0.65 GB, free: 11.09 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01667/0.6366, allocations: 6.459 MB / 0.6563 GB, free: 4.434 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006415/0.643, allocations: 2.436 MB / 0.6587 GB, free: 1.977 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001186/0.6442, allocations: 0.7699 MB / 0.6595 GB, free: 1.039 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007384/0.6517, allocations: 2.859 MB / 0.6622 GB, free: 14.12 MB / 478.1 MB Notification: Performance of pre-optimization done (n=331): time 1.021e-05/0.6517, allocations: 3.984 kB / 0.6623 GB, free: 14.12 MB / 478.1 MB Notification: Performance of matching and sorting (n=331): time 0.1123/0.764, allocations: 25.86 MB / 0.6875 GB, free: 4.168 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001395/0.7642, allocations: 192.7 kB / 0.6877 GB, free: 3.941 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01073/0.775, allocations: 4.538 MB / 0.6921 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.001434/0.7764, allocations: 97.7 kB / 0.6922 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002129/0.7786, allocations: 1.747 MB / 0.6939 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.002488/0.7811, allocations: 1.202 MB / 0.6951 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005343/0.7865, allocations: 1.062 MB / 0.6961 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.7866, allocations: 305.1 kB / 0.6964 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007823/0.7944, allocations: 3.014 MB / 0.6994 GB, free: 7.934 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008478/0.803, allocations: 3.551 MB / 0.7028 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01515/0.8181, allocations: 6.106 MB / 0.7088 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.686e-05/0.8182, allocations: 4.859 kB / 0.7088 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of matching and sorting (n=739) (initialization): time 0.02772/0.8459, allocations: 9.393 MB / 0.718 GB, free: 4.594 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.004e-05/0.846, allocations: 8 kB / 0.718 GB, free: 4.586 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.258e-05/0.8461, allocations: 8.547 kB / 0.718 GB, free: 4.578 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02676/0.8728, allocations: 10.3 MB / 0.728 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005569/0.8785, allocations: 0.9831 MB / 0.729 GB, free: 9.289 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02006/0.8986, allocations: 6.291 MB / 0.7351 GB, free: 2.969 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008851/0.9075, allocations: 0.737 MB / 0.7359 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001727/0.9093, allocations: 189.1 kB / 0.736 GB, free: 2.043 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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 (584): * Single equations (assignments): 581 * 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.00415/0.9134, allocations: 0.7664 MB / 0.7368 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002564/0.916, allocations: 462.1 kB / 0.7372 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04299/0.959, allocations: 11.62 MB / 0.7486 GB, free: 5.121 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.392e-05/0.9591, allocations: 33.25 kB / 0.7486 GB, free: 5.09 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.687e-05/0.9591, allocations: 8 kB / 0.7486 GB, free: 5.082 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001122/0.9593, allocations: 15.94 kB / 0.7486 GB, free: 5.066 MB / 0.545 GB 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.05533/1.015, allocations: 17.7 MB / 0.7659 GB, free: 3.121 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-05/1.015, allocations: 0 / 0.7659 GB, free: 3.121 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003202/1.018, allocations: 431.4 kB / 0.7663 GB, free: 2.699 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2544/1.272, allocations: 4.763 MB / 0.771 GB, free: 163.1 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001197/1.274, allocations: 85.67 kB / 0.7711 GB, free: 163.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05029/1.324, allocations: 21.47 MB / 0.792 GB, free: 159.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/1.324, allocations: 1.344 kB / 0.792 GB, free: 159.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0474/1.371, allocations: 14.77 MB / 0.8065 GB, free: 155.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002193/1.374, allocations: 0.6918 MB / 0.8071 GB, free: 155.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002053/1.376, allocations: 73.56 kB / 0.8072 GB, free: 155.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005798/1.381, allocations: 385.9 kB / 0.8076 GB, free: 155.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002796/1.384, allocations: 0.6168 MB / 0.8082 GB, free: 155.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006263/1.385, allocations: 90.28 kB / 0.8083 GB, free: 155.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.006202/1.391, allocations: 2.992 MB / 0.8112 GB, free: 154 MB / 0.5606 GB Notification: Performance of sort global known variables: time 4.91e-07/1.391, allocations: 0 / 0.8112 GB, free: 154 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006514/1.398, allocations: 1.438 MB / 0.8126 GB, free: 153.8 MB / 0.5606 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 (238): * Single equations (assignments): 237 * 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.0007202/1.398, allocations: 233.7 kB / 0.8128 GB, free: 153.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02519/1.424, allocations: 8.162 MB / 0.8208 GB, free: 151 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.009e-05/1.424, allocations: 4.312 kB / 0.8208 GB, free: 151 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01381/1.437, allocations: 4.467 MB / 0.8251 GB, free: 149.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006976/1.445, allocations: 407.6 kB / 0.8255 GB, free: 149.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02005/1.465, allocations: 10.84 MB / 0.8361 GB, free: 139.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001578/1.466, allocations: 2.335 MB / 0.8384 GB, free: 137.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002299/1.469, allocations: 290.6 kB / 0.8387 GB, free: 137.3 MB / 0.5606 GB Notification: Performance of SimCode: time 1.272e-06/1.469, allocations: 4 kB / 0.8387 GB, free: 137.3 MB / 0.5606 GB Notification: Performance of Templates: time 0.08688/1.555, allocations: 79.34 MB / 0.9162 GB, free: 59.62 MB / 0.5606 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.makefile (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)