Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.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 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_dev_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2A") translateModel(OpenIPSL.Tests.Controls.PSSE.PSS.PSS2A,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2A") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003129/0.003129, allocations: 179.1 kB / 7.463 MB, free: 2.484 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.281/1.281, allocations: 221.4 MB / 229.3 MB, free: 3.32 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.0009126/0.0009126, allocations: 93.56 kB / 280.1 MB, free: 1.332 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4496/0.4496, allocations: 78.91 MB / 409.8 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 9.969e-06/9.999e-06, allocations: 4 kB / 485.4 MB, free: 3.637 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.386/0.386, allocations: 69.51 MB / 0.5419 GB, free: 20.91 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1506/0.5367, allocations: 115.1 MB / 0.6543 GB, free: 4.777 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003022/0.5371, allocations: 91.92 kB / 0.6544 GB, free: 4.688 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.4624/0.9995, allocations: 66.79 MB / 0.7196 GB, free: 90.48 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001965/0.9997, allocations: 75.88 kB / 0.7197 GB, free: 90.41 MB / 490.7 MB 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.00737/1.007, allocations: 3.11 MB / 0.7227 GB, free: 87.25 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/1.007, allocations: 8.031 kB / 0.7227 GB, free: 87.24 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003647/1.011, allocations: 0.7143 MB / 0.7234 GB, free: 86.52 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003257/1.014, allocations: 1.994 MB / 0.7254 GB, free: 84.52 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005793/1.015, allocations: 0.6901 MB / 0.7261 GB, free: 83.7 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002686/1.015, allocations: 103.8 kB / 0.7262 GB, free: 83.59 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003183/1.018, allocations: 2.076 MB / 0.7282 GB, free: 81.52 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002675/1.021, allocations: 1.812 MB / 0.73 GB, free: 79.66 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.961e-05/1.021, allocations: 7.844 kB / 0.73 GB, free: 79.66 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001733/1.021, allocations: 7.984 kB / 0.73 GB, free: 79.65 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.359e-05/1.021, allocations: 40 kB / 0.73 GB, free: 79.61 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01249/1.034, allocations: 7.586 MB / 0.7374 GB, free: 71.91 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00355/1.037, allocations: 2.447 MB / 0.7398 GB, free: 69.44 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001368/1.039, allocations: 1.126 MB / 0.7409 GB, free: 68.31 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001664/1.039, allocations: 41.8 kB / 0.7409 GB, free: 68.28 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001731/1.04, allocations: 1.369 MB / 0.7423 GB, free: 66.88 MB / 490.7 MB Notification: Performance of pre-optimization done (n=193): time 3.446e-06/1.04, allocations: 0 / 0.7423 GB, free: 66.88 MB / 490.7 MB Notification: Performance of matching and sorting (n=193): time 0.01745/1.058, allocations: 6.438 MB / 0.7486 GB, free: 60.45 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.161e-05/1.058, allocations: 197.9 kB / 0.7488 GB, free: 60.21 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003036/1.061, allocations: 2.09 MB / 0.7508 GB, free: 58.11 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003918/1.061, allocations: 41.56 kB / 0.7508 GB, free: 58.07 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00033/1.062, allocations: 0.5672 MB / 0.7514 GB, free: 57.49 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009007/1.063, allocations: 0.6582 MB / 0.752 GB, free: 56.82 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000136/1.063, allocations: 0 / 0.752 GB, free: 56.82 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000128/1.063, allocations: 389.8 kB / 0.7524 GB, free: 56.43 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001523/1.065, allocations: 1.023 MB / 0.7534 GB, free: 55.41 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001582/1.066, allocations: 1.239 MB / 0.7546 GB, free: 54.11 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001682/1.068, allocations: 1.158 MB / 0.7557 GB, free: 52.95 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.151e-06/1.068, allocations: 0 / 0.7557 GB, free: 52.95 MB / 490.7 MB Notification: Performance of matching and sorting (n=255) (initialization): time 0.005374/1.073, allocations: 3.2 MB / 0.7589 GB, free: 49.74 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000388/1.074, allocations: 1.429 MB / 0.7603 GB, free: 48.21 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.555e-05/1.074, allocations: 7.953 kB / 0.7603 GB, free: 48.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007716/1.081, allocations: 2.371 MB / 0.7626 GB, free: 45.83 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004181/1.086, allocations: 0.8506 MB / 0.7634 GB, free: 44.98 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006441/1.092, allocations: 6.386 MB / 0.7697 GB, free: 38.29 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00412/1.096, allocations: 486.1 kB / 0.7701 GB, free: 37.82 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002327/1.096, allocations: 75.97 kB / 0.7702 GB, free: 37.74 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.174e-06/1.096, allocations: 4 kB / 0.7702 GB, free: 37.74 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004598/1.101, allocations: 2.88 MB / 0.773 GB, free: 34.86 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/1.101, allocations: 4 kB / 0.773 GB, free: 34.85 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007516/1.109, allocations: 2.364 MB / 0.7753 GB, free: 32.48 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003413/1.112, allocations: 0.5501 MB / 0.7759 GB, free: 31.93 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005842/1.118, allocations: 5.029 MB / 0.7808 GB, free: 26.66 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004268/1.122, allocations: 450.2 kB / 0.7812 GB, free: 26.21 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004182/1.123, allocations: 71.89 kB / 0.7813 GB, free: 26.14 MB / 490.7 MB 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 w/o 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 w/o 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 w/o 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 w/o 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.0007216/1.123, allocations: 160.4 kB / 0.7814 GB, free: 25.99 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008484/1.124, allocations: 268.7 kB / 0.7817 GB, free: 25.72 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01783/1.142, allocations: 6.574 MB / 0.7881 GB, free: 19.14 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.416e-05/1.142, allocations: 24 kB / 0.7881 GB, free: 19.12 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/1.142, allocations: 0 / 0.7881 GB, free: 19.12 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.351e-05/1.142, allocations: 7.969 kB / 0.7881 GB, free: 19.11 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02325/1.165, allocations: 9.589 MB / 0.7975 GB, free: 9.473 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.485e-05/1.165, allocations: 0 / 0.7975 GB, free: 9.473 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002055/1.167, allocations: 283.6 kB / 0.7978 GB, free: 9.195 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006791/1.174, allocations: 2.213 MB / 0.7999 GB, free: 6.977 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000555/1.175, allocations: 35.97 kB / 0.8 GB, free: 6.941 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01968/1.195, allocations: 9.278 MB / 0.809 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/1.195, allocations: 4.281 kB / 0.809 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02414/1.219, allocations: 8.206 MB / 0.817 GB, free: 5.188 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00121/1.22, allocations: 429.3 kB / 0.8174 GB, free: 4.746 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00117/1.221, allocations: 27.83 kB / 0.8175 GB, free: 4.719 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004101/1.225, allocations: 383.6 kB / 0.8178 GB, free: 4.344 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007987/1.226, allocations: 193.7 kB / 0.818 GB, free: 4.156 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003982/1.227, allocations: 51.98 kB / 0.8181 GB, free: 4.105 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.003548/1.23, allocations: 1.593 MB / 0.8196 GB, free: 2.504 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004338/1.234, allocations: 1.002 MB / 0.8206 GB, free: 1.5 MB / 0.4948 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.0005755/1.235, allocations: 176 kB / 0.8208 GB, free: 1.316 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01937/1.254, allocations: 6.402 MB / 0.827 GB, free: 10.93 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/1.254, allocations: 4.188 kB / 0.827 GB, free: 10.92 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.007377/1.262, allocations: 2.453 MB / 0.8294 GB, free: 8.453 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002532/1.264, allocations: 253.9 kB / 0.8297 GB, free: 8.207 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01466/1.279, allocations: 4.762 MB / 0.8343 GB, free: 3.395 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002678/1.282, allocations: 1.97 MB / 0.8362 GB, free: 1.391 MB / 0.5105 GB Notification: Performance of SimCode: time 6.21e-07/1.282, allocations: 0 / 0.8362 GB, free: 1.391 MB / 0.5105 GB Notification: Performance of Templates: time 0.2625/1.544, allocations: 54.61 MB / 0.8896 GB, free: 197.2 MB / 0.5573 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2A.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2A.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2A.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2A.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2A.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2A -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2A.pipe 2>&1)