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.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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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_dev_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_dev_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.007846/0.007846, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.359/1.359, allocations: 222.9 MB / 239.4 MB, free: 4.379 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.00126/0.00126, allocations: 184.5 kB / 289.7 MB, free: 2.109 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5298/0.5298, allocations: 91.9 MB / 431.7 MB, free: 9.094 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00145/0.00145, allocations: 79.81 kB / 0.5727 GB, free: 33.44 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1259, allocations: 71.29 MB / 0.6423 GB, free: 3.535 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR): time 0.01734/0.1433, allocations: 19.54 MB / 0.6614 GB, free: 15.91 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01227/0.1556, allocations: 6.395 MB / 0.6676 GB, free: 9.496 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00391/0.1595, allocations: 39.94 kB / 0.6677 GB, free: 9.457 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003021/0.1626, allocations: 0.9685 MB / 0.6686 GB, free: 8.48 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00764/0.1702, allocations: 2.574 MB / 0.6711 GB, free: 5.898 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004836/0.1751, allocations: 2.172 MB / 0.6733 GB, free: 3.742 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.008854/0.184, allocations: 7.031 MB / 0.6801 GB, free: 12.69 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002057/0.1861, allocations: 1.33 MB / 0.6814 GB, free: 11.3 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003665/0.1897, allocations: 2.681 MB / 0.684 GB, free: 8.613 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004145/0.1939, allocations: 3.287 MB / 0.6873 GB, free: 5.312 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001164/0.1951, allocations: 0.6719 MB / 0.6879 GB, free: 4.641 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001542/0.1966, allocations: 0.9567 MB / 0.6888 GB, free: 3.684 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001154/0.1978, allocations: 1.467 MB / 0.6903 GB, free: 2.211 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002913/0.2007, allocations: 2.841 MB / 0.6931 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.008149/0.2089, allocations: 8.165 MB / 0.701 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.2089, allocations: 0 / 0.701 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.974e-06/0.2089, allocations: 0 / 0.701 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0001803/0.2091, allocations: 0 / 0.701 GB, free: 7.164 MB / 0.4981 GB 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.03858/0.2477, allocations: 9.738 MB / 0.7105 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.2478, allocations: 8.031 kB / 0.7105 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01316/0.2609, allocations: 1.933 MB / 0.7124 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008233/0.2692, allocations: 3.367 MB / 0.7157 GB, free: 7.945 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001222/0.2705, allocations: 1.005 MB / 0.7167 GB, free: 6.785 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001253/0.2717, allocations: 335.8 kB / 0.717 GB, free: 6.457 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01028/0.282, allocations: 3.952 MB / 0.7209 GB, free: 2.43 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.576e-05/0.2821, allocations: 0 / 0.7209 GB, free: 2.43 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005062/0.2826, allocations: 115.9 kB / 0.721 GB, free: 2.316 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.787e-05/0.2827, allocations: 64 kB / 0.7211 GB, free: 2.254 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009097/0.2918, allocations: 3.8 MB / 0.7248 GB, free: 14.44 MB / 0.5294 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.0315/0.3233, allocations: 15.51 MB / 0.7399 GB, free: 14.34 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01646/0.3398, allocations: 6.45 MB / 0.7462 GB, free: 7.656 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005636/0.3454, allocations: 2.442 MB / 0.7486 GB, free: 5.199 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008226/0.3463, allocations: 0.7699 MB / 0.7493 GB, free: 4.262 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006447/0.3527, allocations: 2.863 MB / 0.7521 GB, free: 1.344 MB / 0.545 GB Notification: Performance of pre-optimization done (n=331): time 7.063e-06/0.3528, allocations: 0 / 0.7521 GB, free: 1.344 MB / 0.545 GB Notification: Performance of matching and sorting (n=331): time 0.3928/0.7455, allocations: 25.85 MB / 0.7774 GB, free: 109.6 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.05e-05/0.7457, allocations: 193.3 kB / 0.7776 GB, free: 109.4 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007314/0.753, allocations: 4.535 MB / 0.782 GB, free: 109.1 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0008281/0.7538, allocations: 99.27 kB / 0.7821 GB, free: 109.1 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001095/0.7549, allocations: 1.749 MB / 0.7838 GB, free: 108.1 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001134/0.7561, allocations: 1.206 MB / 0.785 GB, free: 107.5 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001764/0.7578, allocations: 1.065 MB / 0.786 GB, free: 107 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.582e-05/0.7579, allocations: 301.1 kB / 0.7863 GB, free: 106.7 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005658/0.7636, allocations: 3.018 MB / 0.7893 GB, free: 105.5 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006149/0.7697, allocations: 3.542 MB / 0.7927 GB, free: 103.8 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01083/0.7806, allocations: 6.107 MB / 0.7987 GB, free: 100.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.147e-05/0.7806, allocations: 0 / 0.7987 GB, free: 100.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=739) (initialization): time 0.01803/0.7986, allocations: 9.387 MB / 0.8078 GB, free: 92.54 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.576e-05/0.7987, allocations: 12.06 kB / 0.8079 GB, free: 92.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.182e-05/0.7987, allocations: 12 kB / 0.8079 GB, free: 92.51 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02318/0.8219, allocations: 10.3 MB / 0.8179 GB, free: 82.21 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004706/0.8266, allocations: 0.9753 MB / 0.8189 GB, free: 81.23 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01486/0.8415, allocations: 6.287 MB / 0.825 GB, free: 74.92 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006914/0.8485, allocations: 0.7366 MB / 0.8257 GB, free: 74.18 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008002/0.8493, allocations: 195.9 kB / 0.8259 GB, free: 73.99 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.001847/0.8512, allocations: 0.7679 MB / 0.8267 GB, free: 73.21 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001084/0.8522, allocations: 470 kB / 0.8271 GB, free: 72.75 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03509/0.8873, allocations: 11.6 MB / 0.8385 GB, free: 61.08 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.922e-05/0.8874, allocations: 35.98 kB / 0.8385 GB, free: 61.05 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.076e-05/0.8874, allocations: 10.73 kB / 0.8385 GB, free: 61.04 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-05/0.8875, allocations: 15.94 kB / 0.8385 GB, free: 61.02 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.04294/0.9304, allocations: 17.67 MB / 0.8558 GB, free: 43.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.302e-05/0.9305, allocations: 0 / 0.8558 GB, free: 43.21 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002768/0.9333, allocations: 435.6 kB / 0.8562 GB, free: 42.79 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0153/0.9486, allocations: 4.753 MB / 0.8608 GB, free: 38.02 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007907/0.9494, allocations: 85.8 kB / 0.8609 GB, free: 37.94 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05111/1.001, allocations: 21.45 MB / 0.8819 GB, free: 16.35 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/1.001, allocations: 0 / 0.8819 GB, free: 16.35 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04257/1.043, allocations: 14.78 MB / 0.8963 GB, free: 1.484 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001801/1.045, allocations: 0.6936 MB / 0.897 GB, free: 0.7656 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001793/1.047, allocations: 64 kB / 0.897 GB, free: 0.7031 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005237/1.052, allocations: 387.5 kB / 0.8974 GB, free: 332 kB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002435/1.055, allocations: 0.6198 MB / 0.898 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006749/1.055, allocations: 92.86 kB / 0.8981 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.007808/1.063, allocations: 2.984 MB / 0.901 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of sort global known variables: time 5.51e-07/1.063, allocations: 4 kB / 0.901 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.007036/1.07, allocations: 1.445 MB / 0.9024 GB, free: 11.19 MB / 0.5762 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.00108/1.071, allocations: 233.2 kB / 0.9026 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.02342/1.095, allocations: 7.942 MB / 0.9104 GB, free: 3.004 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/1.095, allocations: 3.328 kB / 0.9104 GB, free: 3.004 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.01358/1.108, allocations: 4.499 MB / 0.9148 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00412/1.112, allocations: 404.1 kB / 0.9152 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01775/1.13, allocations: 9.131 MB / 0.9241 GB, free: 4.984 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002463/1.133, allocations: 2.341 MB / 0.9264 GB, free: 2.609 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.002501/1.135, allocations: 453.1 kB / 0.9268 GB, free: 2.164 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001627/1.137, allocations: 275.4 kB / 0.9271 GB, free: 1.895 MB / 0.5919 GB Notification: Performance of SimCode: time 7.71e-07/1.137, allocations: 0 / 0.9271 GB, free: 1.895 MB / 0.5919 GB Notification: Performance of Templates: time 0.1228/1.26, allocations: 78.77 MB / 1.004 GB, free: 3.199 MB / 0.67 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.makefile (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=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe 2>&1)