Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2A.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.Controls.PSSE.PSS.PSS2A,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2A") translateModel(OpenIPSL.Tests.Controls.PSSE.PSS.PSS2A,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_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 3.2.3+maint.om/package.mo): time 0.004476/0.004476, allocations: 180.5 kB / 7.454 MB, free: 2.344 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.408/1.408, allocations: 205.2 MB / 213.1 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00112/0.00112, allocations: 89.56 kB / 261.1 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.0745/0.0745, allocations: 12.6 MB / 321.6 MB, free: 0.8984 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2824/0.2824, allocations: 78.05 MB / 450.4 MB, free: 3.203 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.011e-06/6.051e-06, allocations: 0 / 0.5141 GB, free: 29.96 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1153, allocations: 69.32 MB / 0.5818 GB, free: 8.746 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3581/0.4734, allocations: 116.1 MB / 0.6952 GB, free: 8.5 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003801/0.4738, allocations: 91.75 kB / 0.6953 GB, free: 8.449 MB / 442.7 MB Notification: Performance of FrontEnd: time 0.2047/0.6786, allocations: 67.76 MB / 0.7614 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0004865/0.6791, allocations: 63.88 kB / 0.7615 GB, free: 15.39 MB / 0.4948 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.01169/0.6908, allocations: 3.122 MB / 0.7645 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/0.6909, allocations: 15.97 kB / 0.7646 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005172/0.6961, allocations: 0.7143 MB / 0.7653 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00999/0.7061, allocations: 2.016 MB / 0.7672 GB, free: 9.395 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001485/0.7076, allocations: 0.6862 MB / 0.7679 GB, free: 8.578 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001346/0.709, allocations: 103.9 kB / 0.768 GB, free: 8.477 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007777/0.7168, allocations: 2.075 MB / 0.77 GB, free: 6.398 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006775/0.7237, allocations: 1.828 MB / 0.7718 GB, free: 4.531 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.821e-05/0.7238, allocations: 3.938 kB / 0.7718 GB, free: 4.527 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002801/0.7241, allocations: 0 / 0.7718 GB, free: 4.527 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.139e-05/0.7242, allocations: 40 kB / 0.7718 GB, free: 4.488 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02329/0.7475, allocations: 7.583 MB / 0.7793 GB, free: 12.72 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007222/0.7547, allocations: 2.465 MB / 0.7817 GB, free: 10.23 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00296/0.7577, allocations: 1.121 MB / 0.7828 GB, free: 9.098 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002947/0.7581, allocations: 33.95 kB / 0.7828 GB, free: 9.066 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003956/0.762, allocations: 1.372 MB / 0.7841 GB, free: 7.672 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=193): time 7.604e-06/0.7621, allocations: 0 / 0.7841 GB, free: 7.672 MB / 0.5105 GB Notification: Performance of matching and sorting (n=193): time 0.03061/0.7927, allocations: 6.442 MB / 0.7904 GB, free: 1.211 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001432/0.7929, allocations: 197.9 kB / 0.7906 GB, free: 0.9766 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007223/0.8001, allocations: 2.098 MB / 0.7927 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0007367/0.8009, allocations: 29.7 kB / 0.7927 GB, free: 14.83 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008379/0.8017, allocations: 0.5749 MB / 0.7932 GB, free: 14.24 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.002249/0.804, allocations: 0.6542 MB / 0.7939 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005762/0.8046, allocations: 4.062 kB / 0.7939 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003343/0.805, allocations: 381.9 kB / 0.7943 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00238/0.8073, allocations: 1.023 MB / 0.7953 GB, free: 12.17 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00251/0.8099, allocations: 1.239 MB / 0.7965 GB, free: 10.87 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002653/0.8125, allocations: 1.158 MB / 0.7976 GB, free: 9.711 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.568e-06/0.8126, allocations: 0 / 0.7976 GB, free: 9.711 MB / 0.5261 GB Notification: Performance of matching and sorting (n=255) (initialization): time 0.008368/0.8209, allocations: 3.214 MB / 0.8007 GB, free: 6.484 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007242/0.8217, allocations: 1.424 MB / 0.8021 GB, free: 4.961 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.677e-05/0.8217, allocations: 4 kB / 0.8021 GB, free: 4.957 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008795/0.8305, allocations: 2.376 MB / 0.8044 GB, free: 2.578 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004796/0.8354, allocations: 0.8506 MB / 0.8053 GB, free: 1.727 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008789/0.8442, allocations: 6.387 MB / 0.8115 GB, free: 11.04 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005117/0.8493, allocations: 482.2 kB / 0.812 GB, free: 10.57 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007646/0.8501, allocations: 71.97 kB / 0.812 GB, free: 10.5 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.088e-05/0.8501, allocations: 4 kB / 0.812 GB, free: 10.49 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006908/0.8571, allocations: 2.88 MB / 0.8149 GB, free: 7.609 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.873e-05/0.8571, allocations: 4 kB / 0.8149 GB, free: 7.605 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008484/0.8656, allocations: 2.372 MB / 0.8172 GB, free: 5.23 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003794/0.8694, allocations: 0.5501 MB / 0.8177 GB, free: 4.68 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007936/0.8774, allocations: 5.021 MB / 0.8226 GB, free: 15.41 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005328/0.8828, allocations: 458 kB / 0.8231 GB, free: 14.96 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007694/0.8836, allocations: 67.97 kB / 0.8231 GB, free: 14.89 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 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.001421/0.885, allocations: 145 kB / 0.8233 GB, free: 14.74 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001512/0.8865, allocations: 268.6 kB / 0.8235 GB, free: 14.48 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02081/0.9073, allocations: 6.571 MB / 0.8299 GB, free: 7.879 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.462e-05/0.9074, allocations: 20 kB / 0.83 GB, free: 7.859 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.435e-06/0.9074, allocations: 8 kB / 0.83 GB, free: 7.852 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.299e-05/0.9075, allocations: 11.88 kB / 0.83 GB, free: 7.84 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0279/0.9354, allocations: 9.575 MB / 0.8393 GB, free: 14.16 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-05/0.9355, allocations: 7.938 kB / 0.8393 GB, free: 14.15 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00251/0.938, allocations: 287.6 kB / 0.8396 GB, free: 13.87 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007898/0.9459, allocations: 2.217 MB / 0.8418 GB, free: 11.64 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007812/0.9468, allocations: 35.97 kB / 0.8418 GB, free: 11.61 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02306/0.9698, allocations: 9.268 MB / 0.8509 GB, free: 2.102 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.835e-06/0.9699, allocations: 8 kB / 0.8509 GB, free: 2.094 MB / 0.573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.2801/1.25, allocations: 8.212 MB / 0.8589 GB, free: 120 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001553/1.252, allocations: 433.5 kB / 0.8593 GB, free: 119.9 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001079/1.253, allocations: 21.25 kB / 0.8593 GB, free: 119.9 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003771/1.256, allocations: 385.5 kB / 0.8597 GB, free: 119.9 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006089/1.257, allocations: 194.8 kB / 0.8599 GB, free: 119.9 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001838/1.257, allocations: 56.91 kB / 0.8599 GB, free: 119.9 MB / 0.573 GB Notification: Performance of sort global known variables: time 0.00298/1.26, allocations: 1.588 MB / 0.8615 GB, free: 119.8 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.003354/1.264, allocations: 1 MB / 0.8625 GB, free: 119.8 MB / 0.573 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.0004816/1.264, allocations: 175.7 kB / 0.8626 GB, free: 119.7 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01714/1.281, allocations: 6.409 MB / 0.8689 GB, free: 119.6 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.203e-05/1.281, allocations: 0 / 0.8689 GB, free: 119.6 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.007187/1.289, allocations: 2.451 MB / 0.8713 GB, free: 119.3 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002713/1.291, allocations: 258.2 kB / 0.8715 GB, free: 119.3 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01322/1.305, allocations: 4.767 MB / 0.8762 GB, free: 118.2 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002053/1.307, allocations: 1.973 MB / 0.8781 GB, free: 117.4 MB / 0.573 GB Notification: Performance of SimCode: time 8.91e-07/1.307, allocations: 4 kB / 0.8781 GB, free: 117.4 MB / 0.573 GB Notification: Performance of Templates: time 0.09975/1.406, allocations: 54.67 MB / 0.9315 GB, free: 112 MB / 0.573 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2A.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2A.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2A.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2A.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2A.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2A -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2A.pipe 2>&1)