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: translateModel(OpenIPSL.Tests.Controls.PSSE.ES.SCRX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX") translateModel(OpenIPSL.Tests.Controls.PSSE.ES.SCRX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008421/0.008421, allocations: 100.9 kB / 15.73 MB, free: 6.055 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.386/1.386, 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.001317/0.001317, allocations: 192.4 kB / 289.7 MB, free: 2.246 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5178/0.5178, allocations: 91.89 MB / 431.7 MB, free: 9.199 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 80.16 kB / 0.5727 GB, free: 33.57 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1114, allocations: 71.28 MB / 0.6424 GB, free: 3.574 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SCRX): time 0.009427/0.1208, allocations: 8.284 MB / 0.6504 GB, free: 11.25 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004989/0.1259, allocations: 2.556 MB / 0.6529 GB, free: 8.684 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001109/0.127, allocations: 12 kB / 0.653 GB, free: 8.672 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001027/0.1281, allocations: 321.3 kB / 0.6533 GB, free: 8.355 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002927/0.131, allocations: 1.166 MB / 0.6544 GB, free: 7.184 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001515/0.1326, allocations: 0.6844 MB / 0.6551 GB, free: 6.508 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002483/0.1351, allocations: 2.205 MB / 0.6572 GB, free: 4.297 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005781/0.1356, allocations: 416.4 kB / 0.6576 GB, free: 3.867 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001065/0.1367, allocations: 0.8832 MB / 0.6585 GB, free: 2.98 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001163/0.1379, allocations: 1.124 MB / 0.6596 GB, free: 1.852 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002547/0.1382, allocations: 180 kB / 0.6598 GB, free: 1.676 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007349/0.1389, allocations: 423.7 kB / 0.6602 GB, free: 1.262 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003888/0.1393, allocations: 454.2 kB / 0.6606 GB, free: 0.8164 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008366/0.1402, allocations: 0.9052 MB / 0.6615 GB, free: 15.9 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002369/0.1425, allocations: 2.285 MB / 0.6637 GB, free: 13.61 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.1425, allocations: 4 kB / 0.6637 GB, free: 13.61 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1426, allocations: 0 / 0.6637 GB, free: 13.61 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.793e-05/0.1426, allocations: 0 / 0.6637 GB, free: 13.61 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.01281/0.1554, allocations: 3.551 MB / 0.6672 GB, free: 9.996 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.1555, allocations: 8.031 kB / 0.6672 GB, free: 9.988 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004698/0.1602, allocations: 0.751 MB / 0.6679 GB, free: 9.234 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001959/0.1621, allocations: 1.12 MB / 0.669 GB, free: 8.062 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004388/0.1626, allocations: 424.7 kB / 0.6694 GB, free: 7.582 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002219/0.1628, allocations: 111.9 kB / 0.6695 GB, free: 7.473 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003/0.1658, allocations: 1.435 MB / 0.6709 GB, free: 6.016 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.067e-05/0.1659, allocations: 0 / 0.6709 GB, free: 6.016 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001262/0.166, allocations: 40 kB / 0.671 GB, free: 5.977 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.835e-05/0.166, allocations: 24 kB / 0.671 GB, free: 5.953 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003028/0.1691, allocations: 1.347 MB / 0.6723 GB, free: 4.605 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.0086/0.1777, allocations: 4.915 MB / 0.6771 GB, free: 15.47 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00859/0.1863, allocations: 2.899 MB / 0.6799 GB, free: 12.43 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002071/0.1884, allocations: 0.9156 MB / 0.6808 GB, free: 11.51 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001249/0.1885, allocations: 32.89 kB / 0.6809 GB, free: 11.48 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002255/0.1908, allocations: 1.058 MB / 0.6819 GB, free: 10.4 MB / 494.1 MB Notification: Performance of pre-optimization done (n=126): time 4.107e-06/0.1908, allocations: 0 / 0.6819 GB, free: 10.4 MB / 494.1 MB Notification: Performance of matching and sorting (n=126): time 0.04216/0.233, allocations: 9.785 MB / 0.6914 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.955e-05/0.2331, allocations: 119.8 kB / 0.6916 GB, free: 440 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002114/0.2352, allocations: 1.411 MB / 0.6929 GB, free: 15 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002595/0.2354, allocations: 53.69 kB / 0.693 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004495/0.2359, allocations: 0.5963 MB / 0.6936 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004765/0.2364, allocations: 461.5 kB / 0.694 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006067/0.237, allocations: 331.4 kB / 0.6943 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.151e-05/0.2371, allocations: 313.1 kB / 0.6946 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002242/0.2393, allocations: 0.9644 MB / 0.6956 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0024/0.2418, allocations: 1.174 MB / 0.6967 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004495/0.2463, allocations: 2.081 MB / 0.6987 GB, free: 8.945 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.414e-06/0.2463, allocations: 3.938 kB / 0.6987 GB, free: 8.941 MB / 0.4981 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.009959/0.2563, allocations: 3.707 MB / 0.7024 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/0.2563, allocations: 11.94 kB / 0.7024 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.446e-05/0.2563, allocations: 4 kB / 0.7024 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01076/0.2671, allocations: 2.981 MB / 0.7053 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001568/0.2687, allocations: 267.6 kB / 0.7056 GB, free: 1.957 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007719/0.2765, allocations: 2.988 MB / 0.7085 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002397/0.2789, allocations: 254.3 kB / 0.7087 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001698/0.2791, allocations: 63.98 kB / 0.7088 GB, free: 14.62 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.0006585/0.2797, allocations: 306.6 kB / 0.7091 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003158/0.2801, allocations: 161.9 kB / 0.7092 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01713/0.2972, allocations: 4.811 MB / 0.7139 GB, free: 9.32 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.108e-05/0.2973, allocations: 12 kB / 0.7139 GB, free: 9.309 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/0.2973, allocations: 8 kB / 0.7139 GB, free: 9.301 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.488e-05/0.2973, allocations: 11.91 kB / 0.7139 GB, free: 9.289 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.02056/0.3179, allocations: 6.89 MB / 0.7207 GB, free: 2.262 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.888e-05/0.318, allocations: 4 kB / 0.7207 GB, free: 2.258 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000963/0.3189, allocations: 139.8 kB / 0.7208 GB, free: 2.121 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008092/0.327, allocations: 2.146 MB / 0.7229 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00031/0.3274, allocations: 31.94 kB / 0.7229 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0287/0.3561, allocations: 10.05 MB / 0.7328 GB, free: 5.738 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.3561, allocations: 4 kB / 0.7328 GB, free: 5.734 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02075/0.3769, allocations: 5.944 MB / 0.7386 GB, free: 15.76 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006499/0.3776, allocations: 282.7 kB / 0.7388 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00056/0.3782, allocations: 23.94 kB / 0.7389 GB, free: 15.44 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002083/0.3803, allocations: 139.8 kB / 0.739 GB, free: 15.3 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00116/0.3814, allocations: 261.4 kB / 0.7392 GB, free: 15.05 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002846/0.3817, allocations: 35.98 kB / 0.7393 GB, free: 15.02 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002225/0.384, allocations: 0.9503 MB / 0.7402 GB, free: 14.07 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.224e-06/0.384, allocations: 0 / 0.7402 GB, free: 14.07 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002385/0.3864, allocations: 0.5306 MB / 0.7407 GB, free: 13.54 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.0005139/0.3869, allocations: 155.1 kB / 0.7409 GB, free: 13.37 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01026/0.3972, allocations: 2.891 MB / 0.7437 GB, free: 10.48 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.111e-06/0.3972, allocations: 0 / 0.7437 GB, free: 10.48 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006754/0.404, allocations: 1.919 MB / 0.7456 GB, free: 8.543 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001871/0.4059, allocations: 140.1 kB / 0.7457 GB, free: 8.41 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006752/0.4127, allocations: 3.021 MB / 0.7487 GB, free: 5.355 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001072/0.4138, allocations: 1.227 MB / 0.7499 GB, free: 4.094 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0007833/0.4146, allocations: 142 kB / 0.75 GB, free: 3.953 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004856/0.4151, allocations: 95.42 kB / 0.7501 GB, free: 3.863 MB / 0.545 GB Notification: Performance of SimCode: time 8.11e-07/0.4151, allocations: 0 / 0.7501 GB, free: 3.863 MB / 0.545 GB Notification: Performance of Templates: time 0.3192/0.7343, allocations: 30.61 MB / 0.78 GB, free: 115.9 MB / 0.5606 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.makefile (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 & ./OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe 2>&1)