Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.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.ESDC2A,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ESDC2A",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ESDC2A",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.09249/0.09249, allocations: 12.6 MB / 28.1 MB, free: 252 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.001129/0.001129, allocations: 107.5 kB / 31.7 MB, free: 3.496 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.309/1.309, allocations: 205.1 MB / 240.3 MB, free: 12.42 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.001231/0.001231, allocations: 196.4 kB / 290.6 MB, free: 13.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4363/0.4363, allocations: 78.51 MB / 419.2 MB, free: 11.34 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.00284/0.00284, allocations: 139.8 kB / 499.9 MB, free: 10.72 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2885/0.2914, allocations: 68.11 MB / 0.5547 GB, free: 32.49 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A): time 0.008945/0.3004, allocations: 8.853 MB / 0.5633 GB, free: 25.95 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005562/0.306, allocations: 2.83 MB / 0.5661 GB, free: 23.61 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0016/0.3076, allocations: 14.28 kB / 0.5661 GB, free: 23.61 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009426/0.3086, allocations: 337.4 kB / 0.5664 GB, free: 23.33 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002977/0.3116, allocations: 1.246 MB / 0.5676 GB, free: 22.32 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001686/0.3133, allocations: 0.87 MB / 0.5685 GB, free: 21.67 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002923/0.3162, allocations: 2.572 MB / 0.571 GB, free: 20.14 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007782/0.317, allocations: 0.4888 MB / 0.5715 GB, free: 19.86 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001508/0.3186, allocations: 0.9801 MB / 0.5724 GB, free: 19.24 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001173/0.3197, allocations: 1.224 MB / 0.5736 GB, free: 18.38 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003183/0.3201, allocations: 205.2 kB / 0.5738 GB, free: 18.38 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009097/0.321, allocations: 483.4 kB / 0.5743 GB, free: 18.23 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003191/0.3213, allocations: 0.5038 MB / 0.5748 GB, free: 17.79 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006807/0.322, allocations: 0.9975 MB / 0.5758 GB, free: 17.01 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002362/0.3244, allocations: 2.567 MB / 0.5783 GB, free: 15.06 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.3244, allocations: 0 / 0.5783 GB, free: 15.06 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3244, allocations: 0 / 0.5783 GB, free: 15.06 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.072e-05/0.3244, allocations: 1.625 kB / 0.5783 GB, free: 15.06 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: 270 * Number of variables: 270 Notification: Performance of Generate backend data structure: time 0.01409/0.3385, allocations: 4.055 MB / 0.5822 GB, free: 11.2 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.019e-05/0.3386, allocations: 15.98 kB / 0.5822 GB, free: 11.18 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001935/0.3388, allocations: 172.7 kB / 0.5824 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004408/0.3432, allocations: 0.7625 MB / 0.5832 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002036/0.3453, allocations: 1.227 MB / 0.5843 GB, free: 8.961 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003441/0.3456, allocations: 466.5 kB / 0.5848 GB, free: 8.43 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001964/0.3458, allocations: 120 kB / 0.5849 GB, free: 8.312 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002609/0.3484, allocations: 1.547 MB / 0.5864 GB, free: 6.715 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.306e-05/0.3485, allocations: 0 / 0.5864 GB, free: 6.715 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001241/0.3486, allocations: 44 kB / 0.5865 GB, free: 6.672 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.438e-05/0.3486, allocations: 28 kB / 0.5865 GB, free: 6.645 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002723/0.3514, allocations: 1.441 MB / 0.5879 GB, free: 5.195 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.00809/0.3595, allocations: 5.461 MB / 0.5932 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008698/0.3682, allocations: 3.066 MB / 0.5962 GB, free: 12.3 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002328/0.3705, allocations: 0.9829 MB / 0.5972 GB, free: 11.3 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005776/0.3711, allocations: 0.7258 MB / 0.5979 GB, free: 10.41 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00238/0.3735, allocations: 1.133 MB / 0.599 GB, free: 9.258 MB / 414.1 MB Notification: Performance of pre-optimization done (n=134): time 2.945e-06/0.3736, allocations: 0 / 0.599 GB, free: 9.258 MB / 414.1 MB Notification: Performance of matching and sorting (n=134): time 0.04156/0.4151, allocations: 10.03 MB / 0.6088 GB, free: 15.19 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.661e-05/0.4152, allocations: 120.1 kB / 0.6089 GB, free: 15.04 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002513/0.4177, allocations: 1.539 MB / 0.6104 GB, free: 13.5 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004012/0.4182, allocations: 53.7 kB / 0.6105 GB, free: 13.44 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005026/0.4187, allocations: 0.6554 MB / 0.6111 GB, free: 12.78 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005889/0.4193, allocations: 493 kB / 0.6116 GB, free: 12.29 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006673/0.4199, allocations: 379.5 kB / 0.6119 GB, free: 11.91 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.361e-05/0.42, allocations: 301.1 kB / 0.6122 GB, free: 11.61 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002319/0.4224, allocations: 1.046 MB / 0.6132 GB, free: 10.56 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002478/0.4249, allocations: 1.278 MB / 0.6145 GB, free: 9.223 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004691/0.4296, allocations: 2.243 MB / 0.6167 GB, free: 6.926 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.334e-06/0.4296, allocations: 0 / 0.6167 GB, free: 6.926 MB / 430.1 MB Notification: Performance of matching and sorting (n=262) (initialization): time 0.0104/0.44, allocations: 3.999 MB / 0.6206 GB, free: 2.91 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.338e-05/0.44, allocations: 4 kB / 0.6206 GB, free: 2.906 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.38e-05/0.4401, allocations: 11.98 kB / 0.6206 GB, free: 2.895 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009453/0.4495, allocations: 2.687 MB / 0.6232 GB, free: 208 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001777/0.4514, allocations: 363.5 kB / 0.6236 GB, free: 15.85 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006422/0.4578, allocations: 2.696 MB / 0.6262 GB, free: 13.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00264/0.4605, allocations: 266.2 kB / 0.6265 GB, free: 12.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002461/0.4607, allocations: 71.97 kB / 0.6265 GB, free: 12.79 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: 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.0006883/0.4614, allocations: 325.4 kB / 0.6268 GB, free: 12.46 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003708/0.4618, allocations: 177.8 kB / 0.627 GB, free: 12.29 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0166/0.4784, allocations: 4.919 MB / 0.6318 GB, free: 7.355 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.33e-05/0.4785, allocations: 15.94 kB / 0.6318 GB, free: 7.34 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.528e-06/0.4785, allocations: 0 / 0.6318 GB, free: 7.34 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.564e-05/0.4785, allocations: 11.97 kB / 0.6318 GB, free: 7.328 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.02046/0.499, allocations: 7.156 MB / 0.6388 GB, free: 36 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.591e-05/0.4991, allocations: 0 / 0.6388 GB, free: 36 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00113/0.5002, allocations: 171.8 kB / 0.639 GB, free: 15.87 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007762/0.508, allocations: 2.142 MB / 0.6411 GB, free: 13.72 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003045/0.5083, allocations: 35.92 kB / 0.6411 GB, free: 13.68 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02696/0.5353, allocations: 10.07 MB / 0.6509 GB, free: 3.461 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.5353, allocations: 0 / 0.6509 GB, free: 3.461 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0198/0.5551, allocations: 6.162 MB / 0.657 GB, free: 13.27 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006956/0.5559, allocations: 290.5 kB / 0.6572 GB, free: 12.96 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005691/0.5565, allocations: 24 kB / 0.6573 GB, free: 12.94 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00205/0.5585, allocations: 143.8 kB / 0.6574 GB, free: 12.8 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009822/0.5595, allocations: 277.3 kB / 0.6577 GB, free: 12.53 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000202/0.5598, allocations: 35.98 kB / 0.6577 GB, free: 12.49 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001958/0.5617, allocations: 1.032 MB / 0.6587 GB, free: 11.46 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.5617, allocations: 0 / 0.6587 GB, free: 11.46 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002173/0.5639, allocations: 0.5737 MB / 0.6593 GB, free: 10.89 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 (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.01996/0.5839, allocations: 6.792 MB / 0.6659 GB, free: 4.055 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01069/0.5946, allocations: 3.08 MB / 0.6689 GB, free: 0.9766 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.593e-06/0.5947, allocations: 7.875 kB / 0.6689 GB, free: 0.9688 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006682/0.6014, allocations: 2.013 MB / 0.6709 GB, free: 14.94 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001398/0.6028, allocations: 148.2 kB / 0.671 GB, free: 14.79 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04917/0.652, allocations: 21.74 MB / 0.6923 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001119/0.6532, allocations: 1.282 MB / 0.6935 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0008956/0.6541, allocations: 158.9 kB / 0.6937 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001151/0.6552, allocations: 0.675 MB / 0.6943 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of SimCode: time 1.382e-06/0.6553, allocations: 4 kB / 0.6943 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2979/0.9532, allocations: 46.27 MB / 0.7395 GB, free: 140 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.79/12.74, allocations: 10.84 kB / 0.7395 GB, free: 140 MB / 0.5137 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.sim & python3 -m fmpy simulate --output-file OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A_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_ESDC2A.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe 2>&1)