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.005223/0.005223, allocations: 98.48 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.351/1.351, allocations: 222.9 MB / 239.4 MB, free: 4.535 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.001476/0.001476, allocations: 188.5 kB / 289.7 MB, free: 2.254 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5134/0.5134, allocations: 91.9 MB / 431.8 MB, free: 9.184 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001551/0.001551, allocations: 80.81 kB / 0.5723 GB, free: 33.73 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1526/0.1542, allocations: 71.28 MB / 0.6419 GB, free: 4.102 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.EXAC1): time 0.009897/0.1641, allocations: 8.964 MB / 0.6506 GB, free: 11.09 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.006774/0.1709, allocations: 2.875 MB / 0.6534 GB, free: 8.211 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001687/0.1726, allocations: 16 kB / 0.6535 GB, free: 8.195 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001517/0.1742, allocations: 341 kB / 0.6538 GB, free: 7.859 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003857/0.1781, allocations: 1.103 MB / 0.6549 GB, free: 6.75 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002642/0.1807, allocations: 0.9805 MB / 0.6558 GB, free: 5.777 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003897/0.1847, allocations: 2.494 MB / 0.6583 GB, free: 3.277 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00111/0.1858, allocations: 0.5181 MB / 0.6588 GB, free: 2.73 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001773/0.1876, allocations: 0.9922 MB / 0.6597 GB, free: 1.734 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00189/0.1895, allocations: 1.217 MB / 0.6609 GB, free: 0.5117 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007364/0.1902, allocations: 216 kB / 0.6611 GB, free: 308 kB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001413/0.1917, allocations: 0.4957 MB / 0.6616 GB, free: 15.8 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008699/0.1926, allocations: 0.5098 MB / 0.6621 GB, free: 15.29 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001929/0.1945, allocations: 1.018 MB / 0.6631 GB, free: 14.27 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004397/0.1989, allocations: 2.685 MB / 0.6657 GB, free: 11.57 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.1989, allocations: 0 / 0.6657 GB, free: 11.57 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.355e-06/0.1989, allocations: 0 / 0.6657 GB, free: 11.57 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0001156/0.1991, allocations: 0 / 0.6657 GB, free: 11.57 MB / 478.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.01445/0.2135, allocations: 3.881 MB / 0.6695 GB, free: 7.629 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/0.2136, allocations: 12.03 kB / 0.6695 GB, free: 7.617 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004304/0.214, allocations: 168.9 kB / 0.6697 GB, free: 7.441 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004859/0.2189, allocations: 0.787 MB / 0.6705 GB, free: 6.652 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002749/0.2217, allocations: 1.26 MB / 0.6717 GB, free: 5.344 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005513/0.2222, allocations: 0.4885 MB / 0.6722 GB, free: 4.773 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002834/0.2225, allocations: 131.9 kB / 0.6723 GB, free: 4.645 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003248/0.2258, allocations: 1.576 MB / 0.6738 GB, free: 3.02 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.523e-05/0.2258, allocations: 0 / 0.6738 GB, free: 3.02 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001337/0.226, allocations: 51.98 kB / 0.6739 GB, free: 2.969 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.775e-05/0.226, allocations: 24 kB / 0.6739 GB, free: 2.945 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003327/0.2293, allocations: 1.484 MB / 0.6753 GB, free: 1.453 MB / 478.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.01059/0.24, allocations: 5.51 MB / 0.6807 GB, free: 11.72 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01458/0.2546, allocations: 3.138 MB / 0.6838 GB, free: 8.441 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004316/0.2589, allocations: 0.9903 MB / 0.6848 GB, free: 7.441 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009786/0.26, allocations: 0.7258 MB / 0.6855 GB, free: 6.551 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004599/0.2646, allocations: 1.141 MB / 0.6866 GB, free: 5.387 MB / 494.1 MB Notification: Performance of pre-optimization done (n=136): time 7.104e-06/0.2646, allocations: 0 / 0.6866 GB, free: 5.387 MB / 494.1 MB Notification: Performance of matching and sorting (n=136): time 0.04539/0.31, allocations: 10.05 MB / 0.6964 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.834e-05/0.3101, allocations: 116.1 kB / 0.6965 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002588/0.3127, allocations: 1.56 MB / 0.698 GB, free: 9.586 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003948/0.3132, allocations: 53.7 kB / 0.6981 GB, free: 9.527 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005718/0.3137, allocations: 0.6799 MB / 0.6987 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006425/0.3144, allocations: 0.5151 MB / 0.6992 GB, free: 8.32 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007316/0.3151, allocations: 383.6 kB / 0.6996 GB, free: 7.938 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001042/0.3152, allocations: 305.1 kB / 0.6999 GB, free: 7.637 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002478/0.3177, allocations: 1.066 MB / 0.7009 GB, free: 6.566 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002681/0.3204, allocations: 1.294 MB / 0.7022 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005073/0.3255, allocations: 2.263 MB / 0.7044 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.197e-06/0.3255, allocations: 0 / 0.7044 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of matching and sorting (n=263) (initialization): time 0.0115/0.337, allocations: 4.149 MB / 0.7085 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.235e-05/0.3371, allocations: 8 kB / 0.7085 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.64e-05/0.3371, allocations: 4 kB / 0.7085 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01016/0.3473, allocations: 2.808 MB / 0.7112 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001789/0.3491, allocations: 339.5 kB / 0.7115 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007238/0.3564, allocations: 3.361 MB / 0.7148 GB, free: 8.148 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002643/0.3591, allocations: 286.6 kB / 0.7151 GB, free: 7.867 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002498/0.3593, allocations: 67.98 kB / 0.7152 GB, free: 7.801 MB / 0.5137 GB 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.0007542/0.3601, allocations: 332 kB / 0.7155 GB, free: 7.469 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000388/0.3605, allocations: 178.8 kB / 0.7157 GB, free: 7.293 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01688/0.3774, allocations: 5.013 MB / 0.7206 GB, free: 2.254 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.232e-05/0.3774, allocations: 16 kB / 0.7206 GB, free: 2.238 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.208e-05/0.3775, allocations: 7.984 kB / 0.7206 GB, free: 2.23 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.472e-05/0.3775, allocations: 7.969 kB / 0.7206 GB, free: 2.223 MB / 0.5137 GB 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.02029/0.3978, allocations: 7.214 MB / 0.7276 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.562e-05/0.3979, allocations: 0 / 0.7276 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00116/0.399, allocations: 167.8 kB / 0.7278 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007586/0.4066, allocations: 2.146 MB / 0.7299 GB, free: 8.562 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003274/0.407, allocations: 28 kB / 0.7299 GB, free: 8.535 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02534/0.4323, allocations: 10.06 MB / 0.7397 GB, free: 14.32 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/0.4324, allocations: 4 kB / 0.7397 GB, free: 14.32 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01872/0.4511, allocations: 6.191 MB / 0.7458 GB, free: 8.09 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006544/0.4518, allocations: 299.5 kB / 0.7461 GB, free: 7.777 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002577/0.4521, allocations: 28 kB / 0.7461 GB, free: 7.75 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001633/0.4537, allocations: 155.8 kB / 0.7462 GB, free: 7.598 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008393/0.4546, allocations: 277.3 kB / 0.7465 GB, free: 7.328 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001189/0.4547, allocations: 43.98 kB / 0.7466 GB, free: 7.285 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0016/0.4563, allocations: 1.04 MB / 0.7476 GB, free: 6.25 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.51e-07/0.4563, allocations: 0 / 0.7476 GB, free: 6.25 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001641/0.458, allocations: 0.5814 MB / 0.7481 GB, free: 5.668 MB / 0.545 GB 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.01949/0.4775, allocations: 6.821 MB / 0.7548 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009429/0.4869, allocations: 3.082 MB / 0.7578 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.696e-06/0.487, allocations: 0 / 0.7578 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.006414/0.4934, allocations: 2.021 MB / 0.7598 GB, free: 9.684 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001713/0.4951, allocations: 160.9 kB / 0.7599 GB, free: 9.527 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3503/0.8455, allocations: 21.44 MB / 0.7809 GB, free: 115.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006976/0.8463, allocations: 1.292 MB / 0.7821 GB, free: 114.6 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000761/0.847, allocations: 162 kB / 0.7823 GB, free: 114.6 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007967/0.8479, allocations: 0.6862 MB / 0.783 GB, free: 114.1 MB / 0.5606 GB Notification: Performance of SimCode: time 2.245e-06/0.8479, allocations: 0 / 0.783 GB, free: 114.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08379/0.9317, allocations: 48.31 MB / 0.8301 GB, free: 73.42 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.22/15.15, allocations: 3.875 kB / 0.8301 GB, free: 73.42 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)