Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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_release_OpenIPSL.Examples.Controls.PSSE.ES.SCRX") translateModel(OpenIPSL.Examples.Controls.PSSE.ES.SCRX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_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.001223/0.001223, allocations: 180.9 kB / 15.43 MB, free: 6.207 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.401/1.401, allocations: 225.7 MB / 241.9 MB, free: 14.65 MB / 202.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.0008441/0.0008441, allocations: 90.94 kB / 293 MB, free: 4.824 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.1681/0.1681, allocations: 43.16 MB / 387.4 MB, free: 1.629 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004868/0.0004869, allocations: 12 kB / 458.6 MB, free: 73.77 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1324/0.1329, allocations: 60.5 MB / 0.5069 GB, free: 13.25 MB / 346.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.Controls.PSSE.ES.SCRX): time 0.007679/0.1406, allocations: 7.578 MB / 0.5143 GB, free: 5.641 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.005876/0.1465, allocations: 3.283 MB / 0.5175 GB, free: 2.164 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001583/0.1482, allocations: 16 kB / 0.5175 GB, free: 2.148 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009838/0.1492, allocations: 254.4 kB / 0.5178 GB, free: 1.898 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003636/0.1528, allocations: 1.601 MB / 0.5194 GB, free: 168 kB / 346.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.001907/0.1547, allocations: 0.6282 MB / 0.52 GB, free: 15.54 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003436/0.1582, allocations: 2.213 MB / 0.5221 GB, free: 13.32 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008041/0.159, allocations: 371.9 kB / 0.5225 GB, free: 12.93 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001328/0.1603, allocations: 0.7621 MB / 0.5232 GB, free: 12.16 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001544/0.1619, allocations: 1.027 MB / 0.5242 GB, free: 11.13 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000279/0.1622, allocations: 88 kB / 0.5243 GB, free: 11.05 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009047/0.1631, allocations: 299.8 kB / 0.5246 GB, free: 10.75 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004481/0.1636, allocations: 358.2 kB / 0.5249 GB, free: 10.4 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001033/0.1646, allocations: 0.8364 MB / 0.5258 GB, free: 9.555 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002768/0.1674, allocations: 2.14 MB / 0.5278 GB, free: 7.406 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/0.1674, allocations: 7.922 kB / 0.5279 GB, free: 7.398 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1674, allocations: 0 / 0.5279 GB, free: 7.398 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.58e-05/0.1675, allocations: 4 kB / 0.5279 GB, free: 7.395 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.01716/0.1846, allocations: 3.536 MB / 0.5313 GB, free: 3.801 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.1847, allocations: 8.031 kB / 0.5313 GB, free: 3.793 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00641/0.1911, allocations: 0.7588 MB / 0.5321 GB, free: 3.031 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003316/0.1945, allocations: 1.116 MB / 0.5331 GB, free: 1.863 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007295/0.1952, allocations: 440.7 kB / 0.5336 GB, free: 1.363 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004954/0.1957, allocations: 108 kB / 0.5337 GB, free: 1.258 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004324/0.2001, allocations: 1.51 MB / 0.5351 GB, free: 15.73 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.607e-05/0.2001, allocations: 0 / 0.5351 GB, free: 15.73 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001757/0.2003, allocations: 36 kB / 0.5352 GB, free: 15.7 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.075e-05/0.2004, allocations: 24 kB / 0.5352 GB, free: 15.67 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004485/0.2049, allocations: 1.429 MB / 0.5366 GB, free: 14.24 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 preOpt removeSimpleEquations (simulation): time 0.01224/0.2171, allocations: 5.02 MB / 0.5415 GB, free: 9.004 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01228/0.2294, allocations: 3.452 MB / 0.5449 GB, free: 5.41 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00314/0.2326, allocations: 0.9865 MB / 0.5458 GB, free: 4.414 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001683/0.2328, allocations: 32.84 kB / 0.5459 GB, free: 4.383 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003326/0.2361, allocations: 1.132 MB / 0.547 GB, free: 3.227 MB / 378.7 MB Notification: Performance of pre-optimization done (n=126): time 8.847e-06/0.2362, allocations: 3.984 kB / 0.547 GB, free: 3.223 MB / 378.7 MB Notification: Performance of matching and sorting (n=126): time 0.3351/0.5713, allocations: 11.94 MB / 0.5586 GB, free: 47.5 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.46e-05/0.5714, allocations: 126.3 kB / 0.5588 GB, free: 47.37 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002073/0.5735, allocations: 1.399 MB / 0.5601 GB, free: 47.11 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002564/0.5737, allocations: 53.25 kB / 0.5602 GB, free: 47.06 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004133/0.5741, allocations: 0.599 MB / 0.5608 GB, free: 46.69 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004089/0.5746, allocations: 456.9 kB / 0.5612 GB, free: 46.38 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001303/0.5747, allocations: 35.91 kB / 0.5612 GB, free: 46.35 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.418e-05/0.5748, allocations: 381 kB / 0.5616 GB, free: 46.01 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002112/0.5769, allocations: 1.04 MB / 0.5626 GB, free: 45.59 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002194/0.5791, allocations: 1.249 MB / 0.5638 GB, free: 44.9 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004005/0.5832, allocations: 2.226 MB / 0.566 GB, free: 43.74 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.057e-06/0.5832, allocations: 5 kB / 0.566 GB, free: 43.74 MB / 378.7 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.009285/0.5925, allocations: 4.136 MB / 0.57 GB, free: 41.82 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.649e-05/0.5925, allocations: 5.844 kB / 0.5701 GB, free: 41.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.477e-05/0.5926, allocations: 8.688 kB / 0.5701 GB, free: 41.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008886/0.6014, allocations: 3.35 MB / 0.5733 GB, free: 39.49 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00124/0.6027, allocations: 265.1 kB / 0.5736 GB, free: 39.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006153/0.6089, allocations: 3.313 MB / 0.5768 GB, free: 35.88 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002105/0.611, allocations: 306.2 kB / 0.5771 GB, free: 35.58 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001467/0.6112, allocations: 63.98 kB / 0.5772 GB, free: 35.52 MB / 378.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.0004831/0.6117, allocations: 293.2 kB / 0.5775 GB, free: 35.23 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00021/0.6119, allocations: 162 kB / 0.5776 GB, free: 35.07 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01474/0.6266, allocations: 5.861 MB / 0.5833 GB, free: 29.19 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-05/0.6267, allocations: 19.66 kB / 0.5834 GB, free: 29.17 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.6267, allocations: 3.984 kB / 0.5834 GB, free: 29.17 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.968e-05/0.6267, allocations: 3.984 kB / 0.5834 GB, free: 29.16 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.01727/0.644, allocations: 7.941 MB / 0.5911 GB, free: 21.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.245e-05/0.6441, allocations: 0 / 0.5911 GB, free: 21.12 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009116/0.645, allocations: 139.8 kB / 0.5912 GB, free: 20.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006899/0.6519, allocations: 2.509 MB / 0.5937 GB, free: 18.47 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001837/0.6521, allocations: 31.98 kB / 0.5937 GB, free: 18.44 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02115/0.6733, allocations: 10.32 MB / 0.6038 GB, free: 7.984 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.6733, allocations: 0.5 kB / 0.6038 GB, free: 7.984 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01672/0.69, allocations: 7.058 MB / 0.6107 GB, free: 0.8984 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005445/0.6906, allocations: 282.7 kB / 0.611 GB, free: 0.6016 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002141/0.6909, allocations: 27.92 kB / 0.611 GB, free: 0.5742 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001495/0.6924, allocations: 180.7 kB / 0.6112 GB, free: 408 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007541/0.6931, allocations: 253.2 kB / 0.6114 GB, free: 160 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.228e-05/0.6932, allocations: 35.98 kB / 0.6114 GB, free: 124 kB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001353/0.6946, allocations: 0.9464 MB / 0.6124 GB, free: 15.18 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.6946, allocations: 0 / 0.6124 GB, free: 15.18 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001338/0.6959, allocations: 0.5254 MB / 0.6129 GB, free: 14.65 MB / 394.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.0003096/0.6963, allocations: 157.4 kB / 0.613 GB, free: 14.49 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.008648/0.7049, allocations: 3.21 MB / 0.6162 GB, free: 11.28 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.7049, allocations: 0 / 0.6162 GB, free: 11.28 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006221/0.7112, allocations: 2.166 MB / 0.6183 GB, free: 9.098 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001238/0.7124, allocations: 133.2 kB / 0.6184 GB, free: 8.969 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005472/0.7179, allocations: 3.72 MB / 0.622 GB, free: 5.227 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007331/0.7187, allocations: 1.233 MB / 0.6232 GB, free: 3.965 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005879/0.7193, allocations: 142 kB / 0.6234 GB, free: 3.824 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003368/0.7196, allocations: 87.41 kB / 0.6235 GB, free: 3.738 MB / 394.7 MB Notification: Performance of SimCode: time 1.062e-06/0.7196, allocations: 4 kB / 0.6235 GB, free: 3.734 MB / 394.7 MB Notification: Performance of Templates: time 0.04115/0.7608, allocations: 26.64 MB / 0.6495 GB, free: 9.086 MB / 426.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.Controls.PSSE.ES.SCRX.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.Controls.PSSE.ES.SCRX.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.Controls.PSSE.ES.SCRX.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.Controls.PSSE.ES.SCRX.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.Controls.PSSE.ES.SCRX.sim & ./OpenIPSL_release_OpenIPSL.Examples.Controls.PSSE.ES.SCRX -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.Controls.PSSE.ES.SCRX.pipe 2>&1)