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.0009477/0.0009477, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.248/1.248, allocations: 223.3 MB / 239 MB, free: 5.445 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.0009632/0.0009632, allocations: 176.5 kB / 290.3 MB, free: 2.137 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4737/0.4737, allocations: 91.91 MB / 433.3 MB, free: 10.38 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003239/0.000324, allocations: 8 kB / 0.5042 GB, free: 7.645 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2913/0.2917, allocations: 72.47 MB / 0.5749 GB, free: 36.4 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR): time 0.01096/0.3027, allocations: 18 MB / 0.5925 GB, free: 23.8 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.009457/0.3122, allocations: 6.205 MB / 0.5986 GB, free: 19.29 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003105/0.3153, allocations: 41 kB / 0.5986 GB, free: 19.29 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002175/0.3175, allocations: 0.6768 MB / 0.5993 GB, free: 18.98 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00532/0.3228, allocations: 1.855 MB / 0.6011 GB, free: 17.77 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003426/0.3263, allocations: 1.556 MB / 0.6026 GB, free: 16.99 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006907/0.3332, allocations: 6.116 MB / 0.6086 GB, free: 13.85 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001814/0.335, allocations: 1.046 MB / 0.6096 GB, free: 13.4 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003131/0.3382, allocations: 2.094 MB / 0.6116 GB, free: 12.5 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003352/0.3415, allocations: 2.739 MB / 0.6143 GB, free: 11.31 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008405/0.3424, allocations: 257.4 kB / 0.6146 GB, free: 11.3 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001352/0.3437, allocations: 497.4 kB / 0.615 GB, free: 11.23 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008004/0.3445, allocations: 0.9836 MB / 0.616 GB, free: 10.68 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001021/0.3456, allocations: 0.8381 MB / 0.6168 GB, free: 10.13 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006097/0.3517, allocations: 6.375 MB / 0.623 GB, free: 7.84 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.3517, allocations: 0 / 0.623 GB, free: 7.84 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3517, allocations: 0 / 0.623 GB, free: 7.84 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001661/0.3519, allocations: 0 / 0.623 GB, free: 7.84 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.02959/0.3815, allocations: 9.103 MB / 0.6319 GB, free: 2.961 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.3815, allocations: 9.062 kB / 0.6319 GB, free: 2.961 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01169/0.3932, allocations: 1.95 MB / 0.6338 GB, free: 1.434 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006819/0.4001, allocations: 3.199 MB / 0.637 GB, free: 14.16 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00102/0.4011, allocations: 1.025 MB / 0.638 GB, free: 12.98 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008753/0.402, allocations: 327.9 kB / 0.6383 GB, free: 12.66 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008463/0.4105, allocations: 4.12 MB / 0.6423 GB, free: 8.469 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.845e-05/0.4106, allocations: 4 kB / 0.6423 GB, free: 8.465 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003226/0.4109, allocations: 108 kB / 0.6424 GB, free: 8.359 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.342e-05/0.411, allocations: 68 kB / 0.6425 GB, free: 8.293 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008278/0.4192, allocations: 3.987 MB / 0.6464 GB, free: 4.289 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.02841/0.4477, allocations: 15.78 MB / 0.6618 GB, free: 3.922 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01535/0.4631, allocations: 7.18 MB / 0.6688 GB, free: 12.5 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005577/0.4687, allocations: 2.608 MB / 0.6713 GB, free: 9.875 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009676/0.4697, allocations: 0.7699 MB / 0.6721 GB, free: 8.938 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006806/0.4765, allocations: 3.033 MB / 0.675 GB, free: 5.848 MB / 478.1 MB Notification: Performance of pre-optimization done (n=331): time 6.923e-06/0.4765, allocations: 4 kB / 0.675 GB, free: 5.844 MB / 478.1 MB Notification: Performance of matching and sorting (n=331): time 0.103/0.5795, allocations: 30.27 MB / 0.7046 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.529e-05/0.5797, allocations: 188.8 kB / 0.7048 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009674/0.5893, allocations: 4.5 MB / 0.7092 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.001008/0.5904, allocations: 101.7 kB / 0.7093 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001936/0.5923, allocations: 1.747 MB / 0.711 GB, free: 0.8984 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.002213/0.5946, allocations: 1.202 MB / 0.7122 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001176/0.5958, allocations: 112 kB / 0.7123 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0004301/0.5962, allocations: 0.5181 MB / 0.7128 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007488/0.6037, allocations: 3.186 MB / 0.7159 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007785/0.6115, allocations: 3.705 MB / 0.7195 GB, free: 8.051 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007908/0.6195, allocations: 3.415 MB / 0.7228 GB, free: 4.609 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.778e-05/0.6195, allocations: 0 / 0.7228 GB, free: 4.609 MB / 0.5137 GB Notification: Performance of matching and sorting (n=739) (initialization): time 0.02522/0.6447, allocations: 9.96 MB / 0.7326 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.253e-05/0.6448, allocations: 8 kB / 0.7326 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.099e-05/0.6448, allocations: 8 kB / 0.7326 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0255/0.6703, allocations: 11.1 MB / 0.7434 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005311/0.6757, allocations: 0.9946 MB / 0.7444 GB, free: 14.46 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0174/0.6931, allocations: 6.967 MB / 0.7512 GB, free: 7.465 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007262/0.7004, allocations: 0.8386 MB / 0.752 GB, free: 6.621 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001062/0.7015, allocations: 199.9 kB / 0.7522 GB, free: 6.426 MB / 0.545 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 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {80 72} Notification: Performance of prepare postOptimizeDAE: time 0.002854/0.7044, allocations: 0.7665 MB / 0.7529 GB, free: 5.648 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001544/0.7059, allocations: 473.9 kB / 0.7534 GB, free: 5.18 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03793/0.7439, allocations: 13.95 MB / 0.767 GB, free: 7.16 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.49e-05/0.7439, allocations: 36 kB / 0.7671 GB, free: 7.125 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.074e-05/0.744, allocations: 0 / 0.7671 GB, free: 7.125 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.474e-05/0.7441, allocations: 15.94 kB / 0.7671 GB, free: 7.109 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.2647/1.009, allocations: 20.04 MB / 0.7866 GB, free: 158.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-05/1.009, allocations: 1.281 kB / 0.7866 GB, free: 158.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002767/1.012, allocations: 440.2 kB / 0.7871 GB, free: 158.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01483/1.026, allocations: 5.566 MB / 0.7925 GB, free: 157.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007405/1.027, allocations: 82.62 kB / 0.7926 GB, free: 157.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04534/1.073, allocations: 22.01 MB / 0.8141 GB, free: 149.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/1.073, allocations: 7.938 kB / 0.8141 GB, free: 149.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03947/1.112, allocations: 17.28 MB / 0.831 GB, free: 137.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00176/1.114, allocations: 0.7125 MB / 0.8317 GB, free: 136.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00174/1.116, allocations: 64 kB / 0.8317 GB, free: 136.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005206/1.121, allocations: 498.6 kB / 0.8322 GB, free: 136.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002536/1.123, allocations: 0.6202 MB / 0.8328 GB, free: 135.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003629/1.124, allocations: 95.69 kB / 0.8329 GB, free: 135.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004704/1.129, allocations: 2.954 MB / 0.8358 GB, free: 133.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 4.01e-07/1.129, allocations: 4 kB / 0.8358 GB, free: 133.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004732/1.133, allocations: 1.436 MB / 0.8372 GB, free: 131.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {54 52} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005738/1.134, allocations: 231.7 kB / 0.8374 GB, free: 131.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01812/1.152, allocations: 8.582 MB / 0.8458 GB, free: 123.4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/1.152, allocations: 0 / 0.8458 GB, free: 123.4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01092/1.163, allocations: 4.975 MB / 0.8506 GB, free: 118.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003364/1.166, allocations: 410.3 kB / 0.851 GB, free: 118 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01372/1.18, allocations: 10.62 MB / 0.8614 GB, free: 107.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001236/1.181, allocations: 2.343 MB / 0.8637 GB, free: 105 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002065/1.183, allocations: 453.1 kB / 0.8641 GB, free: 104.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001127/1.185, allocations: 259.4 kB / 0.8644 GB, free: 104.3 MB / 0.5606 GB Notification: Performance of SimCode: time 6.82e-07/1.185, allocations: 4 kB / 0.8644 GB, free: 104.3 MB / 0.5606 GB Notification: Performance of Templates: time 0.08529/1.27, allocations: 68.84 MB / 0.9316 GB, free: 35.46 MB / 0.5606 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)