Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.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.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 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.ESDC2A,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESDC2A",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESDC2A",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.001028/0.001029, allocations: 98.69 kB / 15.05 MB, free: 1.105 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.299/1.299, allocations: 223.2 MB / 238.9 MB, free: 5.66 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.001383/0.001383, allocations: 189 kB / 290.2 MB, free: 2.359 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4771/0.4771, allocations: 79.44 MB / 420.7 MB, free: 3.973 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003798/0.0003801, allocations: 12 kB / 0.4891 GB, free: 5.5 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.348/0.3484, allocations: 69.51 MB / 0.557 GB, free: 37.38 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A): time 0.006608/0.355, allocations: 7.7 MB / 0.5645 GB, free: 36.79 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006016/0.3611, allocations: 2.798 MB / 0.5672 GB, free: 36.21 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001518/0.3627, allocations: 18.53 kB / 0.5672 GB, free: 36.2 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008418/0.3635, allocations: 231.4 kB / 0.5675 GB, free: 36.1 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002295/0.3658, allocations: 0.9197 MB / 0.5684 GB, free: 35.49 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001814/0.3676, allocations: 0.7514 MB / 0.5691 GB, free: 35.14 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002173/0.3698, allocations: 1.473 MB / 0.5705 GB, free: 34.34 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005741/0.3704, allocations: 401.1 kB / 0.5709 GB, free: 34.19 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000985/0.3714, allocations: 0.7998 MB / 0.5717 GB, free: 33.83 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009521/0.3724, allocations: 1.026 MB / 0.5727 GB, free: 33.39 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001787/0.3726, allocations: 94.62 kB / 0.5728 GB, free: 33.39 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006788/0.3732, allocations: 338 kB / 0.5731 GB, free: 33.32 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002663/0.3735, allocations: 370.3 kB / 0.5735 GB, free: 33.12 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002347/0.3738, allocations: 316.1 kB / 0.5738 GB, free: 32.91 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001336/0.3751, allocations: 1.875 MB / 0.5756 GB, free: 32.41 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.3751, allocations: 0 / 0.5756 GB, free: 32.41 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.3751, allocations: 0 / 0.5756 GB, free: 32.41 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.281e-05/0.3752, allocations: 0.9062 kB / 0.5756 GB, free: 32.41 MB / 430.1 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.01139/0.3865, allocations: 3.531 MB / 0.579 GB, free: 31.08 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.3866, allocations: 7.875 kB / 0.579 GB, free: 31.08 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000356/0.387, allocations: 168.8 kB / 0.5792 GB, free: 30.96 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004539/0.3915, allocations: 0.7769 MB / 0.58 GB, free: 30.79 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002041/0.3936, allocations: 1.166 MB / 0.5811 GB, free: 30.07 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003928/0.394, allocations: 483.5 kB / 0.5816 GB, free: 29.63 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000195/0.3942, allocations: 122 kB / 0.5817 GB, free: 29.59 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002891/0.3971, allocations: 1.615 MB / 0.5833 GB, free: 28.96 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.113e-05/0.3971, allocations: 5.188 kB / 0.5833 GB, free: 28.96 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001306/0.3972, allocations: 43.94 kB / 0.5833 GB, free: 28.93 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.926e-05/0.3973, allocations: 26.94 kB / 0.5833 GB, free: 28.93 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002825/0.4001, allocations: 1.523 MB / 0.5848 GB, free: 28.42 MB / 430.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.009053/0.4092, allocations: 5.666 MB / 0.5904 GB, free: 25.12 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009053/0.4182, allocations: 3.642 MB / 0.5939 GB, free: 23.82 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005335/0.4188, allocations: 0.733 MB / 0.5946 GB, free: 22.96 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002536/0.4213, allocations: 1.2 MB / 0.5958 GB, free: 22.54 MB / 430.1 MB Notification: Performance of pre-optimization done (n=134): time 5.3e-06/0.4214, allocations: 6.297 kB / 0.5958 GB, free: 22.53 MB / 430.1 MB Notification: Performance of matching and sorting (n=134): time 0.04647/0.4678, allocations: 12.2 MB / 0.6077 GB, free: 20.59 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.854e-05/0.468, allocations: 121.5 kB / 0.6078 GB, free: 20.46 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002688/0.4707, allocations: 1.532 MB / 0.6093 GB, free: 19.85 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003928/0.4711, allocations: 53.56 kB / 0.6094 GB, free: 19.8 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004655/0.4715, allocations: 0.6542 MB / 0.61 GB, free: 19.28 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005084/0.4721, allocations: 496.3 kB / 0.6105 GB, free: 18.88 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001251/0.4722, allocations: 40.12 kB / 0.6105 GB, free: 18.85 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.00011/0.4723, allocations: 378.9 kB / 0.6109 GB, free: 18.49 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002403/0.4747, allocations: 1.129 MB / 0.612 GB, free: 17.95 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002443/0.4772, allocations: 1.342 MB / 0.6133 GB, free: 17.19 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002475/0.4796, allocations: 1.219 MB / 0.6145 GB, free: 16.6 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.046e-05/0.4797, allocations: 5.375 kB / 0.6145 GB, free: 16.59 MB / 430.1 MB Notification: Performance of matching and sorting (n=262) (initialization): time 0.009594/0.4893, allocations: 4.386 MB / 0.6188 GB, free: 12.93 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.317e-05/0.4893, allocations: 8 kB / 0.6188 GB, free: 12.92 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.342e-05/0.4894, allocations: 4 kB / 0.6188 GB, free: 12.91 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0089/0.4983, allocations: 3.057 MB / 0.6218 GB, free: 9.852 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001663/0.4999, allocations: 364.8 kB / 0.6221 GB, free: 9.496 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00571/0.5057, allocations: 3.003 MB / 0.6251 GB, free: 6.469 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002468/0.5082, allocations: 314.1 kB / 0.6254 GB, free: 6.16 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001408/0.5083, allocations: 71.97 kB / 0.6254 GB, free: 6.09 MB / 430.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: 2 ($whenCondition1,eSDC2A.rotatingExciterLimited.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (205): * Single equations (assignments): 203 * 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.0006189/0.5089, allocations: 337.4 kB / 0.6258 GB, free: 5.75 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002377/0.5092, allocations: 169.8 kB / 0.6259 GB, free: 5.582 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01581/0.525, allocations: 5.955 MB / 0.6317 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.817e-05/0.525, allocations: 20.7 kB / 0.6318 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/0.5251, allocations: 3.953 kB / 0.6318 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.412e-05/0.5251, allocations: 7.969 kB / 0.6318 GB, free: 15.58 MB / 446.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 postOpt removeSimpleEquations (simulation): time 0.02096/0.5461, allocations: 8.258 MB / 0.6398 GB, free: 7.172 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-05/0.5461, allocations: 4.938 kB / 0.6398 GB, free: 7.168 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001077/0.5472, allocations: 167.7 kB / 0.64 GB, free: 7.004 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007882/0.5551, allocations: 2.51 MB / 0.6424 GB, free: 4.488 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002293/0.5553, allocations: 35.98 kB / 0.6425 GB, free: 4.453 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02555/0.5809, allocations: 10.89 MB / 0.6531 GB, free: 9.434 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.5809, allocations: 4 kB / 0.6531 GB, free: 9.43 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0203/0.6012, allocations: 7.321 MB / 0.6603 GB, free: 2.062 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007356/0.602, allocations: 290.5 kB / 0.6605 GB, free: 1.758 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002709/0.6023, allocations: 29.36 kB / 0.6606 GB, free: 1.73 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001664/0.604, allocations: 183.8 kB / 0.6607 GB, free: 1.551 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007642/0.6047, allocations: 273.3 kB / 0.661 GB, free: 1.281 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001024/0.6049, allocations: 39.98 kB / 0.661 GB, free: 1.242 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001502/0.6064, allocations: 1.021 MB / 0.662 GB, free: 232 kB / 462.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.6064, allocations: 0 / 0.662 GB, free: 232 kB / 462.1 MB Notification: Performance of remove unused functions: time 0.001574/0.608, allocations: 0.5699 MB / 0.6626 GB, free: 15.65 MB / 478.1 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 () * Number of clocked 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.02026/0.6282, allocations: 8.072 MB / 0.6705 GB, free: 7.535 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.009323/0.6376, allocations: 3.37 MB / 0.6738 GB, free: 4.168 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.103e-06/0.6376, allocations: 4 kB / 0.6738 GB, free: 4.164 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006488/0.6441, allocations: 2.248 MB / 0.676 GB, free: 1.902 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001123/0.6453, allocations: 138.3 kB / 0.6761 GB, free: 1.77 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008173/0.6534, allocations: 7.085 MB / 0.683 GB, free: 10.61 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007563/0.6542, allocations: 1.313 MB / 0.6843 GB, free: 9.262 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0006596/0.6549, allocations: 161.1 kB / 0.6845 GB, free: 9.102 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000863/0.6558, allocations: 0.6672 MB / 0.6851 GB, free: 8.438 MB / 494.1 MB Notification: Performance of SimCode: time 7.41e-07/0.6558, allocations: 0 / 0.6851 GB, free: 8.438 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0643/0.7201, allocations: 40.64 MB / 0.7248 GB, free: 124 kB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001849/0.7203, allocations: 195.3 kB / 0.725 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.077/3.797, allocations: 0 / 0.725 GB, free: 15.88 MB / 0.5294 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESDC2A_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESDC2A.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe 2>&1) Environment - environmentSimulation: