Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.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.ESDC2A,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_ESDC2A",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A,fileNamePrefix="OpenIPSL_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.001036/0.001036, 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.267/1.267, allocations: 222.9 MB / 239.2 MB, free: 4.582 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.001273/0.001273, allocations: 188.5 kB / 289.6 MB, free: 2.309 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4315/0.4315, allocations: 78.54 MB / 418.3 MB, free: 3.176 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001636/0.001636, allocations: 75.88 kB / 497.6 MB, free: 6.301 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1185, allocations: 68.18 MB / 0.5525 GB, free: 2.074 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A): time 0.2048/0.3233, allocations: 8.804 MB / 0.5611 GB, free: 34.98 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004899/0.3282, allocations: 2.851 MB / 0.5639 GB, free: 34.24 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001076/0.3293, allocations: 16.25 kB / 0.5639 GB, free: 34.24 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008296/0.3302, allocations: 340 kB / 0.5642 GB, free: 34.23 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002584/0.3328, allocations: 1.239 MB / 0.5654 GB, free: 33.76 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001725/0.3345, allocations: 0.8587 MB / 0.5662 GB, free: 33.68 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002097/0.3366, allocations: 2.577 MB / 0.5688 GB, free: 33.2 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006268/0.3373, allocations: 0.5016 MB / 0.5693 GB, free: 33.1 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009284/0.3382, allocations: 0.9796 MB / 0.5702 GB, free: 32.86 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009849/0.3392, allocations: 1.217 MB / 0.5714 GB, free: 32.57 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002831/0.3395, allocations: 203.2 kB / 0.5716 GB, free: 32.57 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006915/0.3402, allocations: 474.1 kB / 0.572 GB, free: 32.55 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000306/0.3405, allocations: 0.5082 MB / 0.5725 GB, free: 32.44 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006014/0.3411, allocations: 0.9958 MB / 0.5735 GB, free: 32.09 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001734/0.3429, allocations: 2.575 MB / 0.576 GB, free: 31.39 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3429, allocations: 0 / 0.576 GB, free: 31.39 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.3429, allocations: 2.844 kB / 0.576 GB, free: 31.39 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.46e-05/0.3429, allocations: 0 / 0.576 GB, free: 31.39 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.01356/0.3565, allocations: 4.058 MB / 0.58 GB, free: 29.81 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.3565, allocations: 8.312 kB / 0.58 GB, free: 29.81 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002009/0.3568, allocations: 171 kB / 0.5802 GB, free: 29.69 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004703/0.3615, allocations: 0.7686 MB / 0.5809 GB, free: 29.51 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001852/0.3633, allocations: 1.22 MB / 0.5821 GB, free: 28.73 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003819/0.3637, allocations: 463.6 kB / 0.5825 GB, free: 28.31 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001986/0.3639, allocations: 129.3 kB / 0.5827 GB, free: 28.26 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002903/0.3668, allocations: 1.543 MB / 0.5842 GB, free: 27.64 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.113e-05/0.3669, allocations: 4 kB / 0.5842 GB, free: 27.64 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001306/0.367, allocations: 49.16 kB / 0.5842 GB, free: 27.6 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.921e-05/0.3671, allocations: 25.69 kB / 0.5843 GB, free: 27.6 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003022/0.3701, allocations: 1.432 MB / 0.5857 GB, free: 27.11 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.008484/0.3786, allocations: 5.469 MB / 0.591 GB, free: 23.93 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008654/0.3873, allocations: 3.064 MB / 0.594 GB, free: 22.7 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002045/0.3893, allocations: 0.975 MB / 0.5949 GB, free: 22.32 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004261/0.3898, allocations: 0.7287 MB / 0.5957 GB, free: 21.46 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002385/0.3922, allocations: 1.133 MB / 0.5968 GB, free: 21.03 MB / 430.1 MB Notification: Performance of pre-optimization done (n=134): time 2.996e-06/0.3922, allocations: 1.031 kB / 0.5968 GB, free: 21.03 MB / 430.1 MB Notification: Performance of matching and sorting (n=134): time 0.0414/0.4336, allocations: 10.03 MB / 0.6066 GB, free: 18.77 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.718e-05/0.4337, allocations: 121.3 kB / 0.6067 GB, free: 18.64 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002408/0.4361, allocations: 1.536 MB / 0.6082 GB, free: 17.8 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003149/0.4364, allocations: 55.17 kB / 0.6082 GB, free: 17.75 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003635/0.4368, allocations: 0.6544 MB / 0.6089 GB, free: 17.17 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003957/0.4372, allocations: 491.1 kB / 0.6093 GB, free: 16.75 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006079/0.4378, allocations: 381.8 kB / 0.6097 GB, free: 16.52 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.533e-05/0.4379, allocations: 306.2 kB / 0.61 GB, free: 16.22 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002143/0.44, allocations: 1.054 MB / 0.611 GB, free: 15.69 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002263/0.4423, allocations: 1.271 MB / 0.6123 GB, free: 14.94 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004214/0.4465, allocations: 2.238 MB / 0.6144 GB, free: 13.7 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.123e-06/0.4465, allocations: 5.375 kB / 0.6144 GB, free: 13.7 MB / 430.1 MB Notification: Performance of matching and sorting (n=262) (initialization): time 0.009442/0.456, allocations: 3.999 MB / 0.6184 GB, free: 10.97 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.456, allocations: 5.594 kB / 0.6184 GB, free: 10.97 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.136e-05/0.456, allocations: 8 kB / 0.6184 GB, free: 10.96 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008562/0.4646, allocations: 2.685 MB / 0.621 GB, free: 8.27 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001555/0.4662, allocations: 359.5 kB / 0.6213 GB, free: 7.918 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005477/0.4717, allocations: 2.703 MB / 0.624 GB, free: 5.199 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002306/0.474, allocations: 266.2 kB / 0.6242 GB, free: 4.938 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001485/0.4741, allocations: 71.97 kB / 0.6243 GB, free: 4.867 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 (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.0005836/0.4747, allocations: 321.5 kB / 0.6246 GB, free: 4.543 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002632/0.475, allocations: 177.8 kB / 0.6248 GB, free: 4.367 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0148/0.4898, allocations: 4.916 MB / 0.6296 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.8e-05/0.4899, allocations: 17.44 kB / 0.6296 GB, free: 15.42 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.585e-06/0.4899, allocations: 0 / 0.6296 GB, free: 15.42 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.41e-05/0.4899, allocations: 11.98 kB / 0.6296 GB, free: 15.41 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.01928/0.5092, allocations: 7.16 MB / 0.6366 GB, free: 8.109 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.095e-05/0.5092, allocations: 1.875 kB / 0.6366 GB, free: 8.109 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009704/0.5102, allocations: 164.5 kB / 0.6367 GB, free: 7.949 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007372/0.5176, allocations: 2.146 MB / 0.6388 GB, free: 5.801 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000166/0.5178, allocations: 31.98 kB / 0.6389 GB, free: 5.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02566/0.5434, allocations: 10.06 MB / 0.6487 GB, free: 11.55 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.5435, allocations: 0 / 0.6487 GB, free: 11.55 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0197/0.5632, allocations: 6.165 MB / 0.6547 GB, free: 5.355 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006885/0.5639, allocations: 291.5 kB / 0.655 GB, free: 5.051 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005472/0.5645, allocations: 31.94 kB / 0.655 GB, free: 5.02 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001916/0.5664, allocations: 143.8 kB / 0.6552 GB, free: 4.879 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008608/0.5673, allocations: 273.4 kB / 0.6554 GB, free: 4.605 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001534/0.5674, allocations: 35.98 kB / 0.6555 GB, free: 4.57 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001721/0.5692, allocations: 1.032 MB / 0.6565 GB, free: 3.543 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.5692, allocations: 0 / 0.6565 GB, free: 3.543 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001702/0.5709, allocations: 0.566 MB / 0.657 GB, free: 2.977 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,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 (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.01976/0.5907, allocations: 6.79 MB / 0.6637 GB, free: 12.14 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01058/0.6013, allocations: 3.094 MB / 0.6667 GB, free: 9.059 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.283e-06/0.6013, allocations: 0 / 0.6667 GB, free: 9.059 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006867/0.6082, allocations: 2.007 MB / 0.6686 GB, free: 7.035 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001865/0.6101, allocations: 156.9 kB / 0.6688 GB, free: 6.883 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05058/0.6607, allocations: 21.76 MB / 0.69 GB, free: 48 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001033/0.6618, allocations: 1.274 MB / 0.6913 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0008042/0.6626, allocations: 159.5 kB / 0.6914 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001054/0.6637, allocations: 0.675 MB / 0.6921 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of SimCode: time 1.072e-06/0.6637, allocations: 0 / 0.6921 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07505/0.7388, allocations: 46.27 MB / 0.7373 GB, free: 15.9 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/12.22, allocations: 2.625 kB / 0.7373 GB, free: 15.9 MB / 0.545 GB (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_ESDC2A_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_ESDC2A.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe 2>&1)