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.00141/0.00141, allocations: 111.2 kB / 16.41 MB, free: 6.488 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 / 240.1 MB, free: 4.559 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.001602/0.001602, allocations: 196.3 kB / 290.4 MB, free: 2.281 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5489/0.5489, allocations: 91.9 MB / 432.4 MB, free: 9.176 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001474/0.001474, allocations: 81.39 kB / 0.5734 GB, free: 33.59 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1524/0.1539, allocations: 71.29 MB / 0.643 GB, free: 3.586 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SCRX): time 0.009742/0.1637, allocations: 8.282 MB / 0.6511 GB, free: 11.26 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.006576/0.1704, allocations: 2.556 MB / 0.6536 GB, free: 8.695 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001566/0.172, allocations: 12 kB / 0.6536 GB, free: 8.684 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001098/0.1731, allocations: 317.3 kB / 0.6539 GB, free: 8.371 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003332/0.1765, allocations: 1.113 MB / 0.655 GB, free: 7.254 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001665/0.1782, allocations: 0.6892 MB / 0.6557 GB, free: 6.57 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002953/0.1811, allocations: 2.202 MB / 0.6578 GB, free: 4.363 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006478/0.1818, allocations: 416.4 kB / 0.6582 GB, free: 3.934 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00129/0.1831, allocations: 0.8832 MB / 0.6591 GB, free: 3.047 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001268/0.1844, allocations: 1.124 MB / 0.6602 GB, free: 1.918 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002811/0.1846, allocations: 180 kB / 0.6604 GB, free: 1.742 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008175/0.1855, allocations: 419.7 kB / 0.6608 GB, free: 1.332 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003921/0.1859, allocations: 454.2 kB / 0.6612 GB, free: 0.8867 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008032/0.1867, allocations: 0.9052 MB / 0.6621 GB, free: 15.97 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002633/0.1893, allocations: 2.289 MB / 0.6643 GB, free: 13.68 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.1894, allocations: 0 / 0.6643 GB, free: 13.68 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.1894, allocations: 4 kB / 0.6643 GB, free: 13.68 MB / 478.1 MB Notification: Performance of Transformations before backend: time 3.5e-05/0.1894, allocations: 0 / 0.6643 GB, free: 13.68 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.01298/0.2024, allocations: 3.543 MB / 0.6678 GB, free: 10.07 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.001e-05/0.2025, allocations: 12.03 kB / 0.6678 GB, free: 10.06 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004584/0.2071, allocations: 0.7471 MB / 0.6685 GB, free: 9.309 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002276/0.2094, allocations: 1.12 MB / 0.6696 GB, free: 8.137 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004803/0.2099, allocations: 424.7 kB / 0.67 GB, free: 7.656 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002336/0.2101, allocations: 111.9 kB / 0.6701 GB, free: 7.547 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002893/0.213, allocations: 1.435 MB / 0.6715 GB, free: 6.09 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.287e-05/0.2131, allocations: 0 / 0.6715 GB, free: 6.09 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000127/0.2132, allocations: 40 kB / 0.6716 GB, free: 6.051 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.055e-05/0.2132, allocations: 24 kB / 0.6716 GB, free: 6.027 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002896/0.2161, allocations: 1.351 MB / 0.6729 GB, free: 4.676 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.009349/0.2255, allocations: 4.923 MB / 0.6777 GB, free: 15.53 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00815/0.2337, allocations: 2.884 MB / 0.6805 GB, free: 12.51 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002155/0.2359, allocations: 0.9195 MB / 0.6814 GB, free: 11.58 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001437/0.236, allocations: 28.91 kB / 0.6815 GB, free: 11.55 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002202/0.2382, allocations: 1.058 MB / 0.6825 GB, free: 10.48 MB / 494.1 MB Notification: Performance of pre-optimization done (n=126): time 6.613e-06/0.2383, allocations: 3.984 kB / 0.6825 GB, free: 10.47 MB / 494.1 MB Notification: Performance of matching and sorting (n=126): time 0.03965/0.2779, allocations: 9.789 MB / 0.692 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.268e-05/0.2781, allocations: 115.8 kB / 0.6922 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002497/0.2806, allocations: 1.419 MB / 0.6935 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.000429/0.281, allocations: 49.7 kB / 0.6936 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005202/0.2815, allocations: 0.6002 MB / 0.6942 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006245/0.2822, allocations: 453.5 kB / 0.6946 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006468/0.2828, allocations: 339.4 kB / 0.6949 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001088/0.2829, allocations: 305.1 kB / 0.6952 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002038/0.285, allocations: 0.976 MB / 0.6962 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002178/0.2872, allocations: 1.17 MB / 0.6973 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004124/0.2913, allocations: 2.077 MB / 0.6994 GB, free: 9.016 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.028e-05/0.2914, allocations: 3.938 kB / 0.6994 GB, free: 9.012 MB / 0.4981 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.009211/0.3006, allocations: 3.707 MB / 0.703 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.183e-05/0.3007, allocations: 8 kB / 0.703 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.446e-05/0.3007, allocations: 4 kB / 0.703 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009723/0.3104, allocations: 2.981 MB / 0.7059 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001534/0.312, allocations: 263.6 kB / 0.7061 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007029/0.319, allocations: 2.992 MB / 0.7091 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00256/0.3216, allocations: 254.3 kB / 0.7093 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001805/0.3218, allocations: 67.97 kB / 0.7094 GB, free: 14.7 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.0006875/0.3225, allocations: 302.6 kB / 0.7097 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003617/0.3229, allocations: 157.9 kB / 0.7098 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01517/0.3381, allocations: 4.819 MB / 0.7145 GB, free: 9.391 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.441e-05/0.3382, allocations: 19.98 kB / 0.7145 GB, free: 9.371 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.054e-05/0.3382, allocations: 0 / 0.7145 GB, free: 9.371 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.564e-05/0.3382, allocations: 11.91 kB / 0.7146 GB, free: 9.359 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.01924/0.3575, allocations: 6.89 MB / 0.7213 GB, free: 2.332 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-05/0.3576, allocations: 4 kB / 0.7213 GB, free: 2.328 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001001/0.3586, allocations: 143.8 kB / 0.7214 GB, free: 2.188 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007346/0.3659, allocations: 2.146 MB / 0.7235 GB, free: 40 kB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00032/0.3663, allocations: 24 kB / 0.7235 GB, free: 16 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02508/0.3914, allocations: 10.06 MB / 0.7334 GB, free: 5.805 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.3914, allocations: 0 / 0.7334 GB, free: 5.805 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01826/0.4097, allocations: 5.948 MB / 0.7392 GB, free: 15.83 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008026/0.4106, allocations: 274.8 kB / 0.7394 GB, free: 15.54 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003361/0.4109, allocations: 27.94 kB / 0.7395 GB, free: 15.51 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00159/0.4125, allocations: 135.8 kB / 0.7396 GB, free: 15.38 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008741/0.4134, allocations: 257.4 kB / 0.7398 GB, free: 15.13 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001002/0.4135, allocations: 35.98 kB / 0.7399 GB, free: 15.09 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00154/0.415, allocations: 0.9542 MB / 0.7408 GB, free: 14.14 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.8e-07/0.4151, allocations: 0 / 0.7408 GB, free: 14.14 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001722/0.4168, allocations: 0.5268 MB / 0.7413 GB, free: 13.61 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.0003857/0.4172, allocations: 155.1 kB / 0.7415 GB, free: 13.45 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.008812/0.426, allocations: 2.895 MB / 0.7443 GB, free: 10.55 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/0.4261, allocations: 0.875 kB / 0.7443 GB, free: 10.55 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006228/0.4323, allocations: 1.926 MB / 0.7462 GB, free: 8.609 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001389/0.4337, allocations: 138.3 kB / 0.7463 GB, free: 8.48 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006085/0.4398, allocations: 3.074 MB / 0.7493 GB, free: 5.371 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007907/0.4406, allocations: 1.223 MB / 0.7505 GB, free: 4.113 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005059/0.4412, allocations: 103.4 kB / 0.7506 GB, free: 4.016 MB / 0.545 GB Notification: Performance of SimCode: time 1.002e-06/0.4412, allocations: 4 kB / 0.7506 GB, free: 4.012 MB / 0.545 GB Notification: Performance of Templates: time 0.3666/0.8078, allocations: 25.82 MB / 0.7758 GB, free: 116.5 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)