Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXAC1.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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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.EXAC1,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_EXAC1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.EXAC1,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_EXAC1",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.001416/0.001416, 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.478/1.478, allocations: 222.9 MB / 239.3 MB, free: 4.656 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.001653/0.001653, allocations: 192.4 kB / 289.6 MB, free: 2.379 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5519/0.5519, allocations: 91.9 MB / 431.6 MB, free: 9.336 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001761/0.001761, allocations: 83.86 kB / 0.502 GB, free: 7.684 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4139/0.4156, allocations: 71.26 MB / 0.5716 GB, free: 36.61 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.EXAC1): time 0.00927/0.425, allocations: 8.978 MB / 0.5803 GB, free: 31.07 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006233/0.4313, allocations: 2.871 MB / 0.5831 GB, free: 29.05 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001988/0.4333, allocations: 15.22 kB / 0.5832 GB, free: 29.05 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001346/0.4347, allocations: 346.2 kB / 0.5835 GB, free: 28.86 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003562/0.4383, allocations: 1.035 MB / 0.5845 GB, free: 28.17 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002242/0.4405, allocations: 0.9756 MB / 0.5855 GB, free: 27.68 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003121/0.4437, allocations: 2.478 MB / 0.5879 GB, free: 26.45 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007674/0.4445, allocations: 0.5229 MB / 0.5884 GB, free: 26.18 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001479/0.4459, allocations: 0.9873 MB / 0.5893 GB, free: 25.68 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001517/0.4475, allocations: 1.219 MB / 0.5905 GB, free: 25.08 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004161/0.4479, allocations: 214.4 kB / 0.5907 GB, free: 25.08 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001076/0.449, allocations: 498 kB / 0.5912 GB, free: 24.99 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003749/0.4494, allocations: 0.506 MB / 0.5917 GB, free: 24.66 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008184/0.4502, allocations: 1.019 MB / 0.5927 GB, free: 23.96 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0027/0.4529, allocations: 2.64 MB / 0.5953 GB, free: 22.82 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.4529, allocations: 0 / 0.5953 GB, free: 22.82 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.4529, allocations: 3.938 kB / 0.5953 GB, free: 22.81 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.735e-05/0.453, allocations: 0 / 0.5953 GB, free: 22.81 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: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.01434/0.4673, allocations: 3.812 MB / 0.599 GB, free: 21.21 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.57e-05/0.4674, allocations: 10.25 kB / 0.599 GB, free: 21.21 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000248/0.4677, allocations: 176.2 kB / 0.5992 GB, free: 21.09 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004888/0.4726, allocations: 0.7714 MB / 0.5999 GB, free: 20.91 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002504/0.4751, allocations: 1.246 MB / 0.6012 GB, free: 20.11 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004972/0.4756, allocations: 499.8 kB / 0.6016 GB, free: 19.65 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002526/0.4759, allocations: 122.5 kB / 0.6018 GB, free: 19.61 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003587/0.4795, allocations: 1.585 MB / 0.6033 GB, free: 18.97 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.469e-05/0.4795, allocations: 5.344 kB / 0.6033 GB, free: 18.97 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001332/0.4796, allocations: 45.06 kB / 0.6033 GB, free: 18.93 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.595e-05/0.4797, allocations: 27.31 kB / 0.6034 GB, free: 18.93 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003699/0.4834, allocations: 1.481 MB / 0.6048 GB, free: 18.43 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.01113/0.4945, allocations: 5.531 MB / 0.6102 GB, free: 15.26 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009294/0.5038, allocations: 3.143 MB / 0.6133 GB, free: 13.98 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002776/0.5067, allocations: 0.9852 MB / 0.6143 GB, free: 13.59 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005517/0.5072, allocations: 0.7324 MB / 0.615 GB, free: 12.73 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002782/0.51, allocations: 1.146 MB / 0.6161 GB, free: 12.3 MB / 430.1 MB Notification: Performance of pre-optimization done (n=136): time 3.667e-06/0.51, allocations: 0 / 0.6161 GB, free: 12.3 MB / 430.1 MB Notification: Performance of matching and sorting (n=136): time 0.04163/0.5517, allocations: 10.04 MB / 0.6259 GB, free: 6.297 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.201e-05/0.5518, allocations: 124 kB / 0.626 GB, free: 6.152 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002479/0.5543, allocations: 1.56 MB / 0.6275 GB, free: 4.586 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000437/0.5547, allocations: 53.77 kB / 0.6276 GB, free: 4.527 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000381/0.5551, allocations: 0.675 MB / 0.6282 GB, free: 3.844 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004788/0.5556, allocations: 0.4892 MB / 0.6287 GB, free: 3.348 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005879/0.5562, allocations: 371.5 kB / 0.6291 GB, free: 2.977 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.309e-05/0.5562, allocations: 313 kB / 0.6294 GB, free: 2.668 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002098/0.5583, allocations: 1.066 MB / 0.6304 GB, free: 1.598 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00218/0.5605, allocations: 1.286 MB / 0.6317 GB, free: 252 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004785/0.5653, allocations: 2.27 MB / 0.6339 GB, free: 13.92 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.263e-06/0.5654, allocations: 0 / 0.6339 GB, free: 13.92 MB / 446.1 MB Notification: Performance of matching and sorting (n=263) (initialization): time 0.01116/0.5765, allocations: 4.14 MB / 0.6379 GB, free: 9.762 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.088e-05/0.5766, allocations: 12.05 kB / 0.6379 GB, free: 9.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.469e-05/0.5766, allocations: 4 kB / 0.6379 GB, free: 9.746 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01/0.5866, allocations: 2.797 MB / 0.6407 GB, free: 6.941 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001919/0.5886, allocations: 351.5 kB / 0.641 GB, free: 6.598 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007264/0.5959, allocations: 3.368 MB / 0.6443 GB, free: 3.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003142/0.599, allocations: 274.1 kB / 0.6446 GB, free: 2.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002435/0.5993, allocations: 71.97 kB / 0.6446 GB, free: 2.84 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,eXAC1.rotatingExciterWithDemagnetizationLimited.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (198): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(30,26), (1,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0008386/0.6001, allocations: 321.5 kB / 0.6449 GB, free: 2.516 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000452/0.6006, allocations: 177.8 kB / 0.6451 GB, free: 2.34 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01721/0.6178, allocations: 5.017 MB / 0.65 GB, free: 13.3 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.079e-05/0.6179, allocations: 12 kB / 0.65 GB, free: 13.29 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.504e-05/0.6179, allocations: 8 kB / 0.65 GB, free: 13.28 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.109e-05/0.618, allocations: 11.91 kB / 0.65 GB, free: 13.27 MB / 462.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.02356/0.6416, allocations: 7.203 MB / 0.6571 GB, free: 5.934 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.846e-05/0.6416, allocations: 4 kB / 0.6571 GB, free: 5.93 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001241/0.6429, allocations: 167.8 kB / 0.6572 GB, free: 5.766 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007897/0.6508, allocations: 2.146 MB / 0.6593 GB, free: 3.613 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004032/0.6512, allocations: 35.98 kB / 0.6594 GB, free: 3.578 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02728/0.6785, allocations: 10.07 MB / 0.6692 GB, free: 9.355 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.6786, allocations: 3.938 kB / 0.6692 GB, free: 9.352 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02072/0.6993, allocations: 6.197 MB / 0.6752 GB, free: 3.125 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001132/0.7005, allocations: 286.5 kB / 0.6755 GB, free: 2.824 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009488/0.7015, allocations: 28 kB / 0.6755 GB, free: 2.797 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002493/0.704, allocations: 151.8 kB / 0.6757 GB, free: 2.648 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001091/0.7051, allocations: 281.3 kB / 0.676 GB, free: 2.371 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002405/0.7054, allocations: 32 kB / 0.676 GB, free: 2.34 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002256/0.7076, allocations: 1.048 MB / 0.677 GB, free: 1.297 MB / 478.1 MB Notification: Performance of sort global known variables: time 4.6e-07/0.7076, allocations: 4 kB / 0.677 GB, free: 1.293 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002699/0.7103, allocations: 0.5736 MB / 0.6776 GB, free: 0.7188 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,eXAC1.imLimitedSimpleLag.state,eXAC1.imDerivativeLag.x,eXAC1.leadLag.TF.x_scaled[1],eXAC1.rotatingExciterWithDemagnetizationLimited.sISO.y,eXAC1.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 (93): * Single equations (assignments): 92 * 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.02107/0.7314, allocations: 6.812 MB / 0.6842 GB, free: 9.863 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01135/0.7428, allocations: 3.122 MB / 0.6873 GB, free: 6.738 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.544e-06/0.7429, allocations: 4.125 kB / 0.6873 GB, free: 6.734 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00703/0.7499, allocations: 2.02 MB / 0.6893 GB, free: 4.703 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002389/0.7523, allocations: 157.7 kB / 0.6894 GB, free: 4.547 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06082/0.8132, allocations: 23 MB / 0.7119 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001356/0.8146, allocations: 1.286 MB / 0.7131 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.00124/0.8159, allocations: 171.1 kB / 0.7133 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001412/0.8173, allocations: 0.6828 MB / 0.714 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of SimCode: time 1.142e-06/0.8173, allocations: 0 / 0.714 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09792/0.9152, allocations: 47.68 MB / 0.7605 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.78/13.7, allocations: 10.88 kB / 0.7605 GB, free: 10.63 MB / 0.5606 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXAC1.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXAC1.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXAC1.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXAC1.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXAC1_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_EXAC1.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXAC1.pipe 2>&1)