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.001072/0.001072, allocations: 105.9 kB / 15.98 MB, free: 5.895 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.282/1.282, allocations: 222.9 MB / 239.6 MB, free: 4.781 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.001397/0.001397, allocations: 195.9 kB / 289.9 MB, free: 2.504 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4325/0.4325, allocations: 78.53 MB / 418.6 MB, free: 3.281 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001332, allocations: 79.88 kB / 497.6 MB, free: 6.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.129, allocations: 68.18 MB / 0.5525 GB, free: 2.52 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SCRX): time 0.2206/0.3497, allocations: 8.592 MB / 0.5609 GB, free: 34.92 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004638/0.3543, allocations: 2.592 MB / 0.5634 GB, free: 34.24 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001558/0.3559, allocations: 14.38 kB / 0.5634 GB, free: 34.24 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009755/0.3569, allocations: 252.8 kB / 0.5637 GB, free: 34.22 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002914/0.3599, allocations: 1.059 MB / 0.5647 GB, free: 33.99 MB / 430.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.001296/0.3612, allocations: 0.6341 MB / 0.5653 GB, free: 33.94 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002363/0.3636, allocations: 2.322 MB / 0.5676 GB, free: 33.6 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005578/0.3641, allocations: 426.7 kB / 0.568 GB, free: 33.51 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001026/0.3652, allocations: 0.8893 MB / 0.5689 GB, free: 33.29 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001013/0.3662, allocations: 1.129 MB / 0.57 GB, free: 33.02 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002453/0.3664, allocations: 181.3 kB / 0.5702 GB, free: 33.02 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000627/0.3671, allocations: 411.1 kB / 0.5706 GB, free: 33.01 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002706/0.3674, allocations: 464.1 kB / 0.571 GB, free: 32.91 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006209/0.368, allocations: 0.9124 MB / 0.5719 GB, free: 32.59 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001447/0.3694, allocations: 1.765 MB / 0.5736 GB, free: 32.32 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.3695, allocations: 2.719 kB / 0.5736 GB, free: 32.32 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.3695, allocations: 0 / 0.5736 GB, free: 32.32 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.861e-05/0.3695, allocations: 0 / 0.5736 GB, free: 32.32 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.01233/0.3818, allocations: 3.754 MB / 0.5773 GB, free: 31.22 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.3819, allocations: 11.66 kB / 0.5773 GB, free: 31.22 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004157/0.3861, allocations: 0.7549 MB / 0.578 GB, free: 31.1 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001759/0.3878, allocations: 1.106 MB / 0.5791 GB, free: 30.48 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003593/0.3882, allocations: 434.6 kB / 0.5795 GB, free: 30.09 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002011/0.3884, allocations: 116.3 kB / 0.5796 GB, free: 30.05 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002564/0.391, allocations: 1.425 MB / 0.581 GB, free: 29.5 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.441e-05/0.391, allocations: 0 / 0.581 GB, free: 29.5 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001153/0.3912, allocations: 36.22 kB / 0.5811 GB, free: 29.48 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.833e-05/0.3912, allocations: 25.09 kB / 0.5811 GB, free: 29.48 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002669/0.3939, allocations: 1.352 MB / 0.5824 GB, free: 29.02 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.008148/0.402, allocations: 4.934 MB / 0.5872 GB, free: 26.17 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007849/0.4099, allocations: 2.89 MB / 0.59 GB, free: 25 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002064/0.412, allocations: 0.9133 MB / 0.5909 GB, free: 24.63 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001594/0.4122, allocations: 37.69 kB / 0.591 GB, free: 24.61 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002149/0.4143, allocations: 1.051 MB / 0.592 GB, free: 24.22 MB / 430.1 MB Notification: Performance of pre-optimization done (n=126): time 3.527e-06/0.4143, allocations: 1.125 kB / 0.592 GB, free: 24.22 MB / 430.1 MB Notification: Performance of matching and sorting (n=126): time 0.04034/0.4547, allocations: 9.796 MB / 0.6016 GB, free: 22.57 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.428e-05/0.4548, allocations: 121.4 kB / 0.6017 GB, free: 22.44 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002647/0.4574, allocations: 1.414 MB / 0.6031 GB, free: 21.87 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004291/0.4579, allocations: 51.67 kB / 0.6031 GB, free: 21.82 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000399/0.4583, allocations: 0.5989 MB / 0.6037 GB, free: 21.35 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005344/0.4588, allocations: 457.6 kB / 0.6041 GB, free: 20.99 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006591/0.4595, allocations: 333 kB / 0.6044 GB, free: 20.84 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.429e-05/0.4596, allocations: 305.1 kB / 0.6047 GB, free: 20.54 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002218/0.4618, allocations: 0.9732 MB / 0.6057 GB, free: 20.18 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00226/0.4641, allocations: 1.173 MB / 0.6068 GB, free: 19.52 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004207/0.4683, allocations: 2.077 MB / 0.6089 GB, free: 18.38 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.259e-05/0.4683, allocations: 9.312 kB / 0.6089 GB, free: 18.37 MB / 430.1 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.009021/0.4773, allocations: 3.704 MB / 0.6125 GB, free: 16.52 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.513e-05/0.4774, allocations: 6.906 kB / 0.6125 GB, free: 16.52 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.714e-05/0.4774, allocations: 8.625 kB / 0.6125 GB, free: 16.52 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009292/0.4867, allocations: 2.98 MB / 0.6154 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001366/0.4881, allocations: 259.6 kB / 0.6157 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00626/0.4944, allocations: 2.996 MB / 0.6186 GB, free: 11.46 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002431/0.4969, allocations: 250.3 kB / 0.6188 GB, free: 11.21 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002297/0.4971, allocations: 65.16 kB / 0.6189 GB, free: 11.15 MB / 430.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.000588/0.4977, allocations: 301.5 kB / 0.6192 GB, free: 10.84 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003284/0.4981, allocations: 168.1 kB / 0.6193 GB, free: 10.68 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01413/0.5122, allocations: 4.812 MB / 0.624 GB, free: 5.848 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.035e-05/0.5123, allocations: 12 kB / 0.624 GB, free: 5.836 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.797e-06/0.5123, allocations: 0 / 0.624 GB, free: 5.836 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.279e-05/0.5123, allocations: 11.91 kB / 0.6241 GB, free: 5.824 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 postOpt removeSimpleEquations (simulation): time 0.01758/0.5299, allocations: 6.895 MB / 0.6308 GB, free: 14.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.521e-05/0.53, allocations: 0 / 0.6308 GB, free: 14.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009701/0.5309, allocations: 143.8 kB / 0.6309 GB, free: 14.65 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007244/0.5382, allocations: 2.151 MB / 0.633 GB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000296/0.5385, allocations: 28 kB / 0.6331 GB, free: 12.47 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02481/0.5633, allocations: 10.07 MB / 0.6429 GB, free: 2.25 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.5634, allocations: 0 / 0.6429 GB, free: 2.25 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01827/0.5817, allocations: 5.952 MB / 0.6487 GB, free: 12.27 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006427/0.5824, allocations: 270.8 kB / 0.649 GB, free: 11.98 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003725/0.5828, allocations: 23.94 kB / 0.649 GB, free: 11.96 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001623/0.5844, allocations: 135.8 kB / 0.6491 GB, free: 11.83 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008257/0.5852, allocations: 257.4 kB / 0.6494 GB, free: 11.57 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001071/0.5853, allocations: 39.98 kB / 0.6494 GB, free: 11.53 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001396/0.5867, allocations: 0.9503 MB / 0.6503 GB, free: 10.58 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5868, allocations: 0 / 0.6503 GB, free: 10.58 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001524/0.5883, allocations: 0.5307 MB / 0.6508 GB, free: 10.05 MB / 462.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.0003625/0.5887, allocations: 160.1 kB / 0.651 GB, free: 9.891 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.009092/0.5978, allocations: 2.932 MB / 0.6539 GB, free: 6.969 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.582e-06/0.5978, allocations: 5.594 kB / 0.6539 GB, free: 6.965 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006086/0.6039, allocations: 1.919 MB / 0.6557 GB, free: 5.035 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001513/0.6055, allocations: 138.5 kB / 0.6559 GB, free: 4.898 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006003/0.6115, allocations: 3.618 MB / 0.6594 GB, free: 1.32 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007092/0.6122, allocations: 1.223 MB / 0.6606 GB, free: 68 kB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005994/0.6128, allocations: 103.5 kB / 0.6607 GB, free: 15.96 MB / 478.1 MB Notification: Performance of SimCode: time 6.32e-07/0.6128, allocations: 0 / 0.6607 GB, free: 15.96 MB / 478.1 MB Notification: Performance of Templates: time 0.03168/0.6445, allocations: 25.68 MB / 0.6858 GB, free: 6.422 MB / 494.1 MB 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)