Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_OpenIPSL.Tests.Controls.PSSE.ES.SCRX") translateModel(OpenIPSL.Tests.Controls.PSSE.ES.SCRX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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.001883/0.001883, allocations: 108.8 kB / 16.41 MB, free: 6.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.219/2.219, allocations: 222.9 MB / 240.1 MB, free: 4.344 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.002382/0.002382, allocations: 196.5 kB / 290.4 MB, free: 2.066 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.7665/0.7665, allocations: 78.52 MB / 419.1 MB, free: 3.148 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003138/0.003138, allocations: 79.86 kB / 0.5543 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7075/0.7106, allocations: 68.17 MB / 0.6209 GB, free: 9.602 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SCRX): time 0.01406/0.7248, allocations: 8.27 MB / 0.6289 GB, free: 1.906 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0112/0.7361, allocations: 2.552 MB / 0.6314 GB, free: 15.34 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003329/0.7395, allocations: 16 kB / 0.6315 GB, free: 15.33 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002885/0.7424, allocations: 317.3 kB / 0.6318 GB, free: 15.02 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009279/0.7519, allocations: 1.214 MB / 0.6329 GB, free: 13.8 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/NonElectrical/Logical/NegCurLogic.mo:14:3-14:60:writable] Warning: In relation sCRX.negCurLogic.RC_rfd == 0.0, == on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.004112/0.756, allocations: 0.6715 MB / 0.6336 GB, free: 13.14 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.007006/0.763, allocations: 2.33 MB / 0.6359 GB, free: 10.8 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001832/0.7649, allocations: 424.4 kB / 0.6363 GB, free: 10.36 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002853/0.7678, allocations: 0.8872 MB / 0.6371 GB, free: 9.469 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0036/0.7715, allocations: 1.136 MB / 0.6383 GB, free: 8.324 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001227/0.7727, allocations: 180 kB / 0.6384 GB, free: 8.148 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002308/0.7751, allocations: 407.8 kB / 0.6388 GB, free: 7.75 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001486/0.7766, allocations: 462.2 kB / 0.6393 GB, free: 7.297 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003167/0.7798, allocations: 0.909 MB / 0.6401 GB, free: 6.383 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006857/0.7867, allocations: 2.298 MB / 0.6424 GB, free: 4.082 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.638e-06/0.7868, allocations: 0 / 0.6424 GB, free: 4.082 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.046e-06/0.7868, allocations: 4 kB / 0.6424 GB, free: 4.078 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001024/0.7869, allocations: 7.938 kB / 0.6424 GB, free: 4.07 MB / 446.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.03094/0.8179, allocations: 3.761 MB / 0.6461 GB, free: 256 kB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001156/0.818, allocations: 8.031 kB / 0.6461 GB, free: 248 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01104/0.8291, allocations: 0.751 MB / 0.6468 GB, free: 15.49 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005262/0.8344, allocations: 1.112 MB / 0.6479 GB, free: 14.32 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001131/0.8356, allocations: 424.7 kB / 0.6483 GB, free: 13.84 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000881/0.8366, allocations: 111.9 kB / 0.6484 GB, free: 13.73 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007308/0.8439, allocations: 1.432 MB / 0.6498 GB, free: 12.28 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.202e-05/0.844, allocations: 0 / 0.6498 GB, free: 12.28 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003226/0.8444, allocations: 47.98 kB / 0.6499 GB, free: 12.23 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-05/0.8445, allocations: 20 kB / 0.6499 GB, free: 12.21 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006571/0.8511, allocations: 1.347 MB / 0.6512 GB, free: 10.87 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 preOpt removeSimpleEquations (simulation): time 0.01942/0.8705, allocations: 4.907 MB / 0.656 GB, free: 5.75 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0159/0.8865, allocations: 2.9 MB / 0.6588 GB, free: 2.711 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003701/0.8903, allocations: 0.9074 MB / 0.6597 GB, free: 1.793 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003152/0.8906, allocations: 24.92 kB / 0.6597 GB, free: 1.77 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004056/0.8947, allocations: 1.059 MB / 0.6608 GB, free: 0.6875 MB / 462.1 MB Notification: Performance of pre-optimization done (n=126): time 8.776e-06/0.8948, allocations: 0 / 0.6608 GB, free: 0.6875 MB / 462.1 MB Notification: Performance of matching and sorting (n=126): time 0.0684/0.9632, allocations: 9.785 MB / 0.6703 GB, free: 6.863 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001227/0.9633, allocations: 119.8 kB / 0.6704 GB, free: 6.719 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00517/0.9685, allocations: 1.415 MB / 0.6718 GB, free: 5.293 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005702/0.9692, allocations: 53.77 kB / 0.6719 GB, free: 5.234 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001054/0.9703, allocations: 0.604 MB / 0.6725 GB, free: 4.625 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001274/0.9716, allocations: 461.4 kB / 0.6729 GB, free: 4.168 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00206/0.9736, allocations: 335.5 kB / 0.6732 GB, free: 3.836 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001704/0.9738, allocations: 301.1 kB / 0.6735 GB, free: 3.539 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004817/0.9787, allocations: 0.9682 MB / 0.6744 GB, free: 2.57 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005258/0.984, allocations: 1.17 MB / 0.6756 GB, free: 1.352 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009933/0.994, allocations: 2.081 MB / 0.6776 GB, free: 15.23 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-05/0.9941, allocations: 3.938 kB / 0.6776 GB, free: 15.22 MB / 494.1 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.02044/1.015, allocations: 3.711 MB / 0.6812 GB, free: 11.5 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.907e-05/1.015, allocations: 8 kB / 0.6813 GB, free: 11.49 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.162e-05/1.015, allocations: 0 / 0.6813 GB, free: 11.49 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01853/1.033, allocations: 2.977 MB / 0.6842 GB, free: 8.512 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002903/1.036, allocations: 271.6 kB / 0.6844 GB, free: 8.246 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01611/1.052, allocations: 2.996 MB / 0.6873 GB, free: 5.223 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004766/1.057, allocations: 246.3 kB / 0.6876 GB, free: 4.98 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005879/1.058, allocations: 63.98 kB / 0.6876 GB, free: 4.918 MB / 494.1 MB 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.001679/1.06, allocations: 305.4 kB / 0.6879 GB, free: 4.609 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00125/1.061, allocations: 161.9 kB / 0.6881 GB, free: 4.449 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03509/1.096, allocations: 4.811 MB / 0.6928 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-05/1.096, allocations: 16 kB / 0.6928 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.566e-05/1.096, allocations: 3.938 kB / 0.6928 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.174e-05/1.096, allocations: 11.91 kB / 0.6928 GB, free: 15.58 MB / 0.4981 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.03971/1.136, allocations: 6.886 MB / 0.6995 GB, free: 8.559 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.647e-05/1.136, allocations: 4 kB / 0.6995 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001911/1.138, allocations: 143.8 kB / 0.6997 GB, free: 8.414 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0153/1.153, allocations: 2.146 MB / 0.7018 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004819/1.154, allocations: 24 kB / 0.7018 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04872/1.203, allocations: 10.06 MB / 0.7116 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.548e-06/1.203, allocations: 0 / 0.7116 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03403/1.237, allocations: 5.944 MB / 0.7174 GB, free: 6.047 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001362/1.238, allocations: 274.8 kB / 0.7177 GB, free: 5.758 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001017/1.239, allocations: 27.94 kB / 0.7177 GB, free: 5.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003708/1.243, allocations: 139.8 kB / 0.7179 GB, free: 5.594 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001819/1.245, allocations: 261.3 kB / 0.7181 GB, free: 5.34 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003951/1.245, allocations: 35.98 kB / 0.7181 GB, free: 5.305 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003449/1.249, allocations: 0.9503 MB / 0.7191 GB, free: 4.355 MB / 0.5137 GB Notification: Performance of sort global known variables: time 5.41e-07/1.249, allocations: 0 / 0.7191 GB, free: 4.355 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003843/1.253, allocations: 0.5307 MB / 0.7196 GB, free: 3.824 MB / 0.5137 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.0007863/1.253, allocations: 152.2 kB / 0.7197 GB, free: 3.664 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01736/1.271, allocations: 2.884 MB / 0.7225 GB, free: 0.7812 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.352e-05/1.271, allocations: 4 kB / 0.7225 GB, free: 0.7773 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.01212/1.283, allocations: 1.919 MB / 0.7244 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003266/1.286, allocations: 129.7 kB / 0.7245 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01101/1.297, allocations: 3.068 MB / 0.7275 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00157/1.299, allocations: 1.227 MB / 0.7287 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001183/1.3, allocations: 95.42 kB / 0.7288 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of SimCode: time 1.944e-06/1.3, allocations: 0 / 0.7288 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of Templates: time 0.0745/1.375, allocations: 26.06 MB / 0.7543 GB, free: 192 kB / 0.545 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.sim & ./OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SCRX -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe 2>&1)