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: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.PSS.PSS2A,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_PSS_PSS2A",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.PSS.PSS2A,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_PSS_PSS2A",fmuType="me",version="2.0",platforms={"static"}) [: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.004066/0.004066, allocations: 183.4 kB / 7.457 MB, free: 2.508 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.31/1.31, allocations: 221.4 MB / 229.3 MB, free: 2.992 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.001011/0.001011, allocations: 103.4 kB / 280.1 MB, free: 1.297 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5211/0.5211, allocations: 78.91 MB / 409.8 MB, free: 14.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1783/0.6994, allocations: 75.65 MB / 485.5 MB, free: 3.527 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4268/1.126, allocations: 69.51 MB / 0.542 GB, free: 20.93 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1534/1.28, allocations: 115.2 MB / 0.6544 GB, free: 4.703 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002716/1.28, allocations: 87.94 kB / 0.6545 GB, free: 4.617 MB / 474.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.5548/1.835, allocations: 69.97 MB / 0.7228 GB, free: 63.89 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/1.835, allocations: 11.98 kB / 0.7228 GB, free: 63.88 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004955/1.84, allocations: 0.7218 MB / 0.7235 GB, free: 63.2 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006604/1.846, allocations: 1.996 MB / 0.7255 GB, free: 61.73 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008535/1.847, allocations: 0.6856 MB / 0.7262 GB, free: 60.92 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001081/1.849, allocations: 103.5 kB / 0.7263 GB, free: 60.82 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00459/1.853, allocations: 2.079 MB / 0.7283 GB, free: 59.54 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003154/1.856, allocations: 1.813 MB / 0.7301 GB, free: 58.27 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.73e-05/1.856, allocations: 3.906 kB / 0.7301 GB, free: 58.27 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001721/1.857, allocations: 4 kB / 0.7301 GB, free: 58.27 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.731e-05/1.857, allocations: 40 kB / 0.7301 GB, free: 58.23 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01862/1.875, allocations: 7.586 MB / 0.7375 GB, free: 52.68 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004573/1.88, allocations: 2.446 MB / 0.7399 GB, free: 51.04 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001753/1.882, allocations: 1.125 MB / 0.741 GB, free: 50.39 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002113/1.882, allocations: 45.12 kB / 0.741 GB, free: 50.36 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00217/1.884, allocations: 1.364 MB / 0.7424 GB, free: 49.45 MB / 490.7 MB Notification: Performance of pre-optimization done (n=193): time 5.771e-06/1.884, allocations: 0 / 0.7424 GB, free: 49.45 MB / 490.7 MB Notification: Performance of matching and sorting (n=193): time 0.01965/1.904, allocations: 6.439 MB / 0.7487 GB, free: 44.04 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001057/1.904, allocations: 205.9 kB / 0.7489 GB, free: 43.8 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004305/1.908, allocations: 2.092 MB / 0.7509 GB, free: 42.32 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001205/1.909, allocations: 29.64 kB / 0.7509 GB, free: 42.29 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005491/1.91, allocations: 0.5707 MB / 0.7515 GB, free: 41.81 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00201/1.912, allocations: 0.6587 MB / 0.7521 GB, free: 41.21 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001629/1.912, allocations: 4.062 kB / 0.7521 GB, free: 41.2 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001603/1.912, allocations: 389.8 kB / 0.7525 GB, free: 40.82 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001636/1.914, allocations: 1.023 MB / 0.7535 GB, free: 39.79 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001782/1.916, allocations: 1.236 MB / 0.7547 GB, free: 38.49 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001846/1.918, allocations: 1.158 MB / 0.7558 GB, free: 37.34 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/1.918, allocations: 0 / 0.7558 GB, free: 37.34 MB / 490.7 MB Notification: Performance of matching and sorting (n=255) (initialization): time 0.006072/1.924, allocations: 3.207 MB / 0.759 GB, free: 34.12 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003921/1.924, allocations: 1.419 MB / 0.7604 GB, free: 32.59 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.629e-05/1.924, allocations: 7.906 kB / 0.7604 GB, free: 32.59 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008464/1.933, allocations: 2.38 MB / 0.7627 GB, free: 30.21 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004737/1.937, allocations: 0.8506 MB / 0.7635 GB, free: 29.36 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01014/1.948, allocations: 6.38 MB / 0.7698 GB, free: 22.68 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005745/1.953, allocations: 490.1 kB / 0.7702 GB, free: 22.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009128/1.954, allocations: 71.97 kB / 0.7703 GB, free: 22.12 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/1.954, allocations: 4 kB / 0.7703 GB, free: 22.12 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007017/1.961, allocations: 2.872 MB / 0.7731 GB, free: 19.25 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.863e-05/1.962, allocations: 4 kB / 0.7731 GB, free: 19.24 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008445/1.97, allocations: 2.372 MB / 0.7754 GB, free: 16.87 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005307/1.975, allocations: 0.5501 MB / 0.776 GB, free: 16.32 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00719/1.983, allocations: 5.031 MB / 0.7809 GB, free: 11.04 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005203/1.988, allocations: 446.2 kB / 0.7813 GB, free: 10.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007056/1.989, allocations: 71.88 kB / 0.7814 GB, free: 10.53 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.001212/1.99, allocations: 163 kB / 0.7815 GB, free: 10.37 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001527/1.991, allocations: 264.7 kB / 0.7818 GB, free: 10.11 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01983/2.011, allocations: 6.575 MB / 0.7882 GB, free: 3.527 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.058e-05/2.011, allocations: 24 kB / 0.7882 GB, free: 3.504 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-05/2.011, allocations: 0 / 0.7882 GB, free: 3.504 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.936e-05/2.011, allocations: 11.97 kB / 0.7882 GB, free: 3.492 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03005/2.041, allocations: 9.585 MB / 0.7976 GB, free: 9.859 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.501e-05/2.042, allocations: 0 / 0.7976 GB, free: 9.859 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002352/2.044, allocations: 287.7 kB / 0.7979 GB, free: 9.578 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008021/2.052, allocations: 2.221 MB / 0.8 GB, free: 7.352 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007437/2.053, allocations: 31.97 kB / 0.8001 GB, free: 7.32 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02377/2.077, allocations: 9.266 MB / 0.8091 GB, free: 13.82 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.008e-05/2.077, allocations: 3.984 kB / 0.8091 GB, free: 13.82 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02492/2.102, allocations: 8.206 MB / 0.8171 GB, free: 5.582 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02864/2.13, allocations: 10.23 MB / 0.8271 GB, free: 11.33 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001614/2.132, allocations: 429.2 kB / 0.8275 GB, free: 10.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001452/2.133, allocations: 19.98 kB / 0.8275 GB, free: 10.87 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004964/2.138, allocations: 387.5 kB / 0.8279 GB, free: 10.49 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009584/2.139, allocations: 197.7 kB / 0.8281 GB, free: 10.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005193/2.14, allocations: 51.98 kB / 0.8282 GB, free: 10.25 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.003875/2.144, allocations: 1.59 MB / 0.8297 GB, free: 8.648 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0079/2.152, allocations: 1.021 MB / 0.8307 GB, free: 7.625 MB / 0.5261 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.0008035/2.153, allocations: 173.4 kB / 0.8309 GB, free: 7.445 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.02101/2.174, allocations: 6.404 MB / 0.8371 GB, free: 1.051 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.907e-06/2.174, allocations: 4 kB / 0.8371 GB, free: 1.047 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.008204/2.182, allocations: 2.45 MB / 0.8395 GB, free: 14.58 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003259/2.185, allocations: 256.4 kB / 0.8398 GB, free: 14.33 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01851/2.204, allocations: 4.808 MB / 0.8445 GB, free: 9.473 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003932/2.208, allocations: 2.134 MB / 0.8465 GB, free: 7.305 MB / 0.5417 GB Notification: Performance of SimCode: time 1.714e-06/2.208, allocations: 0 / 0.8465 GB, free: 7.305 MB / 0.5417 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_PSS_PSS2A_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_PSS_PSS2A.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2A.pipe 2>&1)