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/ModelicaServices 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/Complex 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007754/0.007754, allocations: 103.8 kB / 15.73 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.305/1.305, allocations: 222.9 MB / 239.4 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001345/0.001345, allocations: 188.5 kB / 289.7 MB, free: 2.246 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4431/0.4431, allocations: 78.53 MB / 418.4 MB, free: 3.129 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001593/0.001593, allocations: 75.89 kB / 0.5532 GB, free: 1.457 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2862/0.2878, allocations: 68.17 MB / 0.6197 GB, free: 9.379 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A): time 0.007418/0.2952, allocations: 8.75 MB / 0.6283 GB, free: 1.41 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005555/0.3008, allocations: 2.848 MB / 0.6311 GB, free: 14.55 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001592/0.3024, allocations: 12 kB / 0.6311 GB, free: 14.54 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001301/0.3037, allocations: 345 kB / 0.6314 GB, free: 14.2 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004035/0.3079, allocations: 1.237 MB / 0.6326 GB, free: 12.96 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002361/0.3102, allocations: 0.8483 MB / 0.6334 GB, free: 12.12 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003982/0.3142, allocations: 2.572 MB / 0.6359 GB, free: 9.543 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009821/0.3152, allocations: 490.1 kB / 0.6364 GB, free: 9.027 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001906/0.3171, allocations: 0.9689 MB / 0.6374 GB, free: 8.051 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001916/0.3191, allocations: 1.217 MB / 0.6385 GB, free: 6.828 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006415/0.3197, allocations: 204 kB / 0.6387 GB, free: 6.629 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001214/0.321, allocations: 475.7 kB / 0.6392 GB, free: 6.164 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006902/0.3217, allocations: 0.4942 MB / 0.6397 GB, free: 5.668 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0013/0.323, allocations: 0.9945 MB / 0.6406 GB, free: 4.668 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003198/0.3262, allocations: 2.577 MB / 0.6432 GB, free: 2.082 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3262, allocations: 0 / 0.6432 GB, free: 2.082 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.147e-05/0.3262, allocations: 4 kB / 0.6432 GB, free: 2.078 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.356e-05/0.3263, allocations: 0 / 0.6432 GB, free: 2.078 MB / 446.1 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.01577/0.3421, allocations: 4.046 MB / 0.6471 GB, free: 13.97 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.3421, allocations: 12.03 kB / 0.6471 GB, free: 13.96 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003747/0.3425, allocations: 164.5 kB / 0.6473 GB, free: 13.79 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005153/0.3477, allocations: 0.7664 MB / 0.648 GB, free: 13.02 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003215/0.3509, allocations: 1.216 MB / 0.6492 GB, free: 11.75 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006002/0.3515, allocations: 462.5 kB / 0.6497 GB, free: 11.23 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000374/0.3519, allocations: 119.9 kB / 0.6498 GB, free: 11.11 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003626/0.3556, allocations: 1.527 MB / 0.6513 GB, free: 9.531 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.539e-05/0.3556, allocations: 0 / 0.6513 GB, free: 9.531 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001338/0.3557, allocations: 40 kB / 0.6513 GB, free: 9.492 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.151e-05/0.3558, allocations: 27.94 kB / 0.6513 GB, free: 9.465 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00342/0.3592, allocations: 1.425 MB / 0.6527 GB, free: 8.031 MB / 462.1 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.01007/0.3693, allocations: 5.379 MB / 0.658 GB, free: 2.418 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009082/0.3784, allocations: 3.068 MB / 0.661 GB, free: 15.21 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002129/0.3805, allocations: 0.9707 MB / 0.6619 GB, free: 14.24 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006218/0.3812, allocations: 0.7258 MB / 0.6626 GB, free: 13.34 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0025/0.3837, allocations: 1.124 MB / 0.6637 GB, free: 12.2 MB / 478.1 MB Notification: Performance of pre-optimization done (n=133): time 3.376e-06/0.3837, allocations: 0 / 0.6637 GB, free: 12.2 MB / 478.1 MB Notification: Performance of matching and sorting (n=133): time 0.04227/0.426, allocations: 9.76 MB / 0.6733 GB, free: 2.395 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.22e-05/0.4261, allocations: 116.1 kB / 0.6734 GB, free: 2.258 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00303/0.4292, allocations: 1.547 MB / 0.6749 GB, free: 0.7031 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003669/0.4296, allocations: 53.7 kB / 0.6749 GB, free: 0.6445 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005906/0.4301, allocations: 0.6438 MB / 0.6756 GB, free: 15.99 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006834/0.4308, allocations: 493 kB / 0.676 GB, free: 15.51 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009775/0.4318, allocations: 371.5 kB / 0.6764 GB, free: 15.14 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.432, allocations: 305.1 kB / 0.6767 GB, free: 14.84 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002504/0.4345, allocations: 1.046 MB / 0.6777 GB, free: 13.79 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002746/0.4372, allocations: 1.278 MB / 0.6789 GB, free: 12.44 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007665/0.4449, allocations: 2.22 MB / 0.6811 GB, free: 10.16 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.102e-05/0.445, allocations: 4 kB / 0.6811 GB, free: 10.16 MB / 494.1 MB Notification: Performance of matching and sorting (n=261) (initialization): time 0.01699/0.462, allocations: 3.835 MB / 0.6849 GB, free: 6.309 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.196e-05/0.4621, allocations: 11.94 kB / 0.6849 GB, free: 6.297 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.89e-05/0.4621, allocations: 4 kB / 0.6849 GB, free: 6.293 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01732/0.4795, allocations: 2.679 MB / 0.6875 GB, free: 3.609 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002566/0.4821, allocations: 363.5 kB / 0.6878 GB, free: 3.254 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007647/0.4898, allocations: 2.692 MB / 0.6905 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002663/0.4925, allocations: 270.2 kB / 0.6907 GB, free: 276 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000354/0.4928, allocations: 67.98 kB / 0.6908 GB, free: 208 kB / 494.1 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 ($whenCondition2,$whenCondition1,eSDC1A.rotatingExciterLimited.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (204): * Single equations (assignments): 202 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(30,26)} Notification: Performance of prepare postOptimizeDAE: time 0.0009269/0.4938, allocations: 329.3 kB / 0.6911 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005656/0.4944, allocations: 177.8 kB / 0.6913 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01745/0.5118, allocations: 4.946 MB / 0.6961 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.392e-05/0.5119, allocations: 12 kB / 0.6961 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.059e-05/0.5119, allocations: 4 kB / 0.6961 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-05/0.5119, allocations: 15.97 kB / 0.6961 GB, free: 10.7 MB / 0.4981 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.02158/0.5335, allocations: 7.108 MB / 0.7031 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.845e-05/0.5336, allocations: 7.938 kB / 0.7031 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001091/0.5347, allocations: 167.8 kB / 0.7032 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007909/0.5426, allocations: 2.134 MB / 0.7053 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003572/0.543, allocations: 35.98 kB / 0.7054 GB, free: 1.113 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02737/0.5704, allocations: 10.06 MB / 0.7152 GB, free: 6.902 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/0.5704, allocations: 3.984 kB / 0.7152 GB, free: 6.898 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02012/0.5906, allocations: 6.128 MB / 0.7212 GB, free: 0.7383 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006299/0.5912, allocations: 290.5 kB / 0.7215 GB, free: 444 kB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004488/0.5917, allocations: 28 kB / 0.7215 GB, free: 416 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00186/0.5936, allocations: 151.8 kB / 0.7216 GB, free: 264 kB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009118/0.5945, allocations: 273.4 kB / 0.7219 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001602/0.5947, allocations: 32 kB / 0.7219 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001824/0.5965, allocations: 1.032 MB / 0.7229 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.4e-07/0.5965, allocations: 0 / 0.7229 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001868/0.5984, allocations: 0.5698 MB / 0.7235 GB, free: 14.36 MB / 0.5294 GB 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(26,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.02001/0.6184, allocations: 6.738 MB / 0.7301 GB, free: 7.582 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.009638/0.6281, allocations: 3.045 MB / 0.733 GB, free: 4.523 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/0.6281, allocations: 0 / 0.733 GB, free: 4.523 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.006729/0.6349, allocations: 1.993 MB / 0.735 GB, free: 2.52 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001598/0.6365, allocations: 163.4 kB / 0.7351 GB, free: 2.363 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05731/0.6938, allocations: 21.9 MB / 0.7565 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009945/0.6949, allocations: 1.274 MB / 0.7578 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000797/0.6957, allocations: 162.8 kB / 0.7579 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001051/0.6967, allocations: 0.6633 MB / 0.7586 GB, free: 9.98 MB / 0.5606 GB Notification: Performance of SimCode: time 7.11e-07/0.6968, allocations: 0 / 0.7586 GB, free: 9.98 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3277/1.024, allocations: 48.53 MB / 0.806 GB, free: 113.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.54/15.56, allocations: 4 kB / 0.806 GB, free: 113.2 MB / 0.5606 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/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)