Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) 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 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ESDC1A",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ESDC1A",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08149/0.08149, allocations: 12.6 MB / 28.1 MB, free: 256 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 107.5 kB / 31.7 MB, free: 3.492 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.321/1.321, allocations: 205.1 MB / 240.3 MB, free: 12.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001314/0.001314, allocations: 192.5 kB / 290.5 MB, free: 13.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4266/0.4266, allocations: 78.51 MB / 419.2 MB, free: 11.32 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002935/0.002935, allocations: 136.5 kB / 499.9 MB, free: 10.71 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2889/0.2919, allocations: 68.12 MB / 0.5547 GB, free: 32.74 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A): time 0.009204/0.3011, allocations: 8.783 MB / 0.5633 GB, free: 26.26 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006639/0.3078, allocations: 2.825 MB / 0.566 GB, free: 23.92 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002169/0.3101, allocations: 18.06 kB / 0.566 GB, free: 23.92 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001359/0.3115, allocations: 333.7 kB / 0.5664 GB, free: 23.64 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003956/0.3154, allocations: 1.234 MB / 0.5676 GB, free: 22.65 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002122/0.3176, allocations: 0.8531 MB / 0.5684 GB, free: 22.01 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003375/0.321, allocations: 2.554 MB / 0.5709 GB, free: 20.5 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008946/0.3219, allocations: 490.8 kB / 0.5714 GB, free: 20.21 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001491/0.3234, allocations: 0.9654 MB / 0.5723 GB, free: 19.61 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001666/0.325, allocations: 1.214 MB / 0.5735 GB, free: 18.75 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007111/0.3258, allocations: 202.4 kB / 0.5737 GB, free: 18.75 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00126/0.327, allocations: 474.1 kB / 0.5741 GB, free: 18.61 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006217/0.3277, allocations: 0.5016 MB / 0.5746 GB, free: 18.17 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001134/0.3288, allocations: 0.9888 MB / 0.5756 GB, free: 17.4 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002258/0.3311, allocations: 2.542 MB / 0.5781 GB, free: 15.47 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.3311, allocations: 0 / 0.5781 GB, free: 15.47 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3311, allocations: 0 / 0.5781 GB, free: 15.47 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.681e-05/0.3311, allocations: 1.344 kB / 0.5781 GB, free: 15.47 MB / 398.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.01355/0.3447, allocations: 4.051 MB / 0.582 GB, free: 11.4 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.3448, allocations: 15.97 kB / 0.582 GB, free: 11.39 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001729/0.3449, allocations: 164.5 kB / 0.5822 GB, free: 11.21 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004385/0.3493, allocations: 0.7664 MB / 0.583 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001778/0.3511, allocations: 1.215 MB / 0.5841 GB, free: 9.18 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003489/0.3515, allocations: 462.2 kB / 0.5846 GB, free: 8.652 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001869/0.3517, allocations: 123.9 kB / 0.5847 GB, free: 8.531 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002768/0.3545, allocations: 1.519 MB / 0.5862 GB, free: 6.961 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.152e-05/0.3545, allocations: 7.938 kB / 0.5862 GB, free: 6.953 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001422/0.3547, allocations: 47.98 kB / 0.5862 GB, free: 6.906 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.546e-05/0.3547, allocations: 24 kB / 0.5863 GB, free: 6.883 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002755/0.3574, allocations: 1.417 MB / 0.5876 GB, free: 5.457 MB / 398.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.008289/0.3657, allocations: 5.422 MB / 0.5929 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008947/0.3747, allocations: 3.066 MB / 0.5959 GB, free: 12.6 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002417/0.3772, allocations: 0.9673 MB / 0.5969 GB, free: 11.62 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006915/0.3779, allocations: 0.7335 MB / 0.5976 GB, free: 10.72 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002852/0.3808, allocations: 1.118 MB / 0.5987 GB, free: 9.582 MB / 414.1 MB Notification: Performance of pre-optimization done (n=133): time 4.698e-06/0.3808, allocations: 7.938 kB / 0.5987 GB, free: 9.574 MB / 414.1 MB Notification: Performance of matching and sorting (n=133): time 0.04217/0.423, allocations: 9.756 MB / 0.6082 GB, free: 15.78 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.537e-05/0.4231, allocations: 124.1 kB / 0.6083 GB, free: 15.63 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003178/0.4263, allocations: 1.539 MB / 0.6098 GB, free: 14.09 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003878/0.4267, allocations: 53.64 kB / 0.6099 GB, free: 14.03 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006345/0.4274, allocations: 0.6476 MB / 0.6105 GB, free: 13.38 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007757/0.4282, allocations: 485.2 kB / 0.611 GB, free: 12.89 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001266/0.4294, allocations: 379.5 kB / 0.6113 GB, free: 12.52 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001065/0.4295, allocations: 301.1 kB / 0.6116 GB, free: 12.22 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002606/0.4322, allocations: 1.039 MB / 0.6127 GB, free: 11.18 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002815/0.435, allocations: 1.274 MB / 0.6139 GB, free: 9.84 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005108/0.4401, allocations: 2.235 MB / 0.6161 GB, free: 7.547 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.04e-05/0.4401, allocations: 0 / 0.6161 GB, free: 7.547 MB / 430.1 MB Notification: Performance of matching and sorting (n=261) (initialization): time 0.01058/0.4507, allocations: 3.832 MB / 0.6198 GB, free: 3.699 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.014e-05/0.4508, allocations: 7.938 kB / 0.6198 GB, free: 3.691 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.909e-05/0.4508, allocations: 4 kB / 0.6198 GB, free: 3.688 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009825/0.4607, allocations: 2.687 MB / 0.6225 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001831/0.4626, allocations: 351.5 kB / 0.6228 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006714/0.4693, allocations: 2.7 MB / 0.6254 GB, free: 13.92 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003025/0.4723, allocations: 274.1 kB / 0.6257 GB, free: 13.65 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003635/0.4727, allocations: 67.98 kB / 0.6258 GB, free: 13.59 MB / 446.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.0009748/0.4737, allocations: 333.5 kB / 0.6261 GB, free: 13.25 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005828/0.4743, allocations: 173.8 kB / 0.6262 GB, free: 13.08 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01703/0.4914, allocations: 4.95 MB / 0.6311 GB, free: 8.113 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-05/0.4914, allocations: 12 kB / 0.6311 GB, free: 8.102 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.239e-05/0.4915, allocations: 7.984 kB / 0.6311 GB, free: 8.094 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.483e-05/0.4915, allocations: 3.984 kB / 0.6311 GB, free: 8.09 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.02192/0.5134, allocations: 7.129 MB / 0.6381 GB, free: 0.8281 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.782e-05/0.5135, allocations: 3.938 kB / 0.6381 GB, free: 0.8242 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001098/0.5146, allocations: 159.8 kB / 0.6382 GB, free: 0.668 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00779/0.5224, allocations: 2.15 MB / 0.6403 GB, free: 14.52 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003698/0.5228, allocations: 31.98 kB / 0.6403 GB, free: 14.48 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02636/0.5492, allocations: 10.07 MB / 0.6502 GB, free: 4.262 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.5492, allocations: 7.938 kB / 0.6502 GB, free: 4.254 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02004/0.5693, allocations: 6.123 MB / 0.6562 GB, free: 14.1 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007367/0.5701, allocations: 294.5 kB / 0.6564 GB, free: 13.79 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006255/0.5707, allocations: 27.94 kB / 0.6565 GB, free: 13.77 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002156/0.5729, allocations: 151.8 kB / 0.6566 GB, free: 13.62 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001014/0.5739, allocations: 265.4 kB / 0.6569 GB, free: 13.36 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002158/0.5741, allocations: 43.98 kB / 0.6569 GB, free: 13.31 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001964/0.5761, allocations: 1.028 MB / 0.6579 GB, free: 12.29 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.5761, allocations: 4 kB / 0.6579 GB, free: 12.29 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002195/0.5783, allocations: 0.5659 MB / 0.6585 GB, free: 11.72 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,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.02038/0.5987, allocations: 6.742 MB / 0.665 GB, free: 4.938 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01071/0.6095, allocations: 3.087 MB / 0.6681 GB, free: 1.852 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.002e-06/0.6095, allocations: 4 kB / 0.6681 GB, free: 1.848 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006937/0.6165, allocations: 1.99 MB / 0.67 GB, free: 15.84 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002071/0.6186, allocations: 156.2 kB / 0.6702 GB, free: 15.69 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05963/0.6782, allocations: 23.44 MB / 0.6931 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001038/0.6793, allocations: 1.274 MB / 0.6943 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0009175/0.6802, allocations: 158.8 kB / 0.6945 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001038/0.6813, allocations: 0.6594 MB / 0.6951 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of SimCode: time 9.42e-07/0.6813, allocations: 4 kB / 0.6951 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.293/0.9743, allocations: 46.14 MB / 0.7402 GB, free: 139.6 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.82/12.79, allocations: 9.609 kB / 0.7402 GB, free: 139.6 MB / 0.5137 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.sim & python3 -m fmpy simulate --output-file OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ESDC1A.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.pipe 2>&1)