Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ST5B.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.ES.ST5B,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ST5B",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ST5B,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ST5B",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.003219/0.003219, allocations: 182.4 kB / 7.46 MB, free: 2.227 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.062 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.0009461/0.0009461, allocations: 107 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.5064/0.5064, allocations: 78.92 MB / 409.8 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1761/0.6825, allocations: 75.65 MB / 485.5 MB, free: 3.535 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4291/1.112, allocations: 69.51 MB / 0.542 GB, free: 21.08 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1564/1.268, allocations: 111.6 MB / 0.651 GB, free: 8.332 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000396/1.269, allocations: 83.95 kB / 0.651 GB, free: 8.25 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: 363 * Number of variables: 363 Notification: Performance of Generate backend data structure: time 0.4477/1.716, allocations: 52.56 MB / 0.7024 GB, free: 102.5 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.678e-05/1.716, allocations: 8.406 kB / 0.7024 GB, free: 102.5 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005221/1.722, allocations: 0.658 MB / 0.703 GB, free: 102.2 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005987/1.728, allocations: 1.374 MB / 0.7044 GB, free: 101.3 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008477/1.729, allocations: 417.2 kB / 0.7048 GB, free: 100.9 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001122/1.73, allocations: 93.62 kB / 0.7048 GB, free: 100.9 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004048/1.734, allocations: 1.382 MB / 0.7062 GB, free: 100.2 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003609/1.737, allocations: 1.562 MB / 0.7077 GB, free: 99.27 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.174e-05/1.737, allocations: 5.281 kB / 0.7077 GB, free: 99.27 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002342/1.738, allocations: 5.906 kB / 0.7077 GB, free: 99.27 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.849e-05/1.738, allocations: 34.19 kB / 0.7078 GB, free: 99.27 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01329/1.751, allocations: 7.191 MB / 0.7148 GB, free: 93.67 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001994/1.753, allocations: 1.088 MB / 0.7158 GB, free: 93.1 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001184/1.754, allocations: 0.8211 MB / 0.7166 GB, free: 92.27 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000195/1.755, allocations: 37.03 kB / 0.7167 GB, free: 92.25 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001608/1.756, allocations: 0.9867 MB / 0.7176 GB, free: 91.23 MB / 490.7 MB Notification: Performance of pre-optimization done (n=163): time 6.102e-06/1.756, allocations: 0 / 0.7176 GB, free: 91.23 MB / 490.7 MB Notification: Performance of matching and sorting (n=163): time 0.01655/1.773, allocations: 5.516 MB / 0.723 GB, free: 85.72 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001239/1.773, allocations: 304 kB / 0.7233 GB, free: 85.36 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002272/1.775, allocations: 1.36 MB / 0.7247 GB, free: 83.96 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004451/1.776, allocations: 25.7 kB / 0.7247 GB, free: 83.93 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002343/1.776, allocations: 0.5319 MB / 0.7252 GB, free: 83.39 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006363/1.777, allocations: 0.5464 MB / 0.7257 GB, free: 82.83 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001155/1.777, allocations: 0 / 0.7257 GB, free: 82.83 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.393e-05/1.777, allocations: 381.8 kB / 0.7261 GB, free: 82.45 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00117/1.778, allocations: 0.707 MB / 0.7268 GB, free: 81.75 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001278/1.779, allocations: 1.016 MB / 0.7278 GB, free: 80.62 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00137/1.781, allocations: 0.8102 MB / 0.7286 GB, free: 79.82 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/1.781, allocations: 0 / 0.7286 GB, free: 79.82 MB / 490.7 MB Notification: Performance of matching and sorting (n=229) (initialization): time 0.007072/1.788, allocations: 3.281 MB / 0.7318 GB, free: 76.52 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005061/1.788, allocations: 2.47 MB / 0.7342 GB, free: 73.87 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.629e-05/1.788, allocations: 4 kB / 0.7342 GB, free: 73.87 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01084/1.799, allocations: 3.201 MB / 0.7373 GB, free: 70.66 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001111/1.8, allocations: 211.6 kB / 0.7375 GB, free: 70.45 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008211/1.809, allocations: 5.724 MB / 0.7431 GB, free: 64.59 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003581/1.812, allocations: 310.7 kB / 0.7434 GB, free: 64.29 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006145/1.813, allocations: 68.3 kB / 0.7435 GB, free: 64.22 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.683e-05/1.813, allocations: 5.875 kB / 0.7435 GB, free: 64.22 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006764/1.82, allocations: 2.677 MB / 0.7461 GB, free: 61.54 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/1.82, allocations: 8 kB / 0.7461 GB, free: 61.53 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01006/1.83, allocations: 3.099 MB / 0.7491 GB, free: 58.42 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001075/1.831, allocations: 203.7 kB / 0.7493 GB, free: 58.22 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01077/1.842, allocations: 8.844 MB / 0.758 GB, free: 48.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003601/1.845, allocations: 258.6 kB / 0.7582 GB, free: 48.65 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004494/1.846, allocations: 68.05 kB / 0.7583 GB, free: 48.58 MB / 490.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: sT5B.K_r.y:VARIABLE() "Output signal connector" type: Real sT5B.imLimitedLeadLag.gain.y:VARIABLE() "Output signal connector" type: Real sT5B.VR0:VARIABLE(unit = "1" fixed = false protected = true ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: sT5B.imLimitedLeadLag4.gain.y:VARIABLE() "Output signal connector" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: sT5B.imLimitedLeadLag5.gain.y:VARIABLE() "Output signal connector" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: sT5B.imLimitedLeadLag1.gain.y:VARIABLE() "Output signal connector" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: sT5B.imLimitedLeadLag3.gain.y:VARIABLE() "Output signal connector" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,sT5B.imLimitedLeadLag5.integrator.local_reset,sT5B.imLimitedLeadLag4.integrator.local_reset,sT5B.imLimitedLeadLag3.integrator.local_reset,sT5B.imLimitedLeadLag1.integrator.local_reset,sT5B.imLimitedLeadLag2.integrator.local_reset,sT5B.imLimitedLeadLag.integrator.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (120): * Single equations (assignments): 115 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {1 4,1 4,1 4,1 4,36 58} Notification: Performance of prepare postOptimizeDAE: time 0.0009124/1.847, allocations: 151.6 kB / 0.7584 GB, free: 48.43 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00116/1.848, allocations: 209.4 kB / 0.7586 GB, free: 48.22 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01628/1.864, allocations: 5.572 MB / 0.764 GB, free: 42.65 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.033e-05/1.864, allocations: 16 kB / 0.7641 GB, free: 42.63 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/1.864, allocations: 3.984 kB / 0.7641 GB, free: 42.63 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.776e-05/1.864, allocations: 7.969 kB / 0.7641 GB, free: 42.62 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02197/1.886, allocations: 7.885 MB / 0.7718 GB, free: 34.69 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.951e-05/1.886, allocations: 4.031 kB / 0.7718 GB, free: 34.68 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001718/1.888, allocations: 255.7 kB / 0.772 GB, free: 34.43 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006743/1.895, allocations: 2.076 MB / 0.7741 GB, free: 32.36 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006866/1.896, allocations: 15.98 kB / 0.7741 GB, free: 32.34 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01795/1.914, allocations: 7.167 MB / 0.7811 GB, free: 25.08 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.031e-06/1.914, allocations: 0 / 0.7811 GB, free: 25.08 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0186/1.932, allocations: 6.82 MB / 0.7877 GB, free: 18.22 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02075/1.953, allocations: 8.333 MB / 0.7959 GB, free: 9.859 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00135/1.955, allocations: 326 kB / 0.7962 GB, free: 9.52 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001411/1.956, allocations: 4 kB / 0.7962 GB, free: 9.516 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00303/1.959, allocations: 219.8 kB / 0.7964 GB, free: 9.301 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007082/1.96, allocations: 177 kB / 0.7966 GB, free: 9.129 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000303/1.96, allocations: 43.98 kB / 0.7966 GB, free: 9.086 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.001947/1.962, allocations: 1.02 MB / 0.7976 GB, free: 8.043 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004742/1.967, allocations: 0.9001 MB / 0.7985 GB, free: 7.141 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 17 (gENCLS.omega,gENCLS.delta,gENCLS.eq,sT5B.imLimitedLeadLag.integrator.y,sT5B.imLimitedLeadLag2.integrator.y,sT5B.imLimitedLeadLag1.integrator.y,sT5B.imLimitedLeadLag3.integrator.y,sT5B.imLimitedLeadLag4.integrator.y,sT5B.imLimitedLeadLag5.integrator.y,sT5B.simpleLagLimVar.state,sT5B.TransducerDelay.state,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (120): * Single equations (assignments): 119 * 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 {26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006897/1.968, allocations: 180.5 kB / 0.7986 GB, free: 6.957 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0163/1.984, allocations: 5.415 MB / 0.8039 GB, free: 1.504 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.017e-06/1.984, allocations: 3.938 kB / 0.8039 GB, free: 1.5 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006758/1.991, allocations: 1.984 MB / 0.8059 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002585/1.993, allocations: 182.4 kB / 0.806 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0106/2.004, allocations: 3.248 MB / 0.8092 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00244/2.006, allocations: 1.637 MB / 0.8108 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of SimCode: time 1.413e-06/2.006, allocations: 0 / 0.8108 GB, free: 10.36 MB / 0.4948 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ST5B.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ST5B.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ST5B.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ST5B.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ST5B_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ST5B.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ST5B.pipe 2>&1)