Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.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.ESDC2A,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_ESDC2A",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_ESDC2A",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.001495/0.001495, allocations: 172.5 kB / 7.647 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.349/1.349, allocations: 221.5 MB / 229.6 MB, free: 3.18 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.0008859/0.000886, allocations: 87.77 kB / 280.5 MB, free: 1.141 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4882/0.4882, allocations: 78.05 MB / 409.3 MB, free: 15.34 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.746e-05/1.747e-05, allocations: 4 kB / 485 MB, free: 3.949 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3947/0.3947, allocations: 69.36 MB / 0.5414 GB, free: 21.68 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1453/0.5401, allocations: 113.1 MB / 0.6519 GB, free: 7.387 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002727/0.5404, allocations: 91.94 kB / 0.6519 GB, free: 7.297 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5079/1.048, allocations: 47.96 MB / 0.6988 GB, free: 105 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.613e-06/1.048, allocations: 0 / 0.6988 GB, free: 105 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.811e-05/1.048, allocations: 30.34 kB / 0.6988 GB, free: 105 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: 270 * Number of variables: 270 Notification: Performance of Generate backend data structure: time 0.005337/1.054, allocations: 2.202 MB / 0.701 GB, free: 103.9 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/1.054, allocations: 10.22 kB / 0.701 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00298/1.057, allocations: 0.5794 MB / 0.7015 GB, free: 103.8 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001956/1.059, allocations: 1.102 MB / 0.7026 GB, free: 103.1 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003721/1.059, allocations: 432.2 kB / 0.703 GB, free: 102.7 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001814/1.059, allocations: 70.7 kB / 0.7031 GB, free: 102.7 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001927/1.061, allocations: 1.151 MB / 0.7042 GB, free: 102.2 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001925/1.063, allocations: 1.17 MB / 0.7054 GB, free: 101.7 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.323e-05/1.063, allocations: 0 / 0.7054 GB, free: 101.7 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001169/1.063, allocations: 3.781 kB / 0.7054 GB, free: 101.7 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.203e-05/1.063, allocations: 23.88 kB / 0.7054 GB, free: 101.7 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.00918/1.073, allocations: 5.232 MB / 0.7105 GB, free: 97.77 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007135/1.08, allocations: 3.209 MB / 0.7136 GB, free: 95.96 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001423/1.081, allocations: 0.7443 MB / 0.7144 GB, free: 95.21 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005114/1.082, allocations: 0.7294 MB / 0.7151 GB, free: 94.32 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001409/1.083, allocations: 0.8852 MB / 0.7159 GB, free: 93.41 MB / 490.7 MB Notification: Performance of pre-optimization done (n=134): time 4.579e-06/1.083, allocations: 0 / 0.7159 GB, free: 93.41 MB / 490.7 MB Notification: Performance of matching and sorting (n=134): time 0.01421/1.097, allocations: 4.956 MB / 0.7208 GB, free: 88.44 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.188e-05/1.098, allocations: 124.1 kB / 0.7209 GB, free: 88.3 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002134/1.1, allocations: 1.147 MB / 0.722 GB, free: 87.14 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004936/1.1, allocations: 29.69 kB / 0.722 GB, free: 87.11 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004614/1.101, allocations: 0.6907 MB / 0.7227 GB, free: 86.41 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000611/1.101, allocations: 465 kB / 0.7232 GB, free: 85.95 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.54e-05/1.101, allocations: 0 / 0.7232 GB, free: 85.95 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001183/1.101, allocations: 362 kB / 0.7235 GB, free: 85.59 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009235/1.102, allocations: 0.6133 MB / 0.7241 GB, free: 84.98 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009725/1.103, allocations: 0.7911 MB / 0.7249 GB, free: 84.14 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001195/1.105, allocations: 0.701 MB / 0.7256 GB, free: 83.44 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.708e-06/1.105, allocations: 4 kB / 0.7256 GB, free: 83.43 MB / 490.7 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.003878/1.109, allocations: 2.142 MB / 0.7277 GB, free: 81.28 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.78e-05/1.109, allocations: 8 kB / 0.7277 GB, free: 81.27 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.916e-05/1.109, allocations: 4 kB / 0.7277 GB, free: 81.27 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007256/1.116, allocations: 2.276 MB / 0.7299 GB, free: 78.99 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001275/1.117, allocations: 239.7 kB / 0.7301 GB, free: 78.75 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004433/1.122, allocations: 2.42 MB / 0.7325 GB, free: 76.31 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002854/1.125, allocations: 242.6 kB / 0.7327 GB, free: 76.07 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003729/1.125, allocations: 55.98 kB / 0.7328 GB, free: 76.02 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,eSDC2A.rotatingExciterLimited.sISO.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (128): * Single equations (assignments): 126 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {30 26} Notification: Performance of prepare postOptimizeDAE: time 0.0004468/1.125, allocations: 124.7 kB / 0.7329 GB, free: 75.89 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01427/1.14, allocations: 4.967 MB / 0.7377 GB, free: 70.91 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001307/1.141, allocations: 169.9 kB / 0.7379 GB, free: 70.74 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01617/1.157, allocations: 5.094 MB / 0.7429 GB, free: 65.64 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.756e-05/1.157, allocations: 12 kB / 0.7429 GB, free: 65.62 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.128e-05/1.157, allocations: 4 kB / 0.7429 GB, free: 65.62 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-05/1.157, allocations: 11.95 kB / 0.7429 GB, free: 65.61 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.01737/1.175, allocations: 7.182 MB / 0.7499 GB, free: 58.33 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.348e-05/1.175, allocations: 3.938 kB / 0.7499 GB, free: 58.33 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001138/1.176, allocations: 167.8 kB / 0.7501 GB, free: 58.16 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005865/1.182, allocations: 1.985 MB / 0.752 GB, free: 56.18 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003393/1.182, allocations: 23.94 kB / 0.752 GB, free: 56.16 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01663/1.199, allocations: 7.712 MB / 0.7596 GB, free: 48.32 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/1.199, allocations: 0 / 0.7596 GB, free: 48.32 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01688/1.216, allocations: 6.144 MB / 0.7656 GB, free: 42.14 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007515/1.217, allocations: 290.5 kB / 0.7659 GB, free: 41.84 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006464/1.217, allocations: 12 kB / 0.7659 GB, free: 41.82 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002195/1.22, allocations: 159.8 kB / 0.766 GB, free: 41.67 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009816/1.221, allocations: 273.2 kB / 0.7663 GB, free: 41.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002046/1.221, allocations: 35.98 kB / 0.7663 GB, free: 41.36 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001439/1.222, allocations: 0.8632 MB / 0.7672 GB, free: 40.5 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.7e-07/1.222, allocations: 0 / 0.7672 GB, free: 40.5 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001937/1.224, allocations: 0.4953 MB / 0.7676 GB, free: 40.01 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 14 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,eSDC2A.imDerivativeLag.x,eSDC2A.imLeadLag.TF.x_scaled[1],eSDC2A.rotatingExciterLimited.sISO.y,eSDC2A.TransducerDelay.state,eSDC2A.simpleLagLimVar.state) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 90 * 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.0163/1.24, allocations: 6.915 MB / 0.7744 GB, free: 33.05 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006828/1.247, allocations: 2.38 MB / 0.7767 GB, free: 30.67 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.255e-06/1.247, allocations: 0 / 0.7767 GB, free: 30.67 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005355/1.253, allocations: 1.886 MB / 0.7786 GB, free: 28.77 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001381/1.254, allocations: 113.5 kB / 0.7787 GB, free: 28.65 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006326/1.261, allocations: 2.85 MB / 0.7814 GB, free: 25.75 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006282/1.261, allocations: 1.313 MB / 0.7827 GB, free: 24.4 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0006635/1.262, allocations: 137.1 kB / 0.7829 GB, free: 24.27 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007419/1.263, allocations: 0.6516 MB / 0.7835 GB, free: 23.61 MB / 490.7 MB Notification: Performance of SimCode: time 1.222e-06/1.263, allocations: 0 / 0.7835 GB, free: 23.61 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07067/1.333, allocations: 37.39 MB / 0.82 GB, free: 2.293 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001968/1.334, allocations: 119.6 kB / 0.8201 GB, free: 2.098 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.628/4.962, allocations: 0 / 0.8201 GB, free: 2.098 MB / 0.4948 GB (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_ESDC2A_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_ESDC2A.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe 2>&1)