Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.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.ESDC1A,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_ESDC1A",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_ESDC1A",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.001019/0.001019, 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.265/1.265, allocations: 221.4 MB / 234.6 MB, free: 14.43 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.0008391/0.0008391, allocations: 94.92 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4485/0.4485, allocations: 78.03 MB / 414.5 MB, free: 10.83 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.934e-05/2.936e-05, allocations: 0 / 491.9 MB, free: 13.79 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3131/0.3131, allocations: 69.35 MB / 0.5481 GB, free: 20.11 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1325/0.4457, allocations: 113.5 MB / 0.6589 GB, free: 2.848 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000243/0.446, allocations: 91.94 kB / 0.659 GB, free: 2.758 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3672/0.8132, allocations: 47.59 MB / 0.7055 GB, free: 104.5 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.8132, allocations: 0 / 0.7055 GB, free: 104.5 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.198e-05/0.8133, allocations: 26.47 kB / 0.7055 GB, free: 104.5 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: 263 * Number of variables: 263 Notification: Performance of Generate backend data structure: time 0.00532/0.8186, allocations: 2.214 MB / 0.7077 GB, free: 102.6 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.8187, allocations: 11.97 kB / 0.7077 GB, free: 102.6 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002102/0.8189, allocations: 164.5 kB / 0.7078 GB, free: 102.4 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002766/0.8217, allocations: 0.5776 MB / 0.7084 GB, free: 101.8 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001661/0.8233, allocations: 1.096 MB / 0.7095 GB, free: 100.7 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000323/0.8237, allocations: 474.3 kB / 0.7099 GB, free: 100.2 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001775/0.8239, allocations: 108 kB / 0.71 GB, free: 100.1 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001929/0.8258, allocations: 1.301 MB / 0.7113 GB, free: 98.7 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.034e-05/0.8258, allocations: 8 kB / 0.7113 GB, free: 98.69 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001207/0.826, allocations: 44 kB / 0.7113 GB, free: 98.65 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.41e-05/0.826, allocations: 24 kB / 0.7114 GB, free: 98.62 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001767/0.8278, allocations: 1.187 MB / 0.7125 GB, free: 97.43 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.007283/0.835, allocations: 5.394 MB / 0.7178 GB, free: 91.86 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006997/0.8421, allocations: 3.26 MB / 0.721 GB, free: 88.46 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009426/0.843, allocations: 0.7639 MB / 0.7217 GB, free: 87.7 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003789/0.8434, allocations: 0.7326 MB / 0.7224 GB, free: 86.8 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001192/0.8446, allocations: 0.9151 MB / 0.7233 GB, free: 85.86 MB / 490.7 MB Notification: Performance of pre-optimization done (n=133): time 2.625e-06/0.8446, allocations: 0 / 0.7233 GB, free: 85.86 MB / 490.7 MB Notification: Performance of matching and sorting (n=133): time 0.01328/0.8579, allocations: 5.003 MB / 0.7282 GB, free: 80.84 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.601e-05/0.858, allocations: 120.1 kB / 0.7283 GB, free: 80.7 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001701/0.8597, allocations: 1.262 MB / 0.7296 GB, free: 79.43 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000279/0.86, allocations: 57.64 kB / 0.7296 GB, free: 79.37 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003518/0.8603, allocations: 0.6776 MB / 0.7303 GB, free: 78.69 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003434/0.8607, allocations: 471.2 kB / 0.7307 GB, free: 78.23 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.117e-05/0.8608, allocations: 32 kB / 0.7308 GB, free: 78.2 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.697e-05/0.8608, allocations: 361.9 kB / 0.7311 GB, free: 77.84 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009791/0.8618, allocations: 0.6406 MB / 0.7317 GB, free: 77.2 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001022/0.8629, allocations: 0.823 MB / 0.7325 GB, free: 76.33 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00101/0.8639, allocations: 0.7165 MB / 0.7332 GB, free: 75.62 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.8639, allocations: 0 / 0.7332 GB, free: 75.62 MB / 490.7 MB Notification: Performance of matching and sorting (n=186) (initialization): time 0.003518/0.8674, allocations: 2.267 MB / 0.7354 GB, free: 73.34 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.8674, allocations: 8 kB / 0.7354 GB, free: 73.33 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.572e-05/0.8675, allocations: 7.953 kB / 0.7355 GB, free: 73.32 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007511/0.875, allocations: 2.553 MB / 0.7379 GB, free: 70.77 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001007/0.876, allocations: 243.6 kB / 0.7382 GB, free: 70.53 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003658/0.8797, allocations: 2.261 MB / 0.7404 GB, free: 68.23 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001871/0.8816, allocations: 278.5 kB / 0.7407 GB, free: 67.96 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001232/0.8817, allocations: 55.98 kB / 0.7407 GB, free: 67.91 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: 3 ($whenCondition1,$whenCondition2,eSDC1A.rotatingExciterLimited.sISO.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (129): * Single equations (assignments): 127 * 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.000256/0.882, allocations: 178.3 kB / 0.7409 GB, free: 67.73 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002684/0.8822, allocations: 173.8 kB / 0.741 GB, free: 67.55 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01363/0.8959, allocations: 5.213 MB / 0.7461 GB, free: 62.33 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.54e-05/0.8959, allocations: 12 kB / 0.7461 GB, free: 62.32 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.595e-06/0.8959, allocations: 4 kB / 0.7461 GB, free: 62.31 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.632e-05/0.896, allocations: 3.984 kB / 0.7462 GB, free: 62.31 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.01601/0.912, allocations: 7.358 MB / 0.7533 GB, free: 54.85 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-05/0.912, allocations: 8.031 kB / 0.7533 GB, free: 54.84 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009757/0.913, allocations: 167.7 kB / 0.7535 GB, free: 54.68 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005772/0.9188, allocations: 2.013 MB / 0.7555 GB, free: 52.66 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001427/0.9189, allocations: 31.98 kB / 0.7555 GB, free: 52.63 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01524/0.9342, allocations: 7.845 MB / 0.7632 GB, free: 44.66 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.9342, allocations: 4 kB / 0.7632 GB, free: 44.65 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01518/0.9494, allocations: 6.191 MB / 0.7692 GB, free: 38.42 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007289/0.9502, allocations: 290.5 kB / 0.7695 GB, free: 38.11 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002649/0.9505, allocations: 28 kB / 0.7695 GB, free: 38.09 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001612/0.9521, allocations: 195.8 kB / 0.7697 GB, free: 37.89 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007568/0.9528, allocations: 265.3 kB / 0.77 GB, free: 37.64 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001024/0.953, allocations: 43.98 kB / 0.77 GB, free: 37.59 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001153/0.9541, allocations: 0.9692 MB / 0.7709 GB, free: 36.63 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.9541, allocations: 0 / 0.7709 GB, free: 36.63 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001124/0.9553, allocations: 0.5423 MB / 0.7715 GB, free: 36.09 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,eSDC1A.imDerivativeLag.x,eSDC1A.imLeadLag.TF.x_scaled[1],eSDC1A.simpleLagLim.state,eSDC1A.rotatingExciterLimited.sISO.y,eSDC1A.TransducerDelay.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 89 * 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.01474/0.97, allocations: 6.969 MB / 0.7783 GB, free: 29.07 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006068/0.9761, allocations: 2.461 MB / 0.7807 GB, free: 26.61 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.9761, allocations: 0 / 0.7807 GB, free: 26.61 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004947/0.9811, allocations: 1.939 MB / 0.7826 GB, free: 24.65 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009742/0.9821, allocations: 140.4 kB / 0.7827 GB, free: 24.52 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004951/0.987, allocations: 2.943 MB / 0.7856 GB, free: 21.52 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005082/0.9876, allocations: 1.309 MB / 0.7869 GB, free: 20.17 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005506/0.9881, allocations: 149.4 kB / 0.787 GB, free: 20.02 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006857/0.9888, allocations: 0.6555 MB / 0.7876 GB, free: 19.37 MB / 490.7 MB Notification: Performance of SimCode: time 1.383e-06/0.9888, allocations: 0 / 0.7876 GB, free: 19.37 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05797/1.047, allocations: 40.13 MB / 0.8268 GB, free: 11.44 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001907/1.047, allocations: 165.1 kB / 0.827 GB, free: 11.21 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.05/4.097, allocations: 4 kB / 0.827 GB, free: 11.21 MB / 0.5105 GB (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_ESDC1A_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_ESDC1A.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.pipe 2>&1)