Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.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.SCRX,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_SCRX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.SCRX,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_SCRX",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.005903/0.005903, allocations: 99.72 kB / 15.73 MB, free: 6.051 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.309/1.309, allocations: 222.9 MB / 239.4 MB, free: 4.531 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.001442/0.001442, 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.5084/0.5084, allocations: 91.9 MB / 431.8 MB, free: 9.152 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001506/0.001506, allocations: 84.16 kB / 0.5723 GB, free: 33.77 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1171, allocations: 71.28 MB / 0.6419 GB, free: 4.078 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SCRX): time 0.008619/0.1258, allocations: 8.282 MB / 0.65 GB, free: 11.75 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005166/0.131, allocations: 2.564 MB / 0.6525 GB, free: 9.18 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001145/0.1322, allocations: 12 kB / 0.6525 GB, free: 9.168 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001039/0.1333, allocations: 317.3 kB / 0.6528 GB, free: 8.855 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003117/0.1364, allocations: 1.165 MB / 0.6539 GB, free: 7.688 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001731/0.1382, allocations: 0.6856 MB / 0.6546 GB, free: 7.008 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002887/0.1411, allocations: 2.202 MB / 0.6567 GB, free: 4.801 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006996/0.1418, allocations: 412.5 kB / 0.6571 GB, free: 4.375 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00134/0.1431, allocations: 0.891 MB / 0.658 GB, free: 3.48 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001442/0.1446, allocations: 1.124 MB / 0.6591 GB, free: 2.352 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004204/0.145, allocations: 180 kB / 0.6593 GB, free: 2.176 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009315/0.146, allocations: 419.7 kB / 0.6597 GB, free: 1.766 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004654/0.1465, allocations: 458.2 kB / 0.6601 GB, free: 1.316 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009443/0.1474, allocations: 0.9051 MB / 0.661 GB, free: 416 kB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002849/0.1503, allocations: 2.295 MB / 0.6632 GB, free: 14.1 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.758e-06/0.1503, allocations: 0 / 0.6632 GB, free: 14.1 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1503, allocations: 0 / 0.6632 GB, free: 14.1 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.616e-05/0.1504, allocations: 0 / 0.6632 GB, free: 14.1 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.01264/0.163, allocations: 3.608 MB / 0.6668 GB, free: 10.43 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.1631, allocations: 8.031 kB / 0.6668 GB, free: 10.42 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002259/0.1633, allocations: 156.1 kB / 0.6669 GB, free: 10.26 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004773/0.1681, allocations: 0.7599 MB / 0.6677 GB, free: 9.5 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002245/0.1704, allocations: 1.137 MB / 0.6688 GB, free: 8.312 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004713/0.1709, allocations: 428.7 kB / 0.6692 GB, free: 7.828 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002607/0.1711, allocations: 108 kB / 0.6693 GB, free: 7.723 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003/0.1741, allocations: 1.435 MB / 0.6707 GB, free: 6.266 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.434e-05/0.1742, allocations: 0 / 0.6707 GB, free: 6.266 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001303/0.1743, allocations: 40 kB / 0.6707 GB, free: 6.227 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.082e-05/0.1744, allocations: 31.94 kB / 0.6708 GB, free: 6.195 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003063/0.1774, allocations: 1.339 MB / 0.6721 GB, free: 4.855 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.009291/0.1867, allocations: 4.928 MB / 0.6769 GB, free: 15.71 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008439/0.1952, allocations: 2.892 MB / 0.6797 GB, free: 12.68 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002171/0.1974, allocations: 0.9156 MB / 0.6806 GB, free: 11.75 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002096/0.1976, allocations: 24.98 kB / 0.6806 GB, free: 11.73 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002388/0.2, allocations: 1.061 MB / 0.6817 GB, free: 10.65 MB / 494.1 MB Notification: Performance of pre-optimization done (n=126): time 3.086e-06/0.2001, allocations: 0 / 0.6817 GB, free: 10.65 MB / 494.1 MB Notification: Performance of matching and sorting (n=126): time 0.0407/0.2408, allocations: 9.79 MB / 0.6912 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.444e-05/0.2409, allocations: 115.8 kB / 0.6913 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002336/0.2432, allocations: 1.415 MB / 0.6927 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003123/0.2436, allocations: 53.7 kB / 0.6928 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007416/0.2443, allocations: 0.6087 MB / 0.6934 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006292/0.245, allocations: 480 kB / 0.6938 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007596/0.2457, allocations: 339.4 kB / 0.6941 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.2459, allocations: 301.1 kB / 0.6944 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00223/0.2481, allocations: 0.9721 MB / 0.6954 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002512/0.2506, allocations: 1.18 MB / 0.6965 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004731/0.2554, allocations: 2.085 MB / 0.6986 GB, free: 9.152 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.067e-05/0.2554, allocations: 4 kB / 0.6986 GB, free: 9.148 MB / 0.4981 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.01067/0.2661, allocations: 3.716 MB / 0.7022 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.872e-05/0.2662, allocations: 8 kB / 0.7022 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.634e-05/0.2662, allocations: 7.938 kB / 0.7022 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01025/0.2765, allocations: 2.974 MB / 0.7051 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001366/0.2779, allocations: 271.6 kB / 0.7054 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007616/0.2855, allocations: 2.997 MB / 0.7083 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002391/0.2879, allocations: 250.8 kB / 0.7085 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002941/0.2882, allocations: 67.92 kB / 0.7086 GB, free: 14.82 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (161): * Single equations (assignments): 160 * 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 {(34,42)} Notification: Performance of prepare postOptimizeDAE: time 0.00083/0.2891, allocations: 302.6 kB / 0.7089 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004918/0.2896, allocations: 166.9 kB / 0.709 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0167/0.3063, allocations: 4.819 MB / 0.7138 GB, free: 9.508 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.998e-05/0.3064, allocations: 12 kB / 0.7138 GB, free: 9.496 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.707e-06/0.3064, allocations: 7.938 kB / 0.7138 GB, free: 9.488 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.451e-05/0.3064, allocations: 11.91 kB / 0.7138 GB, free: 9.477 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.02063/0.327, allocations: 6.894 MB / 0.7205 GB, free: 2.445 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.618e-05/0.3271, allocations: 0 / 0.7205 GB, free: 2.445 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009573/0.3281, allocations: 135.8 kB / 0.7206 GB, free: 2.312 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007766/0.3359, allocations: 2.15 MB / 0.7227 GB, free: 164 kB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003207/0.3362, allocations: 27.98 kB / 0.7228 GB, free: 136 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02683/0.3631, allocations: 10.07 MB / 0.7326 GB, free: 5.918 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.146e-05/0.3631, allocations: 7.938 kB / 0.7326 GB, free: 5.91 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01897/0.3821, allocations: 5.953 MB / 0.7384 GB, free: 15.93 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005933/0.3827, allocations: 283.6 kB / 0.7387 GB, free: 15.63 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004049/0.3831, allocations: 31.94 kB / 0.7387 GB, free: 15.6 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00176/0.3849, allocations: 131.8 kB / 0.7389 GB, free: 15.47 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008906/0.3858, allocations: 269.3 kB / 0.7391 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001553/0.386, allocations: 35.98 kB / 0.7391 GB, free: 15.17 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00161/0.3876, allocations: 0.9464 MB / 0.7401 GB, free: 14.23 MB / 0.545 GB Notification: Performance of sort global known variables: time 4.21e-07/0.3876, allocations: 4 kB / 0.7401 GB, free: 14.22 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001666/0.3893, allocations: 0.523 MB / 0.7406 GB, free: 13.7 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 11 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROU.w,gENROU.delta,gENROU.Epd,gENROU.Epq,gENROU.PSIkd,gENROU.PSIkq,sCRX.imLeadLag.TF.x_scaled[1],sCRX.simpleLagLim.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 (83): * Single equations (assignments): 82 * 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.01938/0.4087, allocations: 6.567 MB / 0.747 GB, free: 7.094 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.009572/0.4183, allocations: 2.903 MB / 0.7498 GB, free: 4.191 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.724e-06/0.4184, allocations: 0 / 0.7498 GB, free: 4.191 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006744/0.4251, allocations: 1.927 MB / 0.7517 GB, free: 2.246 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001663/0.4268, allocations: 146.1 kB / 0.7519 GB, free: 2.105 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3219/0.7487, allocations: 19.06 MB / 0.7705 GB, free: 117.8 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007022/0.7494, allocations: 1.23 MB / 0.7717 GB, free: 117.1 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0006852/0.7501, allocations: 135.2 kB / 0.7718 GB, free: 117.1 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007217/0.7509, allocations: 0.6054 MB / 0.7724 GB, free: 117.1 MB / 0.5606 GB Notification: Performance of SimCode: time 1.032e-06/0.7509, allocations: 0 / 0.7724 GB, free: 117.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07563/0.8265, allocations: 44.17 MB / 0.8155 GB, free: 87.08 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.02/14.84, allocations: 12.09 kB / 0.8155 GB, free: 87.07 MB / 0.5606 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX_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_SCRX.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe 2>&1)