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.001425/0.001425, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.33/1.33, allocations: 222.9 MB / 239.2 MB, free: 4.645 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.001392/0.001392, allocations: 184.5 kB / 289.5 MB, free: 2.371 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4999/0.4999, allocations: 91.9 MB / 431.6 MB, free: 9.309 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001529/0.001529, allocations: 79.88 kB / 0.5019 GB, free: 7.77 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.346/0.3476, allocations: 71.26 MB / 0.5715 GB, free: 36.71 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SCRX): time 0.006486/0.3541, allocations: 8.294 MB / 0.5796 GB, free: 31.68 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004015/0.3581, allocations: 2.55 MB / 0.5821 GB, free: 29.89 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007557/0.3589, allocations: 15.34 kB / 0.5821 GB, free: 29.88 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000706/0.3596, allocations: 316.3 kB / 0.5824 GB, free: 29.71 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002141/0.3618, allocations: 1.124 MB / 0.5835 GB, free: 28.98 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001288/0.3631, allocations: 0.6787 MB / 0.5841 GB, free: 28.66 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001803/0.3649, allocations: 2.186 MB / 0.5863 GB, free: 27.59 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004998/0.3655, allocations: 424.6 kB / 0.5867 GB, free: 27.39 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000895/0.3664, allocations: 0.877 MB / 0.5875 GB, free: 26.95 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009742/0.3673, allocations: 1.118 MB / 0.5886 GB, free: 26.42 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003298/0.3677, allocations: 189.8 kB / 0.5888 GB, free: 26.41 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007648/0.3685, allocations: 408.5 kB / 0.5892 GB, free: 26.35 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002866/0.3688, allocations: 461.9 kB / 0.5896 GB, free: 26.05 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006202/0.3694, allocations: 0.9016 MB / 0.5905 GB, free: 25.44 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001651/0.371, allocations: 2.268 MB / 0.5927 GB, free: 24.44 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.3711, allocations: 0 / 0.5927 GB, free: 24.44 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3711, allocations: 1.156 kB / 0.5927 GB, free: 24.44 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.144e-05/0.3711, allocations: 4 kB / 0.5927 GB, free: 24.44 MB / 430.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.01168/0.3828, allocations: 3.542 MB / 0.5962 GB, free: 22.96 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.3828, allocations: 9.688 kB / 0.5962 GB, free: 22.96 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004593/0.3874, allocations: 0.7483 MB / 0.5969 GB, free: 22.79 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001809/0.3893, allocations: 1.11 MB / 0.598 GB, free: 22.07 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003797/0.3897, allocations: 427.1 kB / 0.5984 GB, free: 21.69 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002034/0.3899, allocations: 113.2 kB / 0.5985 GB, free: 21.65 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002766/0.3926, allocations: 1.434 MB / 0.5999 GB, free: 21.09 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.442e-05/0.3927, allocations: 0 / 0.5999 GB, free: 21.09 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001221/0.3928, allocations: 46.56 kB / 0.6 GB, free: 21.06 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.682e-05/0.3928, allocations: 22.97 kB / 0.6 GB, free: 21.06 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002866/0.3957, allocations: 1.347 MB / 0.6013 GB, free: 20.61 MB / 430.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.008344/0.4041, allocations: 4.938 MB / 0.6061 GB, free: 17.75 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008121/0.4122, allocations: 2.893 MB / 0.609 GB, free: 16.57 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002218/0.4145, allocations: 0.9158 MB / 0.6099 GB, free: 16.2 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001479/0.4146, allocations: 31.28 kB / 0.6099 GB, free: 16.18 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002225/0.4169, allocations: 1.059 MB / 0.6109 GB, free: 15.78 MB / 430.1 MB Notification: Performance of pre-optimization done (n=126): time 3.807e-06/0.4169, allocations: 1.438 kB / 0.6109 GB, free: 15.78 MB / 430.1 MB Notification: Performance of matching and sorting (n=126): time 0.04164/0.4585, allocations: 9.803 MB / 0.6205 GB, free: 11.94 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.624e-05/0.4586, allocations: 115.8 kB / 0.6206 GB, free: 11.8 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00311/0.4618, allocations: 1.419 MB / 0.622 GB, free: 10.37 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004776/0.4623, allocations: 49.7 kB / 0.622 GB, free: 10.31 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004882/0.4628, allocations: 0.5924 MB / 0.6226 GB, free: 9.715 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000621/0.4634, allocations: 465.4 kB / 0.6231 GB, free: 9.254 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008285/0.4642, allocations: 331.5 kB / 0.6234 GB, free: 8.926 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.406e-05/0.4643, allocations: 309.1 kB / 0.6237 GB, free: 8.621 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00313/0.4674, allocations: 0.9761 MB / 0.6246 GB, free: 7.645 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003322/0.4708, allocations: 1.166 MB / 0.6258 GB, free: 6.434 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006122/0.4769, allocations: 2.081 MB / 0.6278 GB, free: 4.309 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.034e-05/0.4769, allocations: 3.938 kB / 0.6278 GB, free: 4.305 MB / 430.1 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.01333/0.4903, allocations: 3.711 MB / 0.6314 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.044e-05/0.4903, allocations: 4 kB / 0.6314 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.831e-05/0.4904, allocations: 4 kB / 0.6314 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01533/0.5057, allocations: 2.993 MB / 0.6344 GB, free: 13.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002134/0.5079, allocations: 259.6 kB / 0.6346 GB, free: 13.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01099/0.5189, allocations: 3 MB / 0.6375 GB, free: 10.29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004069/0.523, allocations: 250.3 kB / 0.6378 GB, free: 10.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004336/0.5235, allocations: 67.97 kB / 0.6378 GB, free: 9.98 MB / 446.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.001253/0.5248, allocations: 298.5 kB / 0.6381 GB, free: 9.68 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008726/0.5256, allocations: 161.9 kB / 0.6383 GB, free: 9.52 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02437/0.55, allocations: 4.815 MB / 0.643 GB, free: 4.676 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.452e-05/0.5501, allocations: 12 kB / 0.643 GB, free: 4.664 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.066e-05/0.5501, allocations: 0 / 0.643 GB, free: 4.664 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.981e-05/0.5502, allocations: 15.91 kB / 0.643 GB, free: 4.648 MB / 446.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 postOpt removeSimpleEquations (simulation): time 0.02501/0.5752, allocations: 6.898 MB / 0.6497 GB, free: 13.61 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.396e-05/0.5752, allocations: 0 / 0.6497 GB, free: 13.61 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001012/0.5763, allocations: 143.8 kB / 0.6499 GB, free: 13.47 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008243/0.5845, allocations: 2.15 MB / 0.652 GB, free: 11.32 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003784/0.5849, allocations: 24 kB / 0.652 GB, free: 11.29 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02731/0.6123, allocations: 10.07 MB / 0.6618 GB, free: 1.07 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.6123, allocations: 4 kB / 0.6618 GB, free: 1.066 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02021/0.6325, allocations: 5.954 MB / 0.6677 GB, free: 11.08 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009237/0.6335, allocations: 270.8 kB / 0.6679 GB, free: 10.79 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000699/0.6342, allocations: 27.94 kB / 0.6679 GB, free: 10.77 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002168/0.6364, allocations: 139.8 kB / 0.6681 GB, free: 10.63 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001066/0.6375, allocations: 257.4 kB / 0.6683 GB, free: 10.38 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002257/0.6377, allocations: 35.98 kB / 0.6683 GB, free: 10.34 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001969/0.6397, allocations: 0.9543 MB / 0.6693 GB, free: 9.387 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.6397, allocations: 0 / 0.6693 GB, free: 9.387 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002596/0.6423, allocations: 0.5307 MB / 0.6698 GB, free: 8.855 MB / 478.1 MB 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.0005054/0.6428, allocations: 151 kB / 0.6699 GB, free: 8.699 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01023/0.6531, allocations: 2.931 MB / 0.6728 GB, free: 5.777 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.345e-06/0.6531, allocations: 4.312 kB / 0.6728 GB, free: 5.773 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006587/0.6597, allocations: 1.926 MB / 0.6747 GB, free: 3.824 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00211/0.6619, allocations: 143.8 kB / 0.6748 GB, free: 3.684 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006888/0.6688, allocations: 3.061 MB / 0.6778 GB, free: 0.5977 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001061/0.6699, allocations: 1.227 MB / 0.679 GB, free: 15.34 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0007969/0.6707, allocations: 142 kB / 0.6792 GB, free: 15.2 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004501/0.6711, allocations: 91.42 kB / 0.6792 GB, free: 15.11 MB / 494.1 MB Notification: Performance of SimCode: time 8.41e-07/0.6711, allocations: 4 kB / 0.6792 GB, free: 15.11 MB / 494.1 MB Notification: Performance of Templates: time 0.05127/0.7224, allocations: 30.31 MB / 0.7088 GB, free: 0.8125 MB / 0.4981 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)