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.001279/0.001279, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.316/1.316, allocations: 222.9 MB / 239 MB, free: 4.691 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.001568/0.001568, allocations: 188.5 kB / 289.2 MB, free: 2.445 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4409/0.4409, allocations: 78.52 MB / 417.9 MB, free: 3.312 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001619/0.001619, allocations: 75.88 kB / 497 MB, free: 6.602 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1379, allocations: 68.17 MB / 0.552 GB, free: 2.387 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A): time 0.2415/0.3794, allocations: 9.072 MB / 0.5608 GB, free: 34.69 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005744/0.3852, allocations: 2.87 MB / 0.5636 GB, free: 33.94 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00198/0.3873, allocations: 17.53 kB / 0.5636 GB, free: 33.94 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001187/0.3885, allocations: 256.3 kB / 0.5639 GB, free: 33.93 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003493/0.392, allocations: 1.102 MB / 0.565 GB, free: 33.69 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001853/0.3939, allocations: 0.783 MB / 0.5657 GB, free: 33.62 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003134/0.397, allocations: 2.553 MB / 0.5682 GB, free: 33.17 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007243/0.3978, allocations: 492.4 kB / 0.5687 GB, free: 33.07 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001406/0.3992, allocations: 0.976 MB / 0.5696 GB, free: 32.82 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001092/0.4003, allocations: 1.208 MB / 0.5708 GB, free: 32.53 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002585/0.4005, allocations: 204.7 kB / 0.571 GB, free: 32.53 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007856/0.4013, allocations: 481.8 kB / 0.5715 GB, free: 32.51 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003265/0.4017, allocations: 0.4943 MB / 0.572 GB, free: 32.4 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007364/0.4024, allocations: 0.992 MB / 0.5729 GB, free: 32.05 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002241/0.4047, allocations: 2.551 MB / 0.5754 GB, free: 31.46 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.4047, allocations: 0 / 0.5754 GB, free: 31.46 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.205e-06/0.4047, allocations: 0.625 kB / 0.5754 GB, free: 31.46 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.598e-05/0.4047, allocations: 0 / 0.5754 GB, free: 31.46 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: 263 * Number of variables: 263 Notification: Performance of Generate backend data structure: time 0.01354/0.4183, allocations: 4.043 MB / 0.5794 GB, free: 29.88 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/0.4183, allocations: 14.88 kB / 0.5794 GB, free: 29.87 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000199/0.4185, allocations: 162.1 kB / 0.5795 GB, free: 29.76 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004488/0.423, allocations: 0.7747 MB / 0.5803 GB, free: 29.57 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001994/0.4251, allocations: 1.217 MB / 0.5815 GB, free: 28.8 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003814/0.4255, allocations: 460.4 kB / 0.5819 GB, free: 28.37 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000204/0.4257, allocations: 122.5 kB / 0.582 GB, free: 28.33 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003027/0.4287, allocations: 1.523 MB / 0.5835 GB, free: 27.71 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.451e-05/0.4287, allocations: 0 / 0.5835 GB, free: 27.71 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001249/0.4289, allocations: 42.8 kB / 0.5836 GB, free: 27.68 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.042e-05/0.4289, allocations: 28.5 kB / 0.5836 GB, free: 27.68 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002955/0.4319, allocations: 1.417 MB / 0.585 GB, free: 27.2 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.009008/0.4409, allocations: 5.416 MB / 0.5903 GB, free: 24.05 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008615/0.4495, allocations: 3.069 MB / 0.5933 GB, free: 22.82 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002394/0.452, allocations: 0.9664 MB / 0.5942 GB, free: 22.43 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004812/0.4525, allocations: 0.7354 MB / 0.5949 GB, free: 21.57 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002524/0.455, allocations: 1.12 MB / 0.596 GB, free: 21.15 MB / 430.1 MB Notification: Performance of pre-optimization done (n=133): time 3.607e-06/0.4551, allocations: 1.031 kB / 0.596 GB, free: 21.15 MB / 430.1 MB Notification: Performance of matching and sorting (n=133): time 0.04075/0.4958, allocations: 9.759 MB / 0.6055 GB, free: 19.36 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.114e-05/0.4959, allocations: 121.6 kB / 0.6057 GB, free: 19.23 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002355/0.4983, allocations: 1.54 MB / 0.6072 GB, free: 18.39 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003928/0.4987, allocations: 56.52 kB / 0.6072 GB, free: 18.33 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003729/0.4991, allocations: 0.6526 MB / 0.6079 GB, free: 17.75 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004186/0.4995, allocations: 488.8 kB / 0.6083 GB, free: 17.33 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006184/0.5001, allocations: 373.4 kB / 0.6087 GB, free: 17.11 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.28e-05/0.5002, allocations: 302.3 kB / 0.609 GB, free: 16.82 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002099/0.5023, allocations: 1.053 MB / 0.61 GB, free: 16.29 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00225/0.5045, allocations: 1.263 MB / 0.6112 GB, free: 15.55 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004175/0.5087, allocations: 2.228 MB / 0.6134 GB, free: 14.32 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.275e-06/0.5087, allocations: 1.312 kB / 0.6134 GB, free: 14.32 MB / 430.1 MB Notification: Performance of matching and sorting (n=261) (initialization): time 0.008709/0.5174, allocations: 3.83 MB / 0.6171 GB, free: 11.99 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.764e-05/0.5175, allocations: 17.09 kB / 0.6172 GB, free: 11.97 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.511e-05/0.5175, allocations: 4 kB / 0.6172 GB, free: 11.97 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008395/0.5259, allocations: 2.684 MB / 0.6198 GB, free: 9.277 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001717/0.5277, allocations: 359.5 kB / 0.6201 GB, free: 8.926 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005314/0.533, allocations: 2.695 MB / 0.6228 GB, free: 6.211 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00257/0.5356, allocations: 270.2 kB / 0.623 GB, free: 5.945 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001821/0.5358, allocations: 73.02 kB / 0.6231 GB, free: 5.875 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: 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.0006225/0.5365, allocations: 330.3 kB / 0.6234 GB, free: 5.543 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002952/0.5368, allocations: 177.8 kB / 0.6236 GB, free: 5.367 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01422/0.551, allocations: 4.952 MB / 0.6284 GB, free: 404 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.116e-05/0.5511, allocations: 12 kB / 0.6284 GB, free: 392 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.137e-05/0.5511, allocations: 4 kB / 0.6284 GB, free: 388 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.452e-05/0.5511, allocations: 3.984 kB / 0.6284 GB, free: 384 kB / 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 postOpt removeSimpleEquations (simulation): time 0.01921/0.5703, allocations: 7.125 MB / 0.6354 GB, free: 9.117 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-05/0.5704, allocations: 3.938 kB / 0.6354 GB, free: 9.113 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001125/0.5715, allocations: 171.8 kB / 0.6356 GB, free: 8.945 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007302/0.5789, allocations: 2.14 MB / 0.6376 GB, free: 6.801 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003042/0.5792, allocations: 33.69 kB / 0.6377 GB, free: 6.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02598/0.6052, allocations: 10.07 MB / 0.6475 GB, free: 12.55 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.74e-06/0.6052, allocations: 4.688 kB / 0.6475 GB, free: 12.55 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0199/0.6251, allocations: 6.119 MB / 0.6535 GB, free: 6.395 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000765/0.626, allocations: 290.5 kB / 0.6538 GB, free: 6.09 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006822/0.6267, allocations: 24 kB / 0.6538 GB, free: 6.066 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002117/0.6288, allocations: 151.8 kB / 0.6539 GB, free: 5.918 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001087/0.6299, allocations: 274 kB / 0.6542 GB, free: 5.652 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002448/0.6302, allocations: 43.98 kB / 0.6542 GB, free: 5.609 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002034/0.6322, allocations: 1.024 MB / 0.6552 GB, free: 4.59 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.6322, allocations: 0 / 0.6552 GB, free: 4.59 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002243/0.6345, allocations: 0.5659 MB / 0.6558 GB, free: 4.023 MB / 462.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,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.0196/0.6541, allocations: 6.744 MB / 0.6624 GB, free: 13.23 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01044/0.6646, allocations: 3.076 MB / 0.6654 GB, free: 10.16 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/0.6646, allocations: 3.938 kB / 0.6654 GB, free: 10.16 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007026/0.6717, allocations: 2.005 MB / 0.6673 GB, free: 8.145 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002197/0.6739, allocations: 164.2 kB / 0.6675 GB, free: 7.988 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06394/0.7379, allocations: 23.97 MB / 0.6909 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001219/0.7391, allocations: 1.278 MB / 0.6922 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001051/0.7402, allocations: 163.5 kB / 0.6923 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001194/0.7414, allocations: 0.6594 MB / 0.693 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of SimCode: time 6.61e-07/0.7414, allocations: 0 / 0.693 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07741/0.8188, allocations: 44.64 MB / 0.7366 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002368/0.8191, allocations: 203.5 kB / 0.7367 GB, free: 260 kB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.161/3.98, allocations: 0 / 0.7367 GB, free: 260 kB / 0.5294 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)