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: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.PSS.PSS2A,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_PSS_PSS2A",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.PSS.PSS2A,fileNamePrefix="OpenIPSL_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.002784/0.002783, allocations: 187 kB / 7.46 MB, free: 2.516 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.32/1.32, allocations: 221.4 MB / 229.3 MB, free: 3.016 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.0009854/0.0009854, allocations: 90.72 kB / 280.1 MB, free: 1.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5598/0.5598, allocations: 78.06 MB / 408.9 MB, free: 15.53 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2062/0.766, allocations: 75.49 MB / 484.4 MB, free: 4.348 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4146/1.181, allocations: 69.34 MB / 0.5408 GB, free: 21.56 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1517/1.332, allocations: 114.5 MB / 0.6526 GB, free: 6.363 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003224/1.333, allocations: 95.94 kB / 0.6527 GB, free: 6.27 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.5404/1.873, allocations: 72.12 MB / 0.7231 GB, free: 87.3 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/1.873, allocations: 8 kB / 0.7231 GB, free: 87.3 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004875/1.878, allocations: 0.7104 MB / 0.7238 GB, free: 86.58 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00573/1.884, allocations: 1.999 MB / 0.7258 GB, free: 84.57 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000936/1.885, allocations: 0.6901 MB / 0.7265 GB, free: 83.75 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00133/1.886, allocations: 107.9 kB / 0.7266 GB, free: 83.64 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005839/1.892, allocations: 2.072 MB / 0.7286 GB, free: 81.57 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005282/1.898, allocations: 1.82 MB / 0.7304 GB, free: 79.71 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.965e-05/1.898, allocations: 4 kB / 0.7304 GB, free: 79.71 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004271/1.898, allocations: 0 / 0.7304 GB, free: 79.71 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.445e-05/1.898, allocations: 39.91 kB / 0.7304 GB, free: 79.67 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02021/1.918, allocations: 7.599 MB / 0.7378 GB, free: 71.96 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004774/1.923, allocations: 2.453 MB / 0.7402 GB, free: 69.49 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001832/1.925, allocations: 1.126 MB / 0.7413 GB, free: 68.36 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002545/1.925, allocations: 37.8 kB / 0.7414 GB, free: 68.33 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002363/1.928, allocations: 1.369 MB / 0.7427 GB, free: 66.94 MB / 490.7 MB Notification: Performance of pre-optimization done (n=193): time 7.194e-06/1.928, allocations: 4 kB / 0.7427 GB, free: 66.93 MB / 490.7 MB Notification: Performance of matching and sorting (n=193): time 0.02009/1.948, allocations: 6.43 MB / 0.749 GB, free: 60.5 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001098/1.948, allocations: 205.9 kB / 0.7492 GB, free: 60.26 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006004/1.954, allocations: 2.094 MB / 0.7512 GB, free: 58.16 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001034/1.955, allocations: 25.7 kB / 0.7512 GB, free: 58.12 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007316/1.956, allocations: 0.575 MB / 0.7518 GB, free: 57.54 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002103/1.958, allocations: 0.6581 MB / 0.7524 GB, free: 56.87 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000544/1.959, allocations: 0 / 0.7524 GB, free: 56.87 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002506/1.959, allocations: 381.8 kB / 0.7528 GB, free: 56.49 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002341/1.961, allocations: 1.023 MB / 0.7538 GB, free: 55.46 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002265/1.963, allocations: 1.243 MB / 0.755 GB, free: 54.16 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002358/1.966, allocations: 1.158 MB / 0.7562 GB, free: 53.01 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.327e-05/1.966, allocations: 4 kB / 0.7562 GB, free: 53 MB / 490.7 MB Notification: Performance of matching and sorting (n=255) (initialization): time 0.007541/1.973, allocations: 3.203 MB / 0.7593 GB, free: 49.79 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003465/1.974, allocations: 1.427 MB / 0.7607 GB, free: 48.25 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.621e-05/1.974, allocations: 0 / 0.7607 GB, free: 48.25 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008291/1.982, allocations: 2.364 MB / 0.763 GB, free: 45.89 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004805/1.987, allocations: 0.8506 MB / 0.7638 GB, free: 45.04 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009244/1.996, allocations: 6.397 MB / 0.7701 GB, free: 38.34 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005401/2.002, allocations: 482.1 kB / 0.7705 GB, free: 37.87 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008865/2.003, allocations: 67.98 kB / 0.7706 GB, free: 37.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/2.003, allocations: 4 kB / 0.7706 GB, free: 37.8 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007121/2.01, allocations: 2.876 MB / 0.7734 GB, free: 34.92 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.992e-05/2.01, allocations: 4.438 kB / 0.7734 GB, free: 34.92 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007909/2.018, allocations: 2.379 MB / 0.7757 GB, free: 32.54 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003818/2.022, allocations: 0.5462 MB / 0.7763 GB, free: 31.99 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007592/2.029, allocations: 5.032 MB / 0.7812 GB, free: 26.71 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005188/2.035, allocations: 442.3 kB / 0.7816 GB, free: 26.27 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006642/2.035, allocations: 71.97 kB / 0.7817 GB, free: 26.2 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.001112/2.036, allocations: 162.8 kB / 0.7818 GB, free: 26.04 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001505/2.038, allocations: 260.7 kB / 0.7821 GB, free: 25.79 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02029/2.058, allocations: 6.58 MB / 0.7885 GB, free: 19.2 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-05/2.058, allocations: 19.91 kB / 0.7885 GB, free: 19.18 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/2.058, allocations: 4 kB / 0.7885 GB, free: 19.18 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.916e-05/2.058, allocations: 11.95 kB / 0.7885 GB, free: 19.16 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02865/2.087, allocations: 9.58 MB / 0.7979 GB, free: 9.539 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.924e-05/2.087, allocations: 0 / 0.7979 GB, free: 9.539 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002633/2.09, allocations: 295.6 kB / 0.7982 GB, free: 9.25 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00754/2.097, allocations: 2.214 MB / 0.8003 GB, free: 7.031 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008023/2.098, allocations: 35.97 kB / 0.8004 GB, free: 6.996 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02237/2.121, allocations: 9.266 MB / 0.8094 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.123e-06/2.121, allocations: 0 / 0.8094 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02647/2.147, allocations: 8.206 MB / 0.8174 GB, free: 5.258 MB / 0.4948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.03007/2.177, allocations: 10.23 MB / 0.8274 GB, free: 11.01 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00197/2.179, allocations: 433.2 kB / 0.8278 GB, free: 10.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001543/2.181, allocations: 27.89 kB / 0.8279 GB, free: 10.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004891/2.186, allocations: 391.6 kB / 0.8282 GB, free: 10.15 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001354/2.187, allocations: 193.7 kB / 0.8284 GB, free: 9.965 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007419/2.188, allocations: 51.98 kB / 0.8285 GB, free: 9.914 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.003929/2.192, allocations: 1.582 MB / 0.83 GB, free: 8.324 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.009166/2.201, allocations: 1.021 MB / 0.831 GB, free: 7.301 MB / 0.5105 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.001264/2.203, allocations: 184.6 kB / 0.8312 GB, free: 7.113 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02158/2.224, allocations: 6.408 MB / 0.8374 GB, free: 0.7148 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.037e-05/2.224, allocations: 0 / 0.8374 GB, free: 0.7148 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.009021/2.233, allocations: 2.446 MB / 0.8398 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003081/2.236, allocations: 253.2 kB / 0.8401 GB, free: 14 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0161/2.253, allocations: 4.813 MB / 0.8448 GB, free: 9.137 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003904/2.257, allocations: 2.134 MB / 0.8469 GB, free: 6.969 MB / 0.5261 GB Notification: Performance of SimCode: time 1.473e-06/2.257, allocations: 0 / 0.8469 GB, free: 6.969 MB / 0.5261 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Controls_PSSE_PSS_PSS2A_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Controls_PSSE_PSS_PSS2A.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2A.pipe 2>&1)