Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2A.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.PSS.PSS2A,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2A") translateModel(OpenIPSL.Tests.Controls.PSSE.PSS.PSS2A,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2A") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009322/0.0009321, 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.343/1.343, allocations: 221.5 MB / 229.6 MB, free: 7.512 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.0008159/0.0008159, allocations: 88.17 kB / 280.5 MB, free: 5.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5/0.5, allocations: 78.06 MB / 409.3 MB, free: 6.336 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.682e-05/2.695e-05, allocations: 0 / 484.9 MB, free: 12.25 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1539/0.1539, allocations: 69.36 MB / 0.5413 GB, free: 6.824 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4746/0.6286, allocations: 114.6 MB / 0.6532 GB, free: 0.9766 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003187/0.629, allocations: 92.83 kB / 0.6533 GB, free: 0.8867 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1989/0.828, allocations: 69.66 MB / 0.7213 GB, free: 11.25 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.144e-06/0.828, allocations: 1.219 kB / 0.7213 GB, free: 11.25 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0004636/0.8285, allocations: 67.81 kB / 0.7214 GB, free: 11.19 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 385 * Number of variables: 385 Notification: Performance of Generate backend data structure: time 0.01074/0.8393, allocations: 3.076 MB / 0.7244 GB, free: 8.055 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.8393, allocations: 8.031 kB / 0.7244 GB, free: 8.047 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004551/0.8439, allocations: 0.6871 MB / 0.725 GB, free: 7.355 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00606/0.85, allocations: 1.973 MB / 0.727 GB, free: 5.316 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009154/0.8509, allocations: 0.6862 MB / 0.7276 GB, free: 4.5 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009659/0.8519, allocations: 111.8 kB / 0.7277 GB, free: 4.391 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005489/0.8574, allocations: 2.036 MB / 0.7297 GB, free: 2.352 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005065/0.8625, allocations: 1.804 MB / 0.7315 GB, free: 0.5078 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.797e-05/0.8626, allocations: 0 / 0.7315 GB, free: 0.5078 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003357/0.8629, allocations: 0 / 0.7315 GB, free: 0.5078 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.802e-05/0.863, allocations: 36 kB / 0.7315 GB, free: 484 kB / 0.5261 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.01969/0.8827, allocations: 7.542 MB / 0.7389 GB, free: 8.742 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01194/0.8947, allocations: 4.614 MB / 0.7434 GB, free: 4.004 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002403/0.8971, allocations: 1.11 MB / 0.7445 GB, free: 2.891 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003032/0.8974, allocations: 37.95 kB / 0.7445 GB, free: 2.855 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00326/0.9007, allocations: 1.361 MB / 0.7458 GB, free: 1.469 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=193): time 5.11e-06/0.9008, allocations: 0 / 0.7458 GB, free: 1.469 MB / 0.5417 GB Notification: Performance of matching and sorting (n=193): time 0.0203/0.9211, allocations: 6.087 MB / 0.7518 GB, free: 11.36 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001263/0.9212, allocations: 210 kB / 0.752 GB, free: 11.11 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005257/0.9265, allocations: 2.063 MB / 0.754 GB, free: 9.039 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0006034/0.9271, allocations: 34.25 kB / 0.754 GB, free: 9 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001241/0.9284, allocations: 1.079 MB / 0.7551 GB, free: 7.91 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001281/0.9297, allocations: 0.6581 MB / 0.7557 GB, free: 7.242 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004561/0.9301, allocations: 0 / 0.7557 GB, free: 7.242 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0002818/0.9304, allocations: 385.8 kB / 0.7561 GB, free: 6.859 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002245/0.9327, allocations: 0.9959 MB / 0.7571 GB, free: 5.859 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002332/0.935, allocations: 1.214 MB / 0.7583 GB, free: 4.586 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002523/0.9376, allocations: 1.126 MB / 0.7594 GB, free: 3.465 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.194e-05/0.9376, allocations: 8 kB / 0.7594 GB, free: 3.457 MB / 0.5573 GB Notification: Performance of matching and sorting (n=255) (initialization): time 0.006848/0.9445, allocations: 3.117 MB / 0.7624 GB, free: 332 kB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.3768/1.321, allocations: 1.425 MB / 0.7638 GB, free: 122.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.823e-05/1.321, allocations: 6.438 kB / 0.7638 GB, free: 122.8 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01196/1.333, allocations: 2.284 MB / 0.766 GB, free: 122.8 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005846/1.339, allocations: 0.8246 MB / 0.7668 GB, free: 122.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008737/1.348, allocations: 6.218 MB / 0.7729 GB, free: 118.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005895/1.354, allocations: 0.5135 MB / 0.7734 GB, free: 118.6 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006159/1.355, allocations: 71.33 kB / 0.7735 GB, free: 118.6 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/1.355, allocations: 4.625 kB / 0.7735 GB, free: 118.6 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007574/1.362, allocations: 2.793 MB / 0.7762 GB, free: 118.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.634e-05/1.362, allocations: 3.938 kB / 0.7762 GB, free: 118.5 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01145/1.374, allocations: 2.286 MB / 0.7785 GB, free: 118.5 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005314/1.379, allocations: 0.5552 MB / 0.779 GB, free: 118.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008235/1.387, allocations: 4.919 MB / 0.7838 GB, free: 115.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005898/1.393, allocations: 497.3 kB / 0.7843 GB, free: 115.5 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006093/1.394, allocations: 72.91 kB / 0.7843 GB, free: 115.5 MB / 0.5573 GB Warning: Assuming fixed start value for the following 6 variables: eSST1A.VA0:VARIABLE(fixed = false protected = true ) type: Real pSS2A.rampTrackingFilter.TF2[1].x_scaled[1]:VARIABLE(protected = true ) "Scaled vector x" type: Real [1,1] pSS2A.rampTrackingFilter.TF1[5].x_scaled[1]:VARIABLE(protected = true ) "Scaled vector x" type: Real [5,1] pSS2A.rampTrackingFilter.TF1[4].x_scaled[1]:VARIABLE(protected = true ) "Scaled vector x" type: Real [5,1] pSS2A.rampTrackingFilter.TF1[3].x_scaled[1]:VARIABLE(protected = true ) "Scaled vector x" type: Real [5,1] pSS2A.rampTrackingFilter.TF1[2].x_scaled[1]:VARIABLE(protected = true ) "Scaled vector x" type: Real [5,1] Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: eSST1A.lV_GATE.y:VARIABLE() "Connector of Real output signal" type: Real Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: eSST1A.hV_GATE1.y:VARIABLE() "Connector of Real output signal" type: Real Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: eSST1A.add3_2.y:VARIABLE() "Connector of Real output signal" type: Real Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: pSS2A.Leadlag2.y:VARIABLE() "Connector of Real output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (200): * Single equations (assignments): 195 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {30 26} Notification: Performance of prepare postOptimizeDAE: time 0.000814/1.395, allocations: 142.9 kB / 0.7845 GB, free: 115.4 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001008/1.396, allocations: 268.7 kB / 0.7847 GB, free: 115.3 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02729/1.423, allocations: 6.238 MB / 0.7908 GB, free: 115.2 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.441e-05/1.423, allocations: 23.92 kB / 0.7908 GB, free: 115.2 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/1.423, allocations: 1.875 kB / 0.7909 GB, free: 115.2 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.829e-05/1.423, allocations: 11.03 kB / 0.7909 GB, free: 115.2 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.03451/1.458, allocations: 9.341 MB / 0.8 GB, free: 114.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.58e-05/1.458, allocations: 2.922 kB / 0.8 GB, free: 114.2 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002639/1.461, allocations: 291.5 kB / 0.8003 GB, free: 114.2 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007507/1.468, allocations: 2.131 MB / 0.8023 GB, free: 114 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005472/1.469, allocations: 33.5 kB / 0.8024 GB, free: 114 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02172/1.49, allocations: 9.846 MB / 0.812 GB, free: 111.3 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.965e-06/1.49, allocations: 1.562 kB / 0.812 GB, free: 111.3 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02148/1.512, allocations: 7.866 MB / 0.8197 GB, free: 110.7 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001183/1.513, allocations: 435.9 kB / 0.8201 GB, free: 110.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005452/1.514, allocations: 18.73 kB / 0.8201 GB, free: 110.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003132/1.517, allocations: 430.5 kB / 0.8205 GB, free: 110.4 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001034/1.518, allocations: 315.2 kB / 0.8208 GB, free: 110.4 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001487/1.518, allocations: 52.45 kB / 0.8209 GB, free: 110.4 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002484/1.521, allocations: 1.568 MB / 0.8224 GB, free: 109.7 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4.91e-07/1.521, allocations: 4 kB / 0.8224 GB, free: 109.7 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.00357/1.524, allocations: 1.001 MB / 0.8234 GB, free: 109.6 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 28 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,eSST1A.imDerivativeLag.x,eSST1A.imLeadLag.TF.x_scaled[1],eSST1A.imLeadLag1.TF.x_scaled[1],eSST1A.simpleLagLim.state,eSST1A.TransducerDelay.state,pSS2A.Leadlag1.TF.x_scaled[1],pSS2A.Leadlag2.TF.x_scaled[1],pSS2A.SimpleLag1.state,pSS2A.SimpleLag2.state,pSS2A.rampTrackingFilter.TF1[1].x_scaled[1],pSS2A.rampTrackingFilter.TF1[2].x_scaled[1],pSS2A.rampTrackingFilter.TF1[3].x_scaled[1],pSS2A.rampTrackingFilter.TF1[4].x_scaled[1],pSS2A.rampTrackingFilter.TF1[5].x_scaled[1],pSS2A.rampTrackingFilter.TF2[1].x_scaled[1],pSS2A.derivativeLag.TF.x_scaled[1],pSS2A.derivativeLag1.TF.x_scaled[1],pSS2A.derivativeLag2.TF.x_scaled[1],pSS2A.derivativeLag3.TF.x_scaled[1]) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (141): * Single equations (assignments): 139 * 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 {1 9,26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005011/1.525, allocations: 193.9 kB / 0.8236 GB, free: 109.5 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01591/1.541, allocations: 5.852 MB / 0.8293 GB, free: 107.8 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 8.927e-06/1.541, allocations: 4.469 kB / 0.8293 GB, free: 107.8 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.006204/1.547, allocations: 2.452 MB / 0.8317 GB, free: 106.9 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002078/1.549, allocations: 263.9 kB / 0.8319 GB, free: 106.8 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007881/1.557, allocations: 4.517 MB / 0.8363 GB, free: 104.8 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001036/1.558, allocations: 1.832 MB / 0.8381 GB, free: 104 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.00278/1.561, allocations: 0.7909 MB / 0.8389 GB, free: 103.9 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004294/1.561, allocations: 111.9 kB / 0.839 GB, free: 103.9 MB / 0.5573 GB Notification: Performance of SimCode: time 6.02e-07/1.561, allocations: 3.828 kB / 0.839 GB, free: 103.9 MB / 0.5573 GB Notification: Performance of Templates: time 0.05891/1.62, allocations: 43.41 MB / 0.8814 GB, free: 86.43 MB / 0.5573 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2A.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2A.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2A.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2A.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2A.sim & ./OpenIPSL_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2A -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2A.pipe 2>&1)