Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A") translateModel(OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001251/0.001251, allocations: 169.2 kB / 7.64 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.346/1.346, allocations: 221.5 MB / 229.6 MB, free: 7.578 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000888/0.000888, allocations: 100.4 kB / 280.5 MB, free: 5.309 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4801/0.4801, allocations: 78.07 MB / 409.3 MB, free: 6.332 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.742e-05/1.753e-05, allocations: 4 kB / 484.9 MB, free: 12.24 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.1267, allocations: 69.36 MB / 0.5413 GB, free: 6.816 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4029/0.5296, allocations: 115.5 MB / 0.6541 GB, free: 0 / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002371/0.5299, allocations: 92.02 kB / 0.6542 GB, free: 15.91 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1359/0.6658, allocations: 48.87 MB / 0.7019 GB, free: 15.05 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.443e-06/0.6658, allocations: 0 / 0.7019 GB, free: 15.05 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.000141/0.666, allocations: 36 kB / 0.7019 GB, free: 15.02 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 283 * Number of variables: 283 Notification: Performance of Generate backend data structure: time 0.006749/0.6727, allocations: 2.268 MB / 0.7041 GB, free: 12.7 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.6728, allocations: 8.031 kB / 0.7042 GB, free: 12.69 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003347/0.6761, allocations: 0.5868 MB / 0.7047 GB, free: 12.1 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002579/0.6787, allocations: 1.145 MB / 0.7058 GB, free: 10.9 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005566/0.6793, allocations: 468.3 kB / 0.7063 GB, free: 10.36 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003663/0.6797, allocations: 67.98 kB / 0.7064 GB, free: 10.3 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002399/0.6821, allocations: 1.192 MB / 0.7075 GB, free: 9.102 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002529/0.6846, allocations: 1.218 MB / 0.7087 GB, free: 7.836 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.421e-05/0.6847, allocations: 0 / 0.7087 GB, free: 7.836 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001618/0.6849, allocations: 7.984 kB / 0.7087 GB, free: 7.828 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.191e-05/0.6849, allocations: 24 kB / 0.7087 GB, free: 7.805 MB / 0.5105 GB Warning: The model contains alias variables with conflicting start and/or 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.01065/0.6955, allocations: 5.389 MB / 0.714 GB, free: 2.223 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007985/0.7036, allocations: 3.281 MB / 0.7172 GB, free: 14.81 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001564/0.7052, allocations: 0.7485 MB / 0.7179 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007903/0.706, allocations: 0.7358 MB / 0.7187 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001857/0.7079, allocations: 0.9124 MB / 0.7195 GB, free: 12.22 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=139): time 4.599e-06/0.7079, allocations: 0 / 0.7195 GB, free: 12.22 MB / 0.5261 GB Notification: Performance of matching and sorting (n=139): time 0.0158/0.7237, allocations: 5.02 MB / 0.7244 GB, free: 7.176 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.4e-05/0.7238, allocations: 145.8 kB / 0.7246 GB, free: 7.004 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002296/0.7261, allocations: 1.16 MB / 0.7257 GB, free: 5.84 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0003435/0.7265, allocations: 25.7 kB / 0.7257 GB, free: 5.809 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005965/0.7271, allocations: 0.6989 MB / 0.7264 GB, free: 5.102 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.000711/0.7278, allocations: 484.8 kB / 0.7269 GB, free: 4.621 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001958/0.728, allocations: 0 / 0.7269 GB, free: 4.621 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001695/0.7282, allocations: 373.9 kB / 0.7272 GB, free: 4.25 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001181/0.7294, allocations: 0.625 MB / 0.7279 GB, free: 3.625 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001356/0.7308, allocations: 0.8138 MB / 0.7287 GB, free: 2.758 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001547/0.7323, allocations: 0.7087 MB / 0.7293 GB, free: 2.051 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.111e-06/0.7323, allocations: 0 / 0.7293 GB, free: 2.051 MB / 0.5261 GB Notification: Performance of matching and sorting (n=188) (initialization): time 0.004688/0.737, allocations: 2.252 MB / 0.7315 GB, free: 15.78 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006028/0.7377, allocations: 1.538 MB / 0.733 GB, free: 14.11 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.512e-05/0.7377, allocations: 4 kB / 0.733 GB, free: 14.1 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007927/0.7456, allocations: 2.394 MB / 0.7354 GB, free: 11.71 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001214/0.7469, allocations: 231.7 kB / 0.7356 GB, free: 11.48 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00555/0.7524, allocations: 3.079 MB / 0.7386 GB, free: 8.355 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002355/0.7548, allocations: 254.7 kB / 0.7389 GB, free: 8.105 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002597/0.7551, allocations: 55.98 kB / 0.7389 GB, free: 8.051 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.7551, allocations: 7.938 kB / 0.7389 GB, free: 8.043 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0044/0.7595, allocations: 2.041 MB / 0.7409 GB, free: 5.996 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/0.7596, allocations: 6.484 kB / 0.7409 GB, free: 5.992 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007692/0.7673, allocations: 2.379 MB / 0.7432 GB, free: 3.617 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001033/0.7683, allocations: 223.7 kB / 0.7435 GB, free: 3.398 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005167/0.7735, allocations: 3.089 MB / 0.7465 GB, free: 264 kB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00227/0.7758, allocations: 245.7 kB / 0.7467 GB, free: 20 kB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002353/0.776, allocations: 51.98 kB / 0.7468 GB, free: 15.97 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,eSAC1A.rotatingExciterWithDemagnetization.sISO.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 121 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {30 26,1 10} Notification: Performance of prepare postOptimizeDAE: time 0.0004111/0.7765, allocations: 122.7 kB / 0.7469 GB, free: 15.84 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005171/0.777, allocations: 181.8 kB / 0.747 GB, free: 15.66 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01524/0.7922, allocations: 5.099 MB / 0.752 GB, free: 10.55 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-05/0.7923, allocations: 16 kB / 0.752 GB, free: 10.53 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/0.7923, allocations: 0 / 0.752 GB, free: 10.53 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.678e-05/0.7924, allocations: 7.969 kB / 0.752 GB, free: 10.52 MB / 0.5573 GB Warning: The model contains alias variables with conflicting start and/or 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.01925/0.8116, allocations: 7.243 MB / 0.7591 GB, free: 3.164 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.349e-05/0.8117, allocations: 0 / 0.7591 GB, free: 3.164 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001247/0.8129, allocations: 195.7 kB / 0.7593 GB, free: 2.973 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006445/0.8194, allocations: 1.994 MB / 0.7613 GB, free: 0.9727 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000303/0.8197, allocations: 8 kB / 0.7613 GB, free: 0.9648 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2896/1.109, allocations: 7.702 MB / 0.7688 GB, free: 133.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/1.109, allocations: 3.281 kB / 0.7688 GB, free: 133.7 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01618/1.126, allocations: 6.196 MB / 0.7748 GB, free: 133.3 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005864/1.126, allocations: 291.9 kB / 0.7751 GB, free: 133.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002453/1.126, allocations: 3.469 kB / 0.7751 GB, free: 133.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00167/1.128, allocations: 188.7 kB / 0.7753 GB, free: 133.1 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007424/1.129, allocations: 286.8 kB / 0.7756 GB, free: 133.1 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001001/1.129, allocations: 36.11 kB / 0.7756 GB, free: 133.1 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.00104/1.13, allocations: 0.8764 MB / 0.7765 GB, free: 133 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.61e-07/1.13, allocations: 2.078 kB / 0.7765 GB, free: 133 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001783/1.132, allocations: 0.7781 MB / 0.7772 GB, free: 133 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 14 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,eSAC1A.imLeadLag.TF.x_scaled[1],eSAC1A.imSimpleLag.state,eSAC1A.simpleLagLim.state,eSAC1A.derivative.x,eSAC1A.rotatingExciterWithDemagnetization.sISO.y) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 95 * 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 {26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003378/1.132, allocations: 184.2 kB / 0.7774 GB, free: 132.9 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01221/1.144, allocations: 4.231 MB / 0.7815 GB, free: 132.8 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.092e-06/1.144, allocations: 0 / 0.7815 GB, free: 132.8 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.005626/1.15, allocations: 1.902 MB / 0.7834 GB, free: 132.6 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001164/1.151, allocations: 119.8 kB / 0.7835 GB, free: 132.6 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004956/1.156, allocations: 2.709 MB / 0.7861 GB, free: 131.7 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007368/1.157, allocations: 1.341 MB / 0.7875 GB, free: 131 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001399/1.158, allocations: 271.5 kB / 0.7877 GB, free: 130.9 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002758/1.159, allocations: 77.95 kB / 0.7878 GB, free: 130.9 MB / 0.5573 GB Notification: Performance of SimCode: time 1.393e-06/1.159, allocations: 0 / 0.7878 GB, free: 130.9 MB / 0.5573 GB Notification: Performance of Templates: time 0.05651/1.215, allocations: 32.97 MB / 0.82 GB, free: 129.5 MB / 0.5573 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.sim & ./OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.pipe 2>&1)