Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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.ES.ST5B,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_ST5B",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ST5B,fileNamePrefix="OpenIPSL_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.002311/0.002311, allocations: 177.7 kB / 7.457 MB, free: 1.539 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.349/1.349, allocations: 221.4 MB / 229.3 MB, free: 8.41 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009868/0.0009864, allocations: 101.8 kB / 280.1 MB, free: 7.801 MB / 226.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4424/0.4424, allocations: 78.05 MB / 408.9 MB, free: 5.332 MB / 290.8 MB Notification: Performance of FrontEnd - loaded program: time 0.157/0.5994, allocations: 75.5 MB / 484.4 MB, free: 10.14 MB / 370.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3367/0.9361, allocations: 69.34 MB / 0.5408 GB, free: 15.59 MB / 370.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1439/1.08, allocations: 110.9 MB / 0.6492 GB, free: 484 kB / 466.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002773/1.08, allocations: 91.94 kB / 0.6492 GB, free: 392 kB / 466.8 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.4212/1.502, allocations: 54.69 MB / 0.7027 GB, free: 91.39 MB / 482.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/1.502, allocations: 15.98 kB / 0.7027 GB, free: 91.38 MB / 482.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003903/1.506, allocations: 0.6487 MB / 0.7033 GB, free: 90.72 MB / 482.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002485/1.508, allocations: 1.378 MB / 0.7047 GB, free: 89.34 MB / 482.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003488/1.508, allocations: 421.5 kB / 0.7051 GB, free: 88.86 MB / 482.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002468/1.509, allocations: 95.89 kB / 0.7051 GB, free: 88.76 MB / 482.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002413/1.511, allocations: 1.376 MB / 0.7065 GB, free: 87.38 MB / 482.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002302/1.513, allocations: 1.561 MB / 0.708 GB, free: 85.73 MB / 482.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.109e-05/1.513, allocations: 7.938 kB / 0.708 GB, free: 85.73 MB / 482.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001604/1.514, allocations: 4 kB / 0.708 GB, free: 85.72 MB / 482.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.711e-05/1.514, allocations: 39.91 kB / 0.7081 GB, free: 85.68 MB / 482.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01041/1.524, allocations: 7.182 MB / 0.7151 GB, free: 78.34 MB / 482.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001699/1.526, allocations: 1.092 MB / 0.7161 GB, free: 77.22 MB / 482.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001077/1.527, allocations: 0.8189 MB / 0.7169 GB, free: 76.4 MB / 482.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001555/1.527, allocations: 33.03 kB / 0.717 GB, free: 76.38 MB / 482.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001335/1.528, allocations: 0.9906 MB / 0.7179 GB, free: 75.36 MB / 482.8 MB Notification: Performance of pre-optimization done (n=163): time 2.986e-06/1.528, allocations: 3.938 kB / 0.7179 GB, free: 75.36 MB / 482.8 MB Notification: Performance of matching and sorting (n=163): time 0.01607/1.545, allocations: 5.52 MB / 0.7233 GB, free: 69.84 MB / 482.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001404/1.545, allocations: 308.1 kB / 0.7236 GB, free: 69.46 MB / 482.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002578/1.547, allocations: 1.364 MB / 0.725 GB, free: 68.06 MB / 482.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0004984/1.548, allocations: 25.7 kB / 0.725 GB, free: 68.03 MB / 482.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002755/1.548, allocations: 0.5202 MB / 0.7255 GB, free: 67.5 MB / 482.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006179/1.549, allocations: 0.5542 MB / 0.726 GB, free: 66.94 MB / 482.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001163/1.549, allocations: 0 / 0.726 GB, free: 66.94 MB / 482.8 MB Notification: Performance of setup shared object (initialization): time 8.654e-05/1.549, allocations: 377.8 kB / 0.7264 GB, free: 66.56 MB / 482.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001204/1.55, allocations: 0.707 MB / 0.7271 GB, free: 65.86 MB / 482.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001251/1.551, allocations: 1.016 MB / 0.7281 GB, free: 64.73 MB / 482.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001334/1.553, allocations: 0.8024 MB / 0.7289 GB, free: 63.93 MB / 482.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.383e-06/1.553, allocations: 4 kB / 0.7289 GB, free: 63.93 MB / 482.8 MB Notification: Performance of matching and sorting (n=229) (initialization): time 0.006861/1.56, allocations: 3.281 MB / 0.7321 GB, free: 60.63 MB / 482.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004248/1.56, allocations: 2.47 MB / 0.7345 GB, free: 57.99 MB / 482.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.602e-05/1.56, allocations: 12 kB / 0.7345 GB, free: 57.98 MB / 482.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01028/1.57, allocations: 3.199 MB / 0.7376 GB, free: 54.76 MB / 482.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001089/1.572, allocations: 203.7 kB / 0.7378 GB, free: 54.56 MB / 482.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008086/1.58, allocations: 5.739 MB / 0.7434 GB, free: 48.7 MB / 482.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002799/1.582, allocations: 306.6 kB / 0.7437 GB, free: 48.39 MB / 482.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001854/1.583, allocations: 68.05 kB / 0.7438 GB, free: 48.33 MB / 482.8 MB Notification: Performance of prepare postOptimizeDAE: time 9.698e-06/1.583, allocations: 4 kB / 0.7438 GB, free: 48.32 MB / 482.8 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005569/1.588, allocations: 2.68 MB / 0.7464 GB, free: 45.64 MB / 482.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.513e-05/1.588, allocations: 8 kB / 0.7464 GB, free: 45.63 MB / 482.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01001/1.598, allocations: 3.097 MB / 0.7494 GB, free: 42.52 MB / 482.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001034/1.599, allocations: 207.7 kB / 0.7496 GB, free: 42.32 MB / 482.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009716/1.609, allocations: 8.832 MB / 0.7583 GB, free: 33 MB / 482.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00273/1.612, allocations: 254.6 kB / 0.7585 GB, free: 32.75 MB / 482.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001913/1.612, allocations: 68.03 kB / 0.7586 GB, free: 32.68 MB / 482.8 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.0004838/1.613, allocations: 157.8 kB / 0.7587 GB, free: 32.52 MB / 482.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003898/1.613, allocations: 209.4 kB / 0.7589 GB, free: 32.32 MB / 482.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01522/1.628, allocations: 5.567 MB / 0.7643 GB, free: 26.74 MB / 482.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.097e-05/1.628, allocations: 19.98 kB / 0.7644 GB, free: 26.72 MB / 482.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.321e-06/1.628, allocations: 7.938 kB / 0.7644 GB, free: 26.71 MB / 482.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.825e-05/1.628, allocations: 7.969 kB / 0.7644 GB, free: 26.71 MB / 482.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01877/1.647, allocations: 7.894 MB / 0.7721 GB, free: 18.77 MB / 482.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.356e-05/1.647, allocations: 4 kB / 0.7721 GB, free: 18.77 MB / 482.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001582/1.649, allocations: 255.7 kB / 0.7723 GB, free: 18.52 MB / 482.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006375/1.655, allocations: 2.072 MB / 0.7744 GB, free: 16.45 MB / 482.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002808/1.655, allocations: 11.98 kB / 0.7744 GB, free: 16.43 MB / 482.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01639/1.672, allocations: 7.162 MB / 0.7814 GB, free: 9.148 MB / 482.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.133e-06/1.672, allocations: 7.984 kB / 0.7814 GB, free: 9.141 MB / 482.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01779/1.69, allocations: 6.815 MB / 0.788 GB, free: 2.293 MB / 482.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02088/1.711, allocations: 8.333 MB / 0.7962 GB, free: 9.93 MB / 498.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008211/1.711, allocations: 322.1 kB / 0.7965 GB, free: 9.594 MB / 498.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004022/1.712, allocations: 8 kB / 0.7965 GB, free: 9.586 MB / 498.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002147/1.714, allocations: 223.8 kB / 0.7967 GB, free: 9.367 MB / 498.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004533/1.714, allocations: 180.9 kB / 0.7969 GB, free: 9.191 MB / 498.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000154/1.715, allocations: 47.98 kB / 0.7969 GB, free: 9.145 MB / 498.8 MB Notification: Performance of sort global known variables: time 0.001631/1.716, allocations: 1.02 MB / 0.7979 GB, free: 8.102 MB / 498.8 MB Notification: Performance of remove unused functions: time 0.003779/1.72, allocations: 0.908 MB / 0.7988 GB, free: 7.191 MB / 498.8 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.0004171/1.72, allocations: 158.3 kB / 0.7989 GB, free: 7.027 MB / 498.8 MB Notification: Performance of simCode: created initialization part: time 0.01589/1.736, allocations: 5.427 MB / 0.8042 GB, free: 1.562 MB / 498.8 MB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/1.736, allocations: 0 / 0.8042 GB, free: 1.562 MB / 498.8 MB Notification: Performance of simCode: created simulation system equations: time 0.006145/1.743, allocations: 1.98 MB / 0.8062 GB, free: 15.57 MB / 0.5027 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001815/1.744, allocations: 178.6 kB / 0.8063 GB, free: 15.39 MB / 0.5027 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008162/1.753, allocations: 3.232 MB / 0.8095 GB, free: 12.12 MB / 0.5027 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001728/1.754, allocations: 1.637 MB / 0.8111 GB, free: 10.45 MB / 0.5027 GB Notification: Performance of SimCode: time 6.02e-07/1.754, allocations: 3.938 kB / 0.8111 GB, free: 10.45 MB / 0.5027 GB (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ST5B.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ST5B.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ST5B.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ST5B.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_ST5B_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_ST5B.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ST5B.pipe 2>&1)