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.001438/0.001438, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.275/1.275, allocations: 222.9 MB / 239.3 MB, free: 4.602 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.001252/0.001252, allocations: 200.4 kB / 289.6 MB, free: 2.324 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4326/0.4326, allocations: 78.53 MB / 418.3 MB, free: 3.23 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001586/0.001586, allocations: 71.89 kB / 497.6 MB, free: 6.32 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1092, allocations: 68.18 MB / 0.5525 GB, free: 2.105 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A): time 0.1945/0.3037, allocations: 8.736 MB / 0.561 GB, free: 34.57 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004814/0.3086, allocations: 2.835 MB / 0.5638 GB, free: 33.84 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001218/0.3098, allocations: 16.56 kB / 0.5638 GB, free: 33.84 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009479/0.3108, allocations: 337.4 kB / 0.5641 GB, free: 33.83 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00305/0.3139, allocations: 1.248 MB / 0.5653 GB, free: 33.37 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001756/0.3157, allocations: 0.8513 MB / 0.5662 GB, free: 33.29 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002489/0.3182, allocations: 2.556 MB / 0.5687 GB, free: 32.81 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006146/0.3188, allocations: 489.9 kB / 0.5691 GB, free: 32.71 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001137/0.3199, allocations: 0.969 MB / 0.5701 GB, free: 32.48 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009922/0.3209, allocations: 1.208 MB / 0.5713 GB, free: 32.18 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002373/0.3212, allocations: 202.9 kB / 0.5715 GB, free: 32.18 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007253/0.3219, allocations: 474.8 kB / 0.5719 GB, free: 32.17 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003022/0.3222, allocations: 0.5025 MB / 0.5724 GB, free: 32.05 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006008/0.3228, allocations: 0.9849 MB / 0.5734 GB, free: 31.71 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001886/0.3247, allocations: 2.537 MB / 0.5758 GB, free: 31.11 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3247, allocations: 2.625 kB / 0.5758 GB, free: 31.11 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3247, allocations: 0 / 0.5758 GB, free: 31.11 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.485e-05/0.3248, allocations: 0 / 0.5758 GB, free: 31.11 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.01369/0.3385, allocations: 4.062 MB / 0.5798 GB, free: 29.53 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.3385, allocations: 8.156 kB / 0.5798 GB, free: 29.53 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001788/0.3387, allocations: 168.7 kB / 0.58 GB, free: 29.41 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004558/0.3433, allocations: 0.7691 MB / 0.5807 GB, free: 29.23 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002005/0.3453, allocations: 1.204 MB / 0.5819 GB, free: 28.46 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003583/0.3457, allocations: 465.6 kB / 0.5823 GB, free: 28.04 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002075/0.3459, allocations: 117.9 kB / 0.5825 GB, free: 28 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002972/0.3489, allocations: 1.525 MB / 0.5839 GB, free: 27.38 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.612e-05/0.3489, allocations: 4 kB / 0.5839 GB, free: 27.38 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001398/0.3491, allocations: 41.31 kB / 0.584 GB, free: 27.35 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.332e-05/0.3491, allocations: 24.72 kB / 0.584 GB, free: 27.35 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003042/0.3521, allocations: 1.419 MB / 0.5854 GB, free: 26.87 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.008693/0.3609, allocations: 5.425 MB / 0.5907 GB, free: 23.71 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008531/0.3694, allocations: 3.065 MB / 0.5937 GB, free: 22.48 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002301/0.3718, allocations: 0.9625 MB / 0.5946 GB, free: 22.1 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000451/0.3722, allocations: 0.7358 MB / 0.5953 GB, free: 21.24 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002417/0.3747, allocations: 1.116 MB / 0.5964 GB, free: 20.82 MB / 430.1 MB Notification: Performance of pre-optimization done (n=133): time 3.016e-06/0.3747, allocations: 0 / 0.5964 GB, free: 20.82 MB / 430.1 MB Notification: Performance of matching and sorting (n=133): time 0.04103/0.4157, allocations: 9.772 MB / 0.606 GB, free: 19.03 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.602e-05/0.4158, allocations: 116.6 kB / 0.6061 GB, free: 18.9 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002471/0.4183, allocations: 1.545 MB / 0.6076 GB, free: 18.06 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003799/0.4187, allocations: 52.17 kB / 0.6076 GB, free: 18.01 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003729/0.4191, allocations: 0.6479 MB / 0.6083 GB, free: 17.43 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004449/0.4195, allocations: 484.2 kB / 0.6087 GB, free: 17.02 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006359/0.4201, allocations: 373.1 kB / 0.6091 GB, free: 16.8 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.538e-05/0.4202, allocations: 301.1 kB / 0.6094 GB, free: 16.5 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002194/0.4224, allocations: 1.049 MB / 0.6104 GB, free: 15.97 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002318/0.4247, allocations: 1.269 MB / 0.6117 GB, free: 15.23 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004374/0.4291, allocations: 2.229 MB / 0.6138 GB, free: 14 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-05/0.4291, allocations: 1.625 kB / 0.6138 GB, free: 14 MB / 430.1 MB Notification: Performance of matching and sorting (n=261) (initialization): time 0.009122/0.4383, allocations: 3.833 MB / 0.6176 GB, free: 11.82 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.558e-05/0.4383, allocations: 11.94 kB / 0.6176 GB, free: 11.81 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.53e-05/0.4384, allocations: 4 kB / 0.6176 GB, free: 11.8 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00868/0.447, allocations: 2.689 MB / 0.6202 GB, free: 9.109 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001764/0.4489, allocations: 359.5 kB / 0.6206 GB, free: 8.758 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005728/0.4546, allocations: 2.702 MB / 0.6232 GB, free: 6.035 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002733/0.4574, allocations: 270.2 kB / 0.6235 GB, free: 5.77 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002772/0.4577, allocations: 67.98 kB / 0.6235 GB, free: 5.703 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.0007068/0.4584, allocations: 329.4 kB / 0.6238 GB, free: 5.371 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004154/0.4588, allocations: 177.8 kB / 0.624 GB, free: 5.195 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01489/0.4737, allocations: 4.946 MB / 0.6288 GB, free: 232 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.035e-05/0.4738, allocations: 17.48 kB / 0.6288 GB, free: 216 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.949e-06/0.4738, allocations: 4 kB / 0.6289 GB, free: 212 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.098e-05/0.4738, allocations: 4.5 kB / 0.6289 GB, free: 208 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.01973/0.4935, allocations: 7.121 MB / 0.6358 GB, free: 8.949 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-05/0.4936, allocations: 11.91 kB / 0.6358 GB, free: 8.938 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001064/0.4947, allocations: 165.8 kB / 0.636 GB, free: 8.777 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007422/0.5021, allocations: 2.143 MB / 0.6381 GB, free: 6.629 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000282/0.5024, allocations: 31.98 kB / 0.6381 GB, free: 6.598 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02613/0.5286, allocations: 10.06 MB / 0.6479 GB, free: 12.38 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.5286, allocations: 0.625 kB / 0.6479 GB, free: 12.38 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02141/0.55, allocations: 6.126 MB / 0.6539 GB, free: 6.223 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006868/0.5507, allocations: 290.5 kB / 0.6542 GB, free: 5.918 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000627/0.5514, allocations: 29.86 kB / 0.6542 GB, free: 5.891 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002038/0.5534, allocations: 151.8 kB / 0.6544 GB, free: 5.742 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009241/0.5544, allocations: 265.4 kB / 0.6546 GB, free: 5.484 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002018/0.5546, allocations: 43.98 kB / 0.6547 GB, free: 5.441 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001856/0.5565, allocations: 1.024 MB / 0.6557 GB, free: 4.422 MB / 462.1 MB Notification: Performance of sort global known variables: time 3e-07/0.5565, allocations: 0 / 0.6557 GB, free: 4.422 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001938/0.5584, allocations: 0.5659 MB / 0.6562 GB, free: 3.855 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.01967/0.5781, allocations: 6.75 MB / 0.6628 GB, free: 13.06 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01038/0.5885, allocations: 3.078 MB / 0.6658 GB, free: 9.988 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/0.5886, allocations: 0 / 0.6658 GB, free: 9.988 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006703/0.5953, allocations: 2.005 MB / 0.6678 GB, free: 7.973 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001887/0.5972, allocations: 163.2 kB / 0.6679 GB, free: 7.816 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05987/0.6571, allocations: 23.45 MB / 0.6908 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001013/0.6581, allocations: 1.274 MB / 0.6921 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0009184/0.6591, allocations: 165.3 kB / 0.6922 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001136/0.6602, allocations: 0.6594 MB / 0.6929 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of SimCode: time 6.01e-07/0.6602, allocations: 0 / 0.6929 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08282/0.7431, allocations: 46.13 MB / 0.7379 GB, free: 15.31 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/12.18, allocations: 10.77 kB / 0.7379 GB, free: 15.3 MB / 0.545 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)