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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001253/0.001253, allocations: 172.5 kB / 7.646 MB, free: 1.422 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.317/1.317, allocations: 221.5 MB / 229.6 MB, free: 3.133 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.001005/0.001004, allocations: 94.91 kB / 280.5 MB, free: 1.156 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4867/0.4867, allocations: 78.95 MB / 410.2 MB, free: 14.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.144e-05/2.137e-05, allocations: 0 / 486 MB, free: 3.164 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3586/0.3586, allocations: 69.51 MB / 0.5425 GB, free: 21.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1357/0.4944, allocations: 111.7 MB / 0.6516 GB, free: 8.066 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000259/0.4947, allocations: 87.95 kB / 0.6517 GB, free: 7.98 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4023/0.897, allocations: 50.19 MB / 0.7007 GB, free: 103.8 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.897, allocations: 0 / 0.7007 GB, free: 103.8 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000226/0.8972, allocations: 50.88 kB / 0.7007 GB, free: 103.8 MB / 490.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.007434/0.9047, allocations: 2.543 MB / 0.7032 GB, free: 102.5 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.9047, allocations: 11.69 kB / 0.7032 GB, free: 102.5 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004728/0.9095, allocations: 0.7949 MB / 0.704 GB, free: 102.1 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003493/0.913, allocations: 1.417 MB / 0.7054 GB, free: 101.1 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004601/0.9135, allocations: 416.9 kB / 0.7058 GB, free: 100.7 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005438/0.914, allocations: 92.23 kB / 0.7059 GB, free: 100.7 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00312/0.9172, allocations: 1.38 MB / 0.7072 GB, free: 100.1 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003289/0.9205, allocations: 1.569 MB / 0.7088 GB, free: 99.09 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.501e-05/0.9205, allocations: 3.938 kB / 0.7088 GB, free: 99.09 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002362/0.9208, allocations: 3.625 kB / 0.7088 GB, free: 99.09 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.276e-05/0.9208, allocations: 34.56 kB / 0.7088 GB, free: 99.09 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0126/0.9334, allocations: 7.286 MB / 0.7159 GB, free: 93.42 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007387/0.9408, allocations: 3.474 MB / 0.7193 GB, free: 89.9 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001199/0.942, allocations: 0.8344 MB / 0.7201 GB, free: 89.06 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001892/0.9423, allocations: 29.05 kB / 0.7201 GB, free: 89.04 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001566/0.9438, allocations: 1.006 MB / 0.7211 GB, free: 88.01 MB / 490.7 MB Notification: Performance of pre-optimization done (n=163): time 4.018e-06/0.9438, allocations: 4 kB / 0.7211 GB, free: 88.01 MB / 490.7 MB Notification: Performance of matching and sorting (n=163): time 0.0148/0.9587, allocations: 5.199 MB / 0.7262 GB, free: 82.79 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.295e-05/0.9588, allocations: 308 kB / 0.7265 GB, free: 82.42 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002612/0.9614, allocations: 1.423 MB / 0.7279 GB, free: 80.96 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003888/0.9618, allocations: 25.7 kB / 0.7279 GB, free: 80.93 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005746/0.9624, allocations: 0.8756 MB / 0.7288 GB, free: 80.05 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000697/0.9631, allocations: 0.5503 MB / 0.7293 GB, free: 79.49 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002459/0.9633, allocations: 0 / 0.7293 GB, free: 79.49 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.9635, allocations: 381.8 kB / 0.7297 GB, free: 79.11 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001227/0.9647, allocations: 0.6953 MB / 0.7304 GB, free: 78.41 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001345/0.9661, allocations: 1.012 MB / 0.7313 GB, free: 77.3 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001409/0.9675, allocations: 0.8024 MB / 0.7321 GB, free: 76.5 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.779e-06/0.9675, allocations: 4 kB / 0.7321 GB, free: 76.49 MB / 490.7 MB Notification: Performance of matching and sorting (n=229) (initialization): time 0.006677/0.9742, allocations: 3.203 MB / 0.7353 GB, free: 73.26 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003962/0.9746, allocations: 2.478 MB / 0.7377 GB, free: 70.61 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.672e-05/0.9746, allocations: 8 kB / 0.7377 GB, free: 70.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009326/0.984, allocations: 3.096 MB / 0.7407 GB, free: 67.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008616/0.9849, allocations: 207.7 kB / 0.7409 GB, free: 67.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007083/0.992, allocations: 5.549 MB / 0.7463 GB, free: 61.62 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002627/0.9946, allocations: 290.7 kB / 0.7466 GB, free: 61.34 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002741/0.9949, allocations: 67.98 kB / 0.7467 GB, free: 61.27 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.995, allocations: 4 kB / 0.7467 GB, free: 61.27 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005185/1, allocations: 2.63 MB / 0.7492 GB, free: 58.62 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.394e-05/1, allocations: 11.94 kB / 0.7493 GB, free: 58.61 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009161/1.009, allocations: 2.995 MB / 0.7522 GB, free: 55.61 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008755/1.01, allocations: 199.7 kB / 0.7524 GB, free: 55.41 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008817/1.019, allocations: 8.796 MB / 0.761 GB, free: 46.12 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002528/1.022, allocations: 238.7 kB / 0.7612 GB, free: 45.89 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003168/1.022, allocations: 63.98 kB / 0.7612 GB, free: 45.83 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.0007519/1.023, allocations: 152 kB / 0.7614 GB, free: 45.68 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01502/1.038, allocations: 5.206 MB / 0.7665 GB, free: 40.46 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001035/1.039, allocations: 209.5 kB / 0.7667 GB, free: 40.25 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01494/1.054, allocations: 5.278 MB / 0.7718 GB, free: 34.95 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.894e-05/1.054, allocations: 19.94 kB / 0.7718 GB, free: 34.93 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/1.054, allocations: 7.984 kB / 0.7719 GB, free: 34.93 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.125e-05/1.054, allocations: 11.97 kB / 0.7719 GB, free: 34.91 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01904/1.073, allocations: 7.769 MB / 0.7795 GB, free: 27.06 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.996e-05/1.073, allocations: 0 / 0.7795 GB, free: 27.06 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001465/1.075, allocations: 247.7 kB / 0.7797 GB, free: 26.82 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005879/1.081, allocations: 1.99 MB / 0.7816 GB, free: 24.82 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003864/1.081, allocations: 15.94 kB / 0.7816 GB, free: 24.81 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01587/1.097, allocations: 7.711 MB / 0.7892 GB, free: 16.98 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/1.097, allocations: 0 / 0.7892 GB, free: 16.98 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01694/1.114, allocations: 6.453 MB / 0.7955 GB, free: 10.48 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001006/1.115, allocations: 338.2 kB / 0.7958 GB, free: 10.12 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009136/1.116, allocations: 7.984 kB / 0.7958 GB, free: 10.12 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002523/1.118, allocations: 195.8 kB / 0.796 GB, free: 9.926 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009133/1.119, allocations: 285.2 kB / 0.7963 GB, free: 9.648 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002571/1.12, allocations: 47.98 kB / 0.7963 GB, free: 9.602 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001953/1.122, allocations: 1.074 MB / 0.7974 GB, free: 8.504 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.01e-07/1.122, allocations: 0 / 0.7974 GB, free: 8.504 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003912/1.125, allocations: 0.8962 MB / 0.7982 GB, free: 7.605 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.01671/1.142, allocations: 7.206 MB / 0.8053 GB, free: 368 kB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01618/1.158, allocations: 5.206 MB / 0.8104 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.193e-06/1.158, allocations: 0 / 0.8104 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.006238/1.165, allocations: 1.982 MB / 0.8123 GB, free: 9.117 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00186/1.167, allocations: 181 kB / 0.8125 GB, free: 8.938 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009028/1.176, allocations: 3.409 MB / 0.8158 GB, free: 5.461 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001489/1.177, allocations: 1.473 MB / 0.8172 GB, free: 3.957 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001909/1.179, allocations: 301.8 kB / 0.8175 GB, free: 3.656 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001136/1.18, allocations: 0.8156 MB / 0.8183 GB, free: 2.844 MB / 0.4948 GB Notification: Performance of SimCode: time 1.002e-06/1.18, allocations: 0 / 0.8183 GB, free: 2.844 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1075/1.288, allocations: 56.81 MB / 0.8738 GB, free: 10.1 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001852/1.288, allocations: 125.2 kB / 0.8739 GB, free: 9.906 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.092/5.38, allocations: 0 / 0.8739 GB, free: 9.906 MB / 0.5573 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)