Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.PSS.IEEEST.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.IEEEST,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_PSS_IEEEST",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.PSS.IEEEST,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_PSS_IEEEST",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.005089/0.005089, allocations: 180.2 kB / 7.455 MB, free: 2.512 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.336/1.336, allocations: 221.4 MB / 229.3 MB, free: 3.02 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.001116/0.001116, allocations: 105.3 kB / 280.1 MB, free: 1.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5032/0.5032, allocations: 78.92 MB / 409.8 MB, free: 14.96 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1657/0.6689, allocations: 75.66 MB / 485.5 MB, free: 3.555 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4351/1.104, allocations: 69.49 MB / 0.5419 GB, free: 20.81 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1571/1.261, allocations: 115.7 MB / 0.655 GB, free: 4.191 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002596/1.261, allocations: 87.94 kB / 0.655 GB, free: 4.105 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: 368 * Number of variables: 368 Notification: Performance of Generate backend data structure: time 0.517/1.779, allocations: 59.81 MB / 0.7135 GB, free: 96.48 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.605e-05/1.779, allocations: 12 kB / 0.7135 GB, free: 96.47 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005157/1.784, allocations: 0.6834 MB / 0.7141 GB, free: 95.78 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005263/1.789, allocations: 1.691 MB / 0.7158 GB, free: 94.07 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007035/1.79, allocations: 0.5199 MB / 0.7163 GB, free: 93.45 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009954/1.791, allocations: 103.9 kB / 0.7164 GB, free: 93.35 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004665/1.796, allocations: 1.7 MB / 0.7181 GB, free: 91.65 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004434/1.8, allocations: 1.635 MB / 0.7196 GB, free: 89.98 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.934e-05/1.8, allocations: 4 kB / 0.7197 GB, free: 89.97 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001883/1.8, allocations: 0 / 0.7197 GB, free: 89.97 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.81e-05/1.8, allocations: 36 kB / 0.7197 GB, free: 89.94 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01539/1.816, allocations: 6.881 MB / 0.7264 GB, free: 82.94 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002434/1.818, allocations: 1.377 MB / 0.7277 GB, free: 81.54 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001279/1.819, allocations: 0.9818 MB / 0.7287 GB, free: 80.56 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001699/1.82, allocations: 37.8 kB / 0.7287 GB, free: 80.53 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001677/1.821, allocations: 1.212 MB / 0.7299 GB, free: 79.29 MB / 490.7 MB Notification: Performance of pre-optimization done (n=183): time 4.599e-06/1.821, allocations: 0 / 0.7299 GB, free: 79.29 MB / 490.7 MB Notification: Performance of matching and sorting (n=183): time 0.01734/1.839, allocations: 6.048 MB / 0.7358 GB, free: 73.25 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001243/1.839, allocations: 205.9 kB / 0.736 GB, free: 73 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003738/1.843, allocations: 1.776 MB / 0.7378 GB, free: 71.2 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001071/1.844, allocations: 25.7 kB / 0.7378 GB, free: 71.17 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000451/1.844, allocations: 0.5414 MB / 0.7383 GB, free: 70.62 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001162/1.845, allocations: 0.6351 MB / 0.7389 GB, free: 69.97 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001746/1.846, allocations: 0 / 0.7389 GB, free: 69.97 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001212/1.846, allocations: 398.8 kB / 0.7393 GB, free: 69.58 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001679/1.847, allocations: 1.051 MB / 0.7403 GB, free: 68.52 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001708/1.849, allocations: 1.295 MB / 0.7416 GB, free: 67.17 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001927/1.851, allocations: 1.161 MB / 0.7427 GB, free: 65.99 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.075e-05/1.851, allocations: 4 kB / 0.7427 GB, free: 65.98 MB / 490.7 MB Notification: Performance of matching and sorting (n=309) (initialization): time 0.006272/1.857, allocations: 3.328 MB / 0.746 GB, free: 62.61 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005486/1.858, allocations: 1.394 MB / 0.7474 GB, free: 61.07 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.885e-05/1.858, allocations: 4 kB / 0.7474 GB, free: 61.06 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009265/1.867, allocations: 2.784 MB / 0.7501 GB, free: 58.28 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002977/1.87, allocations: 471.4 kB / 0.7505 GB, free: 57.82 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006691/1.877, allocations: 3.293 MB / 0.7537 GB, free: 54.49 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004737/1.882, allocations: 462 kB / 0.7542 GB, free: 54.04 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005055/1.882, allocations: 87.91 kB / 0.7543 GB, free: 53.95 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/1.882, allocations: 6.031 kB / 0.7543 GB, free: 53.95 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00548/1.888, allocations: 3.029 MB / 0.7572 GB, free: 50.88 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.108e-05/1.888, allocations: 7.906 kB / 0.7572 GB, free: 50.88 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00849/1.896, allocations: 2.721 MB / 0.7599 GB, free: 48.16 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003169/1.9, allocations: 475.3 kB / 0.7604 GB, free: 47.69 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006502/1.906, allocations: 3.074 MB / 0.7634 GB, free: 44.59 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004591/1.911, allocations: 390.2 kB / 0.7637 GB, free: 44.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007526/1.912, allocations: 87.97 kB / 0.7638 GB, free: 44.12 MB / 490.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: eSST1A.VA0:VARIABLE(fixed = false protected = true ) 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: 7 ($whenCondition1,$whenCondition2,iEEEST.and1.y,iEEEST.booleanConstant.k,iEEEST.bypass_filter2,iEEEST.booleanConstant1.k,iEEEST.bypass_filter1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (215): * Single equations (assignments): 214 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {34 61} Notification: Performance of prepare postOptimizeDAE: time 0.0007577/1.912, allocations: 145 kB / 0.764 GB, free: 43.97 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009324/1.913, allocations: 241 kB / 0.7642 GB, free: 43.73 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01829/1.932, allocations: 6.279 MB / 0.7703 GB, free: 37.45 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.745e-05/1.932, allocations: 16 kB / 0.7703 GB, free: 37.43 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.327e-05/1.932, allocations: 4 kB / 0.7703 GB, free: 37.43 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.542e-05/1.932, allocations: 11.95 kB / 0.7703 GB, free: 37.41 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02377/1.956, allocations: 8.821 MB / 0.779 GB, free: 28.55 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-05/1.956, allocations: 0 / 0.779 GB, free: 28.55 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00202/1.958, allocations: 251.6 kB / 0.7792 GB, free: 28.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00741/1.965, allocations: 2.217 MB / 0.7814 GB, free: 26.08 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006283/1.966, allocations: 27.97 kB / 0.7814 GB, free: 26.05 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02007/1.986, allocations: 9.283 MB / 0.7905 GB, free: 16.54 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/1.986, allocations: 0 / 0.7905 GB, free: 16.54 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02017/2.006, allocations: 7.62 MB / 0.7979 GB, free: 8.883 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02285/2.029, allocations: 9.412 MB / 0.8071 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001384/2.03, allocations: 385.5 kB / 0.8075 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000748/2.031, allocations: 19.89 kB / 0.8075 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003006/2.034, allocations: 283.7 kB / 0.8077 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005185/2.035, allocations: 185.7 kB / 0.8079 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001856/2.035, allocations: 55.98 kB / 0.808 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.002405/2.037, allocations: 1.297 MB / 0.8092 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00489/2.042, allocations: 1.029 MB / 0.8102 GB, free: 12.17 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 27 (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,iEEEST.Filter1_1.x_scaled[1],iEEEST.Filter1_1.x_scaled[2],iEEEST.T_1_T_2.TF.x_scaled[1],iEEEST.T_3_T_4.TF.x_scaled[1],iEEEST.imDerivativeLag.x,iEEEST.Filter2_1.x_scaled[1],iEEEST.Filter2_1.x_scaled[2],iEEEST.Filter2_1.x_scaled[3],iEEEST.Filter1_2.x_scaled[1],iEEEST.Filter1_2.x_scaled[2],iEEEST.Filter2_2.x_scaled[1],iEEEST.Filter2_2.x_scaled[2],iEEEST.Filter2_2.x_scaled[3]) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (131): * Single equations (assignments): 129 * 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.0005204/2.043, allocations: 185.4 kB / 0.8104 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01941/2.062, allocations: 5.989 MB / 0.8163 GB, free: 5.988 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.14e-05/2.062, allocations: 4 kB / 0.8163 GB, free: 5.984 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.007738/2.07, allocations: 2.29 MB / 0.8185 GB, free: 3.676 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002637/2.073, allocations: 210.1 kB / 0.8187 GB, free: 3.469 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01298/2.086, allocations: 4.269 MB / 0.8229 GB, free: 15.16 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002623/2.088, allocations: 1.916 MB / 0.8248 GB, free: 13.21 MB / 0.5105 GB Notification: Performance of SimCode: time 1.863e-06/2.088, allocations: 0 / 0.8248 GB, free: 13.21 MB / 0.5105 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.PSS.IEEEST.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.PSS.IEEEST.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.PSS.IEEEST.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.PSS.IEEEST.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_PSS_IEEEST_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_PSS_IEEEST.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.PSS.IEEEST.pipe 2>&1)