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.0009507/0.0009505, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.259/1.259, allocations: 221.4 MB / 234.6 MB, free: 14.46 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008139/0.0008139, allocations: 99.34 kB / 285.6 MB, free: 13 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4427/0.4427, allocations: 78.03 MB / 414.5 MB, free: 10.87 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.067e-05/3.077e-05, allocations: 7.984 kB / 491.9 MB, free: 13.82 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3353/0.3353, allocations: 69.35 MB / 0.5481 GB, free: 20.12 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.136/0.4713, allocations: 113.8 MB / 0.6592 GB, free: 2.598 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002057/0.4716, allocations: 79.95 kB / 0.6593 GB, free: 2.52 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3991/0.8707, allocations: 48.5 MB / 0.7066 GB, free: 103.8 MB / 490.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.8707, allocations: 0 / 0.7066 GB, free: 103.8 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.173e-05/0.8708, allocations: 39.88 kB / 0.7067 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: 270 * Number of variables: 270 Notification: Performance of Generate backend data structure: time 0.00506/0.8758, allocations: 2.198 MB / 0.7088 GB, free: 101.6 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.8759, allocations: 15.97 kB / 0.7088 GB, free: 101.6 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002239/0.8761, allocations: 168.7 kB / 0.709 GB, free: 101.4 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002926/0.8791, allocations: 0.5741 MB / 0.7096 GB, free: 100.8 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001846/0.8809, allocations: 1.112 MB / 0.7106 GB, free: 99.69 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003515/0.8813, allocations: 474.5 kB / 0.7111 GB, free: 99.15 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001863/0.8815, allocations: 115.8 kB / 0.7112 GB, free: 99.04 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001967/0.8835, allocations: 1.325 MB / 0.7125 GB, free: 97.66 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.089e-05/0.8835, allocations: 3.984 kB / 0.7125 GB, free: 97.66 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001241/0.8836, allocations: 48 kB / 0.7126 GB, free: 97.61 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.805e-05/0.8836, allocations: 24 kB / 0.7126 GB, free: 97.59 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001828/0.8855, allocations: 1.207 MB / 0.7138 GB, free: 96.37 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.00784/0.8933, allocations: 5.43 MB / 0.7191 GB, free: 90.77 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007162/0.9005, allocations: 3.261 MB / 0.7222 GB, free: 87.37 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009473/0.9015, allocations: 0.7757 MB / 0.723 GB, free: 86.59 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003926/0.9019, allocations: 0.7379 MB / 0.7237 GB, free: 85.69 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001208/0.9031, allocations: 0.9228 MB / 0.7246 GB, free: 84.74 MB / 490.7 MB Notification: Performance of pre-optimization done (n=134): time 2.515e-06/0.9031, allocations: 4 kB / 0.7246 GB, free: 84.74 MB / 490.7 MB Notification: Performance of matching and sorting (n=134): time 0.01377/0.9169, allocations: 5.035 MB / 0.7295 GB, free: 79.69 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.863e-05/0.9169, allocations: 120.1 kB / 0.7297 GB, free: 79.55 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001792/0.9187, allocations: 1.266 MB / 0.7309 GB, free: 78.28 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001849/0.9189, allocations: 49.7 kB / 0.7309 GB, free: 78.22 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003681/0.9193, allocations: 0.6781 MB / 0.7316 GB, free: 77.54 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004023/0.9197, allocations: 484.3 kB / 0.7321 GB, free: 77.07 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001148/0.9198, allocations: 28 kB / 0.7321 GB, free: 77.04 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.324e-05/0.9199, allocations: 361.9 kB / 0.7324 GB, free: 76.68 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001038/0.9209, allocations: 0.6483 MB / 0.7331 GB, free: 76.04 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001075/0.922, allocations: 0.8325 MB / 0.7339 GB, free: 75.15 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001068/0.9231, allocations: 0.7243 MB / 0.7346 GB, free: 74.43 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.9231, allocations: 0 / 0.7346 GB, free: 74.43 MB / 490.7 MB Notification: Performance of matching and sorting (n=187) (initialization): time 0.003599/0.9267, allocations: 2.271 MB / 0.7368 GB, free: 72.15 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.9267, allocations: 8 kB / 0.7368 GB, free: 72.14 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.405e-05/0.9268, allocations: 4 kB / 0.7368 GB, free: 72.14 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007645/0.9344, allocations: 2.545 MB / 0.7393 GB, free: 69.59 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009995/0.9354, allocations: 243.7 kB / 0.7395 GB, free: 69.35 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003875/0.9393, allocations: 2.257 MB / 0.7417 GB, free: 67.06 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002054/0.9414, allocations: 282.6 kB / 0.742 GB, free: 66.78 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001672/0.9416, allocations: 51.98 kB / 0.7421 GB, free: 66.73 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 (130): * Single equations (assignments): 128 * 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.0003007/0.9419, allocations: 176.6 kB / 0.7422 GB, free: 66.55 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004468/0.9423, allocations: 181.8 kB / 0.7424 GB, free: 66.37 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01386/0.9562, allocations: 5.22 MB / 0.7475 GB, free: 61.14 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-05/0.9562, allocations: 15.95 kB / 0.7475 GB, free: 61.12 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/0.9563, allocations: 4 kB / 0.7475 GB, free: 61.12 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.24e-05/0.9563, allocations: 7.969 kB / 0.7475 GB, free: 61.11 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.01742/0.9737, allocations: 7.408 MB / 0.7548 GB, free: 53.61 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/0.9738, allocations: 3.938 kB / 0.7548 GB, free: 53.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000906/0.9747, allocations: 171.8 kB / 0.7549 GB, free: 53.43 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005821/0.9805, allocations: 2.017 MB / 0.7569 GB, free: 51.41 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001368/0.9807, allocations: 31.98 kB / 0.7569 GB, free: 51.38 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01575/0.9964, allocations: 7.846 MB / 0.7646 GB, free: 43.4 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.9964, allocations: 11.94 kB / 0.7646 GB, free: 43.39 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0156/1.012, allocations: 6.247 MB / 0.7707 GB, free: 37.1 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006243/1.013, allocations: 290.5 kB / 0.771 GB, free: 36.79 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005089/1.013, allocations: 28 kB / 0.771 GB, free: 36.77 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001912/1.015, allocations: 179.8 kB / 0.7712 GB, free: 36.59 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008677/1.016, allocations: 285.2 kB / 0.7714 GB, free: 36.31 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001637/1.016, allocations: 35.98 kB / 0.7715 GB, free: 36.27 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001416/1.018, allocations: 0.9731 MB / 0.7724 GB, free: 35.3 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.71e-07/1.018, allocations: 0 / 0.7724 GB, free: 35.3 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001602/1.019, allocations: 0.5384 MB / 0.773 GB, free: 34.77 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.01643/1.036, allocations: 7.033 MB / 0.7798 GB, free: 27.69 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006977/1.043, allocations: 2.471 MB / 0.7822 GB, free: 25.21 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/1.043, allocations: 3.938 kB / 0.7822 GB, free: 25.21 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00539/1.048, allocations: 1.939 MB / 0.7841 GB, free: 23.25 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001346/1.05, allocations: 133.7 kB / 0.7843 GB, free: 23.12 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006277/1.056, allocations: 2.971 MB / 0.7872 GB, free: 20.1 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006292/1.056, allocations: 1.316 MB / 0.7885 GB, free: 18.75 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0007148/1.057, allocations: 145.5 kB / 0.7886 GB, free: 18.61 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008075/1.058, allocations: 0.6633 MB / 0.7892 GB, free: 17.94 MB / 490.7 MB Notification: Performance of SimCode: time 6.51e-07/1.058, allocations: 4 kB / 0.7892 GB, free: 17.94 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06348/1.122, allocations: 40.25 MB / 0.8285 GB, free: 9.883 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000196/1.122, allocations: 157.1 kB / 0.8287 GB, free: 9.664 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.039/4.161, allocations: 0 / 0.8287 GB, free: 9.664 MB / 0.5105 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)