Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.Controls.PSSE.ES.SCRX.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo", uses=false) Using package OpenIPSL with version 2.0.0-beta.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.Controls.PSSE.ES.SCRX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Controls.PSSE.ES.SCRX") translateModel(OpenIPSL.Examples.Controls.PSSE.ES.SCRX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Controls.PSSE.ES.SCRX") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009351/0.0009352, allocations: 176.8 kB / 15.43 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.343/1.343, allocations: 225.7 MB / 241.9 MB, free: 400 kB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008006/0.0008007, allocations: 104.3 kB / 293.1 MB, free: 12.91 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo): time 0.1696/0.1696, allocations: 43.17 MB / 387.4 MB, free: 15.51 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003731/0.0003732, allocations: 8 kB / 458.6 MB, free: 55.45 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1072, allocations: 60.5 MB / 0.5069 GB, free: 10.87 MB / 346.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.Controls.PSSE.ES.SCRX): time 0.008537/0.1158, allocations: 7.586 MB / 0.5143 GB, free: 3.254 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.006522/0.1223, allocations: 3.283 MB / 0.5175 GB, free: 15.78 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001371/0.1237, allocations: 12 kB / 0.5175 GB, free: 15.77 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001182/0.1249, allocations: 258.4 kB / 0.5178 GB, free: 15.51 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004512/0.1295, allocations: 1.585 MB / 0.5193 GB, free: 13.79 MB / 362.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/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.001734/0.1312, allocations: 0.6321 MB / 0.52 GB, free: 13.16 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003242/0.1345, allocations: 2.209 MB / 0.5221 GB, free: 10.95 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006161/0.1351, allocations: 371.9 kB / 0.5225 GB, free: 10.56 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00119/0.1363, allocations: 0.766 MB / 0.5232 GB, free: 9.789 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001149/0.1374, allocations: 1.027 MB / 0.5242 GB, free: 8.758 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001939/0.1376, allocations: 88 kB / 0.5243 GB, free: 8.672 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006757/0.1383, allocations: 303.8 kB / 0.5246 GB, free: 8.375 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003263/0.1387, allocations: 358.2 kB / 0.5249 GB, free: 8.023 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000712/0.1394, allocations: 0.8286 MB / 0.5257 GB, free: 7.184 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001987/0.1414, allocations: 2.148 MB / 0.5278 GB, free: 5.027 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.1414, allocations: 0 / 0.5278 GB, free: 5.027 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.1414, allocations: 0 / 0.5278 GB, free: 5.027 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.263e-05/0.1414, allocations: 4 kB / 0.5278 GB, free: 5.023 MB / 362.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.01241/0.1539, allocations: 3.536 MB / 0.5313 GB, free: 1.426 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/0.1539, allocations: 12.03 kB / 0.5313 GB, free: 1.414 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004583/0.1585, allocations: 0.7549 MB / 0.5321 GB, free: 0.6562 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2097/0.3683, allocations: 1.107 MB / 0.5331 GB, free: 30.93 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004767/0.3688, allocations: 439.7 kB / 0.5336 GB, free: 30.58 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002855/0.3691, allocations: 111.8 kB / 0.5337 GB, free: 30.58 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00333/0.3724, allocations: 1.508 MB / 0.5351 GB, free: 30.36 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.024e-05/0.3724, allocations: 0 / 0.5351 GB, free: 30.36 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001082/0.3726, allocations: 36.95 kB / 0.5352 GB, free: 30.33 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.575e-05/0.3726, allocations: 27.31 kB / 0.5352 GB, free: 30.32 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003049/0.3756, allocations: 1.432 MB / 0.5366 GB, free: 29.87 MB / 362.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.008788/0.3844, allocations: 5.02 MB / 0.5415 GB, free: 27.18 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009276/0.3937, allocations: 3.452 MB / 0.5449 GB, free: 25.93 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00246/0.3962, allocations: 0.9874 MB / 0.5458 GB, free: 25.56 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001388/0.3964, allocations: 25.75 kB / 0.5459 GB, free: 25.55 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002432/0.3988, allocations: 1.135 MB / 0.547 GB, free: 25.14 MB / 362.7 MB Notification: Performance of pre-optimization done (n=126): time 2.875e-06/0.3988, allocations: 0 / 0.547 GB, free: 25.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=126): time 0.04067/0.4395, allocations: 11.96 MB / 0.5586 GB, free: 20.6 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.44e-05/0.4396, allocations: 119.8 kB / 0.5588 GB, free: 20.45 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001923/0.4415, allocations: 1.403 MB / 0.5601 GB, free: 19.04 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003243/0.4419, allocations: 53.64 kB / 0.5602 GB, free: 18.98 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003238/0.4422, allocations: 0.599 MB / 0.5608 GB, free: 18.38 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004045/0.4426, allocations: 459.7 kB / 0.5612 GB, free: 17.94 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001086/0.4427, allocations: 40.03 kB / 0.5612 GB, free: 17.9 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.599e-05/0.4428, allocations: 379.6 kB / 0.5616 GB, free: 17.52 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001848/0.4447, allocations: 1.042 MB / 0.5626 GB, free: 16.48 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001938/0.4466, allocations: 1.244 MB / 0.5638 GB, free: 15.19 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003601/0.4502, allocations: 2.238 MB / 0.566 GB, free: 12.91 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.171e-06/0.4503, allocations: 0 / 0.566 GB, free: 12.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.008633/0.4589, allocations: 4.133 MB / 0.5701 GB, free: 8.762 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/0.4589, allocations: 8 kB / 0.5701 GB, free: 8.754 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.459, allocations: 4 kB / 0.5701 GB, free: 8.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009032/0.468, allocations: 3.352 MB / 0.5733 GB, free: 5.395 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001382/0.4694, allocations: 271.6 kB / 0.5736 GB, free: 5.129 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006207/0.4756, allocations: 3.301 MB / 0.5768 GB, free: 1.797 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002299/0.4779, allocations: 306.2 kB / 0.5771 GB, free: 1.496 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001414/0.4781, allocations: 63.98 kB / 0.5772 GB, free: 1.434 MB / 362.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 ($whenCondition1,$whenCondition2) * 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.0005802/0.4787, allocations: 298.6 kB / 0.5775 GB, free: 1.133 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002077/0.4789, allocations: 154 kB / 0.5776 GB, free: 0.9805 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01677/0.4957, allocations: 5.86 MB / 0.5833 GB, free: 11.11 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.608e-05/0.4957, allocations: 12 kB / 0.5833 GB, free: 11.09 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.756e-06/0.4957, allocations: 3.938 kB / 0.5833 GB, free: 11.09 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-05/0.4958, allocations: 14.05 kB / 0.5834 GB, free: 11.08 MB / 378.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.01982/0.5156, allocations: 7.936 MB / 0.5911 GB, free: 3.031 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.437e-05/0.5156, allocations: 0 / 0.5911 GB, free: 3.031 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009737/0.5166, allocations: 144.7 kB / 0.5912 GB, free: 2.891 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007591/0.5242, allocations: 2.517 MB / 0.5937 GB, free: 380 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002571/0.5245, allocations: 28 kB / 0.5937 GB, free: 352 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0247/0.5492, allocations: 10.31 MB / 0.6038 GB, free: 5.902 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.5492, allocations: 0 / 0.6038 GB, free: 5.902 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01971/0.569, allocations: 7.071 MB / 0.6107 GB, free: 14.8 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006276/0.5696, allocations: 278.6 kB / 0.611 GB, free: 14.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002467/0.5699, allocations: 28 kB / 0.611 GB, free: 14.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001592/0.5715, allocations: 175.8 kB / 0.6112 GB, free: 14.3 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009117/0.5724, allocations: 257.2 kB / 0.6114 GB, free: 14.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000106/0.5725, allocations: 35.98 kB / 0.6114 GB, free: 14.02 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001455/0.574, allocations: 0.9464 MB / 0.6124 GB, free: 13.07 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-07/0.574, allocations: 0 / 0.6124 GB, free: 13.07 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0015/0.5755, allocations: 0.5215 MB / 0.6129 GB, free: 12.55 MB / 410.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.0003182/0.5758, allocations: 156.7 kB / 0.613 GB, free: 12.39 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.009008/0.5848, allocations: 3.212 MB / 0.6162 GB, free: 9.188 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.5849, allocations: 0 / 0.6162 GB, free: 9.188 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006298/0.5912, allocations: 2.164 MB / 0.6183 GB, free: 7.008 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001342/0.5925, allocations: 143 kB / 0.6184 GB, free: 6.867 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005841/0.5984, allocations: 3.715 MB / 0.622 GB, free: 3.121 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008461/0.5993, allocations: 1.223 MB / 0.6232 GB, free: 1.871 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006251/0.5999, allocations: 142 kB / 0.6234 GB, free: 1.73 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003232/0.6002, allocations: 95.36 kB / 0.6235 GB, free: 1.637 MB / 410.7 MB Notification: Performance of SimCode: time 5.81e-07/0.6002, allocations: 0 / 0.6235 GB, free: 1.637 MB / 410.7 MB Notification: Performance of Templates: time 0.04542/0.6457, allocations: 26.65 MB / 0.6495 GB, free: 6.98 MB / 442.7 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.Controls.PSSE.ES.SCRX.makefile (rm -f OpenIPSL_OpenIPSL.Examples.Controls.PSSE.ES.SCRX.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.Controls.PSSE.ES.SCRX.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.Controls.PSSE.ES.SCRX.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.Controls.PSSE.ES.SCRX.sim & ./OpenIPSL_OpenIPSL.Examples.Controls.PSSE.ES.SCRX -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.Controls.PSSE.ES.SCRX.pipe 2>&1)