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.005999/0.005998, allocations: 101.2 kB / 15.73 MB, free: 6.016 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.324/1.324, allocations: 222.9 MB / 239.4 MB, free: 4.523 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.001357/0.001357, allocations: 188.5 kB / 289.7 MB, free: 2.238 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.46/0.46, allocations: 78.52 MB / 418.4 MB, free: 3.145 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001732/0.001733, allocations: 87.86 kB / 0.5536 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.331/0.3327, allocations: 68.16 MB / 0.6202 GB, free: 9.652 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR): time 0.01651/0.3493, allocations: 19.5 MB / 0.6392 GB, free: 6.633 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01311/0.3624, allocations: 6.403 MB / 0.6455 GB, free: 220 kB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00378/0.3663, allocations: 40 kB / 0.6455 GB, free: 180 kB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003327/0.3696, allocations: 0.9762 MB / 0.6465 GB, free: 15.19 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008299/0.378, allocations: 2.676 MB / 0.6491 GB, free: 12.52 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004967/0.3829, allocations: 2.182 MB / 0.6512 GB, free: 10.36 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.009261/0.3922, allocations: 7.336 MB / 0.6584 GB, free: 3 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002715/0.395, allocations: 1.318 MB / 0.6597 GB, free: 1.625 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004201/0.3992, allocations: 2.724 MB / 0.6623 GB, free: 14.89 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005184/0.4044, allocations: 3.334 MB / 0.6656 GB, free: 11.54 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002374/0.4068, allocations: 0.6719 MB / 0.6662 GB, free: 10.87 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002614/0.4094, allocations: 0.9411 MB / 0.6672 GB, free: 9.93 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002146/0.4116, allocations: 1.491 MB / 0.6686 GB, free: 8.434 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004266/0.4159, allocations: 2.856 MB / 0.6714 GB, free: 5.562 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009381/0.4253, allocations: 8.213 MB / 0.6794 GB, free: 13.32 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.4253, allocations: 0 / 0.6794 GB, free: 13.32 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.416e-06/0.4253, allocations: 0 / 0.6794 GB, free: 13.32 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.000167/0.4255, allocations: 3.938 kB / 0.6794 GB, free: 13.32 MB / 494.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.04049/0.466, allocations: 10.54 MB / 0.6897 GB, free: 2.691 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.4661, allocations: 8.031 kB / 0.6897 GB, free: 2.684 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0126/0.4787, allocations: 1.929 MB / 0.6916 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008923/0.4876, allocations: 3.367 MB / 0.6949 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00134/0.489, allocations: 1.005 MB / 0.6959 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001404/0.4904, allocations: 331.8 kB / 0.6962 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01096/0.5014, allocations: 3.949 MB / 0.7 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.036e-05/0.5015, allocations: 3.984 kB / 0.7001 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006957/0.5022, allocations: 108 kB / 0.7002 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.387e-05/0.5023, allocations: 68 kB / 0.7002 GB, free: 7.621 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009483/0.5118, allocations: 3.804 MB / 0.7039 GB, free: 3.805 MB / 0.4981 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 preOpt removeSimpleEquations (simulation): time 0.03298/0.5448, allocations: 15.51 MB / 0.7191 GB, free: 3.703 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0156/0.5604, allocations: 6.463 MB / 0.7254 GB, free: 13 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005541/0.566, allocations: 2.432 MB / 0.7278 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009973/0.567, allocations: 0.766 MB / 0.7285 GB, free: 9.613 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0066/0.5736, allocations: 2.861 MB / 0.7313 GB, free: 6.695 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=331): time 7.504e-06/0.5737, allocations: 0 / 0.7313 GB, free: 6.695 MB / 0.5294 GB Notification: Performance of matching and sorting (n=331): time 0.1049/0.6786, allocations: 25.86 MB / 0.7566 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001142/0.6787, allocations: 188.8 kB / 0.7567 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01019/0.689, allocations: 4.534 MB / 0.7612 GB, free: 7.988 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.00132/0.6903, allocations: 101.7 kB / 0.7613 GB, free: 7.883 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002182/0.6925, allocations: 1.751 MB / 0.763 GB, free: 6.121 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.002351/0.6949, allocations: 1.202 MB / 0.7641 GB, free: 4.902 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005133/0.7, allocations: 1.066 MB / 0.7652 GB, free: 3.824 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.7002, allocations: 301.1 kB / 0.7655 GB, free: 3.527 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007577/0.7077, allocations: 3.014 MB / 0.7684 GB, free: 0.5078 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2981/1.006, allocations: 3.541 MB / 0.7719 GB, free: 124.9 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01562/1.022, allocations: 6.109 MB / 0.7778 GB, free: 122.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.776e-05/1.022, allocations: 2.188 kB / 0.7778 GB, free: 122.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=739) (initialization): time 0.0279/1.05, allocations: 9.392 MB / 0.787 GB, free: 119.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.426e-05/1.05, allocations: 7.5 kB / 0.787 GB, free: 119.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.854e-05/1.05, allocations: 7.906 kB / 0.787 GB, free: 119.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02335/1.073, allocations: 10.29 MB / 0.7971 GB, free: 115.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005092/1.078, allocations: 0.9906 MB / 0.798 GB, free: 114.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01585/1.094, allocations: 6.293 MB / 0.8042 GB, free: 108.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008056/1.102, allocations: 0.7294 MB / 0.8049 GB, free: 108.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001285/1.104, allocations: 194.9 kB / 0.8051 GB, free: 108.3 MB / 0.5606 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.003173/1.107, allocations: 0.7742 MB / 0.8058 GB, free: 107.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001824/1.109, allocations: 466.5 kB / 0.8063 GB, free: 107.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03404/1.143, allocations: 11.6 MB / 0.8176 GB, free: 97.29 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.944e-05/1.143, allocations: 35.94 kB / 0.8177 GB, free: 97.25 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.539e-05/1.143, allocations: 0 / 0.8177 GB, free: 97.25 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001018/1.143, allocations: 23.92 kB / 0.8177 GB, free: 97.23 MB / 0.5606 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.04583/1.189, allocations: 17.67 MB / 0.8349 GB, free: 79.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-05/1.189, allocations: 4 kB / 0.8349 GB, free: 79.46 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00295/1.192, allocations: 427.4 kB / 0.8353 GB, free: 79.04 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01426/1.206, allocations: 4.753 MB / 0.84 GB, free: 74.28 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001154/1.207, allocations: 87.91 kB / 0.8401 GB, free: 74.19 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04854/1.256, allocations: 21.46 MB / 0.861 GB, free: 52.63 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/1.256, allocations: 4 kB / 0.861 GB, free: 52.62 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04074/1.297, allocations: 14.77 MB / 0.8754 GB, free: 37.77 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001821/1.298, allocations: 0.6935 MB / 0.8761 GB, free: 37.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00202/1.3, allocations: 79.94 kB / 0.8762 GB, free: 37.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00538/1.306, allocations: 379.5 kB / 0.8766 GB, free: 36.65 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002835/1.309, allocations: 0.6199 MB / 0.8772 GB, free: 36.03 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008074/1.31, allocations: 87.98 kB / 0.8773 GB, free: 35.94 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.006035/1.316, allocations: 2.996 MB / 0.8802 GB, free: 32.96 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8.61e-07/1.316, allocations: 0 / 0.8802 GB, free: 32.96 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006465/1.322, allocations: 1.442 MB / 0.8816 GB, free: 31.56 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.001247/1.323, allocations: 237.7 kB / 0.8818 GB, free: 31.33 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0217/1.345, allocations: 7.933 MB / 0.8896 GB, free: 23.37 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.646e-06/1.345, allocations: 0 / 0.8896 GB, free: 23.37 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01233/1.358, allocations: 4.507 MB / 0.894 GB, free: 18.85 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005571/1.363, allocations: 406.6 kB / 0.8943 GB, free: 18.46 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01783/1.381, allocations: 9.126 MB / 0.9033 GB, free: 9.324 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0021/1.383, allocations: 2.333 MB / 0.9055 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002878/1.386, allocations: 457.1 kB / 0.906 GB, free: 6.508 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001942/1.388, allocations: 275.4 kB / 0.9062 GB, free: 6.238 MB / 0.5606 GB Notification: Performance of SimCode: time 1.052e-06/1.388, allocations: 0 / 0.9062 GB, free: 6.238 MB / 0.5606 GB Notification: Performance of Templates: time 0.1249/1.513, allocations: 78.76 MB / 0.9831 GB, free: 7.547 MB / 0.6387 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)