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/Complex 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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/Complex 4.0.0+maint.om/package.mo): time 0.001045/0.001045, allocations: 182.8 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.201/1.201, allocations: 222.9 MB / 239.7 MB, free: 10.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009959/0.0009958, allocations: 112.7 kB / 289.9 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4146/0.4146, allocations: 78.52 MB / 418.5 MB, free: 8.492 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 67.89 kB / 497.5 MB, free: 10.27 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2782/0.2795, allocations: 68.17 MB / 0.5524 GB, free: 19.86 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SCRX): time 0.005975/0.2855, allocations: 8.591 MB / 0.5608 GB, free: 11.22 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003942/0.2895, allocations: 2.603 MB / 0.5634 GB, free: 8.617 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007861/0.2903, allocations: 15.94 kB / 0.5634 GB, free: 8.602 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006162/0.291, allocations: 250.4 kB / 0.5636 GB, free: 8.355 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002053/0.293, allocations: 1.076 MB / 0.5647 GB, free: 7.281 MB / 378.7 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.001085/0.2941, allocations: 0.6384 MB / 0.5653 GB, free: 6.652 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001568/0.2957, allocations: 2.244 MB / 0.5675 GB, free: 4.402 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003981/0.2961, allocations: 385.7 kB / 0.5678 GB, free: 4.004 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006162/0.2967, allocations: 0.7973 MB / 0.5686 GB, free: 3.203 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007564/0.2975, allocations: 1.062 MB / 0.5697 GB, free: 2.137 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001761/0.2977, allocations: 108 kB / 0.5698 GB, free: 2.031 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005311/0.2982, allocations: 327.7 kB / 0.5701 GB, free: 1.711 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002313/0.2985, allocations: 386.2 kB / 0.5704 GB, free: 1.332 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004687/0.2989, allocations: 0.8387 MB / 0.5713 GB, free: 500 kB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001682/0.3006, allocations: 2.199 MB / 0.5734 GB, free: 14.28 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.3006, allocations: 0 / 0.5734 GB, free: 14.28 MB / 394.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.3007, allocations: 3.938 kB / 0.5734 GB, free: 14.28 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.724e-05/0.3007, allocations: 0 / 0.5734 GB, free: 14.28 MB / 394.7 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.01301/0.3137, allocations: 3.761 MB / 0.5771 GB, free: 10.46 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.3137, allocations: 8.031 kB / 0.5771 GB, free: 10.45 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004193/0.3179, allocations: 0.7549 MB / 0.5778 GB, free: 9.691 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001819/0.3198, allocations: 1.105 MB / 0.5789 GB, free: 8.535 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004195/0.3202, allocations: 436.7 kB / 0.5793 GB, free: 8.039 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001984/0.3204, allocations: 111.9 kB / 0.5794 GB, free: 7.93 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002805/0.3232, allocations: 1.424 MB / 0.5808 GB, free: 6.488 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.3233, allocations: 0 / 0.5808 GB, free: 6.488 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001093/0.3234, allocations: 40 kB / 0.5809 GB, free: 6.449 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.041e-05/0.3234, allocations: 24 kB / 0.5809 GB, free: 6.426 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002857/0.3263, allocations: 1.351 MB / 0.5822 GB, free: 5.074 MB / 394.7 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.008247/0.3345, allocations: 4.942 MB / 0.587 GB, free: 15.92 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008255/0.3428, allocations: 2.887 MB / 0.5898 GB, free: 12.9 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001891/0.3447, allocations: 0.9074 MB / 0.5907 GB, free: 11.98 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001347/0.3449, allocations: 32.92 kB / 0.5908 GB, free: 11.95 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002079/0.347, allocations: 1.054 MB / 0.5918 GB, free: 10.87 MB / 410.7 MB Notification: Performance of pre-optimization done (n=126): time 2.845e-06/0.347, allocations: 4 kB / 0.5918 GB, free: 10.87 MB / 410.7 MB Notification: Performance of matching and sorting (n=126): time 0.03954/0.3865, allocations: 9.789 MB / 0.6014 GB, free: 1.039 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.823e-05/0.3866, allocations: 115.8 kB / 0.6015 GB, free: 0.8984 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002293/0.3889, allocations: 1.415 MB / 0.6028 GB, free: 15.47 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002438/0.3892, allocations: 49.7 kB / 0.6029 GB, free: 15.42 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004184/0.3896, allocations: 0.6002 MB / 0.6035 GB, free: 14.81 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005548/0.3902, allocations: 457.5 kB / 0.6039 GB, free: 14.36 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005878/0.3908, allocations: 343.4 kB / 0.6042 GB, free: 14.02 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.38e-05/0.3909, allocations: 301.1 kB / 0.6045 GB, free: 13.72 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002047/0.3929, allocations: 0.9722 MB / 0.6055 GB, free: 12.75 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002169/0.3951, allocations: 1.178 MB / 0.6066 GB, free: 11.52 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004059/0.3992, allocations: 2.077 MB / 0.6087 GB, free: 9.406 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.605e-06/0.3992, allocations: 3.938 kB / 0.6087 GB, free: 9.402 MB / 426.7 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.009038/0.4083, allocations: 3.711 MB / 0.6123 GB, free: 5.68 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.28e-05/0.4083, allocations: 8 kB / 0.6123 GB, free: 5.672 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.468e-05/0.4083, allocations: 4 kB / 0.6123 GB, free: 5.668 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009549/0.4179, allocations: 2.97 MB / 0.6152 GB, free: 2.695 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001278/0.4192, allocations: 267.6 kB / 0.6155 GB, free: 2.434 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006776/0.426, allocations: 2.988 MB / 0.6184 GB, free: 15.42 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002363/0.4284, allocations: 250.3 kB / 0.6186 GB, free: 15.17 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002284/0.4286, allocations: 63.98 kB / 0.6187 GB, free: 15.11 MB / 442.7 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.0006482/0.4293, allocations: 318.4 kB / 0.619 GB, free: 14.79 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003885/0.4297, allocations: 157.9 kB / 0.6191 GB, free: 14.63 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0158/0.4455, allocations: 4.807 MB / 0.6238 GB, free: 9.801 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.69e-05/0.4455, allocations: 15.94 kB / 0.6238 GB, free: 9.785 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.4456, allocations: 8 kB / 0.6238 GB, free: 9.777 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-05/0.4456, allocations: 7.922 kB / 0.6239 GB, free: 9.77 MB / 442.7 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.01868/0.4643, allocations: 6.891 MB / 0.6306 GB, free: 2.738 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.336e-05/0.4643, allocations: 4 kB / 0.6306 GB, free: 2.734 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008652/0.4652, allocations: 147.8 kB / 0.6307 GB, free: 2.59 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007445/0.4727, allocations: 2.138 MB / 0.6328 GB, free: 460 kB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002412/0.4729, allocations: 28 kB / 0.6328 GB, free: 432 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02342/0.4964, allocations: 9.168 MB / 0.6418 GB, free: 7.109 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.4964, allocations: 3.984 kB / 0.6418 GB, free: 7.105 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3774/0.8738, allocations: 40.57 MB / 0.6814 GB, free: 109.1 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004195/0.8743, allocations: 271.5 kB / 0.6817 GB, free: 109 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002433/0.8746, allocations: 26.38 kB / 0.6817 GB, free: 109 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001668/0.8763, allocations: 135.6 kB / 0.6818 GB, free: 109 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009793/0.8773, allocations: 257.2 kB / 0.6821 GB, free: 109 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001218/0.8774, allocations: 33.78 kB / 0.6821 GB, free: 109 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001648/0.879, allocations: 0.9591 MB / 0.683 GB, free: 108.9 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.01e-07/0.8791, allocations: 0 / 0.683 GB, free: 108.9 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003755/0.8828, allocations: 0.7879 MB / 0.6838 GB, free: 108.9 MB / 490.7 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.0005597/0.8834, allocations: 164.9 kB / 0.684 GB, free: 108.8 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.009642/0.893, allocations: 2.857 MB / 0.6868 GB, free: 108.8 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.605e-06/0.8931, allocations: 0.75 kB / 0.6868 GB, free: 108.8 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007237/0.9003, allocations: 1.892 MB / 0.6886 GB, free: 108.5 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001679/0.9021, allocations: 132.8 kB / 0.6887 GB, free: 108.5 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0114/0.9135, allocations: 5.253 MB / 0.6939 GB, free: 106.1 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000834/0.9144, allocations: 1.284 MB / 0.6951 GB, free: 105.3 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0007244/0.9151, allocations: 153.7 kB / 0.6953 GB, free: 105.3 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003815/0.9155, allocations: 101.3 kB / 0.6954 GB, free: 105.3 MB / 490.7 MB Notification: Performance of SimCode: time 1.132e-06/0.9155, allocations: 0 / 0.6954 GB, free: 105.3 MB / 490.7 MB Notification: Performance of Templates: time 0.04709/0.9626, allocations: 41.85 MB / 0.7362 GB, free: 72.56 MB / 490.7 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)