Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.Controls.PSAT.OEL.AVRTypeII_OEL_Test.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.PSAT.OEL.AVRTypeII_OEL_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.Controls.PSAT.OEL.AVRTypeII_OEL_Test") translateModel(OpenIPSL.Examples.Controls.PSAT.OEL.AVRTypeII_OEL_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.Controls.PSAT.OEL.AVRTypeII_OEL_Test") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001326/0.001326, allocations: 173.6 kB / 15.43 MB, free: 6.203 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.49/1.49, allocations: 225.7 MB / 241.9 MB, free: 184 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.0009003/0.0009004, allocations: 93.06 kB / 293.1 MB, free: 12.86 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.1709/0.1709, allocations: 43.17 MB / 387.4 MB, free: 15.45 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004175/0.0004176, allocations: 8 kB / 458.6 MB, free: 55.41 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1336, allocations: 60.5 MB / 0.5069 GB, free: 10.84 MB / 346.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.Controls.PSAT.OEL.AVRTypeII_OEL_Test): time 0.01189/0.1456, allocations: 6.437 MB / 0.5132 GB, free: 4.375 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.008307/0.154, allocations: 2.863 MB / 0.516 GB, free: 1.324 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001693/0.1557, allocations: 16 kB / 0.516 GB, free: 1.309 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001403/0.1572, allocations: 202.7 kB / 0.5162 GB, free: 1.109 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003963/0.1611, allocations: 0.9759 MB / 0.5172 GB, free: 60 kB / 346.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/Electrical/Machines/PSAT/Order4.mo:25:3-30:9:writable] Warning: In relation generator.xq <> generator.x1q, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.00328/0.1644, allocations: 0.8449 MB / 0.518 GB, free: 15.18 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003698/0.1682, allocations: 1.631 MB / 0.5196 GB, free: 13.54 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001075/0.1693, allocations: 363.2 kB / 0.5199 GB, free: 13.16 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001664/0.171, allocations: 0.6025 MB / 0.5205 GB, free: 12.55 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001721/0.1727, allocations: 0.7541 MB / 0.5213 GB, free: 11.8 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004694/0.1732, allocations: 64 kB / 0.5213 GB, free: 11.73 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009416/0.1742, allocations: 183.9 kB / 0.5215 GB, free: 11.55 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005486/0.1747, allocations: 266.5 kB / 0.5217 GB, free: 11.29 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001308/0.1761, allocations: 0.6577 MB / 0.5224 GB, free: 10.62 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003052/0.1791, allocations: 1.689 MB / 0.524 GB, free: 8.93 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.1792, allocations: 0 / 0.524 GB, free: 8.93 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.1792, allocations: 0 / 0.524 GB, free: 8.93 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.125e-05/0.1793, allocations: 0 / 0.524 GB, free: 8.93 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: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.01404/0.1933, allocations: 2.646 MB / 0.5266 GB, free: 6.219 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.671e-05/0.1934, allocations: 8.031 kB / 0.5266 GB, free: 6.211 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009077/0.2025, allocations: 0.806 MB / 0.5274 GB, free: 5.402 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003337/0.2059, allocations: 0.9255 MB / 0.5283 GB, free: 4.422 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007201/0.2066, allocations: 339.6 kB / 0.5286 GB, free: 4.039 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005007/0.2072, allocations: 95.91 kB / 0.5287 GB, free: 3.945 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005616/0.2128, allocations: 1.361 MB / 0.5301 GB, free: 2.562 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.665e-05/0.2129, allocations: 0 / 0.5301 GB, free: 2.562 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002136/0.2131, allocations: 36 kB / 0.5301 GB, free: 2.527 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.193e-05/0.2132, allocations: 20 kB / 0.5301 GB, free: 2.508 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005277/0.2185, allocations: 1.288 MB / 0.5314 GB, free: 1.219 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.2609/0.4794, allocations: 4.25 MB / 0.5355 GB, free: 30.2 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004094/0.4836, allocations: 1.881 MB / 0.5374 GB, free: 29.16 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002039/0.4857, allocations: 0.935 MB / 0.5383 GB, free: 28.82 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001572/0.4858, allocations: 15.41 kB / 0.5383 GB, free: 28.82 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002501/0.4884, allocations: 1.038 MB / 0.5393 GB, free: 28.45 MB / 362.7 MB Notification: Performance of pre-optimization done (n=108): time 6.622e-06/0.4884, allocations: 0 / 0.5393 GB, free: 28.45 MB / 362.7 MB Notification: Performance of matching and sorting (n=108): time 0.03704/0.5254, allocations: 9.461 MB / 0.5485 GB, free: 26.43 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.976e-05/0.5256, allocations: 119.7 kB / 0.5487 GB, free: 26.3 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00246/0.5281, allocations: 1.025 MB / 0.5497 GB, free: 25.73 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003614/0.5284, allocations: 50.31 kB / 0.5497 GB, free: 25.68 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004227/0.5289, allocations: 0.5246 MB / 0.5502 GB, free: 25.25 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006393/0.5295, allocations: 400.3 kB / 0.5506 GB, free: 24.92 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002214/0.5298, allocations: 25.5 kB / 0.5506 GB, free: 24.9 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.5299, allocations: 358.4 kB / 0.551 GB, free: 24.56 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001992/0.5319, allocations: 0.8592 MB / 0.5518 GB, free: 24.16 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002209/0.5341, allocations: 1.017 MB / 0.5528 GB, free: 23.61 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02122/0.5554, allocations: 6.006 MB / 0.5587 GB, free: 20.74 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.616e-06/0.5554, allocations: 2 kB / 0.5587 GB, free: 20.74 MB / 362.7 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.01363/0.569, allocations: 5.404 MB / 0.5639 GB, free: 15.35 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.084e-05/0.5692, allocations: 67.39 kB / 0.564 GB, free: 15.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.392e-05/0.5692, allocations: 5.875 kB / 0.564 GB, free: 15.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006454/0.5757, allocations: 2.13 MB / 0.5661 GB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001425/0.5771, allocations: 279.6 kB / 0.5664 GB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01902/0.5962, allocations: 9.716 MB / 0.5758 GB, free: 3.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001851/0.598, allocations: 254.8 kB / 0.5761 GB, free: 2.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001129/0.5982, allocations: 52.53 kB / 0.5761 GB, free: 2.719 MB / 362.7 MB Warning: Assuming fixed start value for the following 3 variables: generator.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real exciter_Type_II.firstOrder2.y:VARIABLE(flow=false start = exciter_Type_II.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real generator.e1d:VARIABLE(start = generator.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,oXL.limIntegrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (138): * Single equations (assignments): 135 * Array equations: 0 * Algorithm blocks: 2 * 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 {(25,13)} Notification: Performance of prepare postOptimizeDAE: time 0.0005451/0.5987, allocations: 294.6 kB / 0.5764 GB, free: 2.418 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001982/0.5989, allocations: 138.3 kB / 0.5766 GB, free: 2.281 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0146/0.6135, allocations: 5.33 MB / 0.5818 GB, free: 12.93 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-05/0.6136, allocations: 8 kB / 0.5818 GB, free: 12.92 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.6136, allocations: 4 kB / 0.5818 GB, free: 12.91 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.993e-05/0.6136, allocations: 7.922 kB / 0.5818 GB, free: 12.91 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01794/0.6316, allocations: 7.191 MB / 0.5888 GB, free: 5.605 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.399e-05/0.6316, allocations: 0 / 0.5888 GB, free: 5.605 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007867/0.6324, allocations: 143.8 kB / 0.5889 GB, free: 5.465 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006671/0.6391, allocations: 2.21 MB / 0.5911 GB, free: 3.25 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002798/0.6394, allocations: 27.98 kB / 0.5911 GB, free: 3.223 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02175/0.6612, allocations: 10.65 MB / 0.6015 GB, free: 8.305 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.6612, allocations: 3.938 kB / 0.6015 GB, free: 8.301 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01725/0.6785, allocations: 6.421 MB / 0.6078 GB, free: 1.852 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000515/0.679, allocations: 227.1 kB / 0.608 GB, free: 1.609 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002018/0.6792, allocations: 20.09 kB / 0.608 GB, free: 1.59 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001287/0.6805, allocations: 187.8 kB / 0.6082 GB, free: 1.406 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007683/0.6813, allocations: 228.6 kB / 0.6084 GB, free: 1.184 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.025e-05/0.6814, allocations: 31.98 kB / 0.6085 GB, free: 1.152 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001014/0.6824, allocations: 0.6928 MB / 0.6091 GB, free: 464 kB / 394.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.6824, allocations: 0 / 0.6091 GB, free: 464 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.001482/0.6839, allocations: 494.8 kB / 0.6096 GB, free: 15.97 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (generator.delta,generator.w,generator.e1q,generator.e1d,exciter_Type_II.ExcitationSystem.x_scaled[1],exciter_Type_II.derivativeBlock.x,exciter_Type_II.firstOrder2.y,exciter_Type_II.simpleLagLim.state,oXL.limIntegrator.y) * 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 (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(26,13), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002572/0.6842, allocations: 149.4 kB / 0.6097 GB, free: 15.82 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.007268/0.6915, allocations: 3.026 MB / 0.6127 GB, free: 12.76 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.768e-06/0.6915, allocations: 0 / 0.6127 GB, free: 12.76 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005344/0.6969, allocations: 2.062 MB / 0.6147 GB, free: 10.66 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00122/0.6981, allocations: 125.3 kB / 0.6148 GB, free: 10.53 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005073/0.7032, allocations: 3.078 MB / 0.6178 GB, free: 7.418 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007259/0.704, allocations: 1.152 MB / 0.619 GB, free: 6.234 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000513/0.7045, allocations: 112.3 kB / 0.6191 GB, free: 6.121 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002576/0.7047, allocations: 75.41 kB / 0.6191 GB, free: 6.051 MB / 410.7 MB Notification: Performance of SimCode: time 5.51e-07/0.7047, allocations: 0 / 0.6191 GB, free: 6.051 MB / 410.7 MB Notification: Performance of Templates: time 0.04163/0.7464, allocations: 24.48 MB / 0.6431 GB, free: 13.59 MB / 442.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.Controls.PSAT.OEL.AVRTypeII_OEL_Test.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.Controls.PSAT.OEL.AVRTypeII_OEL_Test.sim & ./OpenIPSL_release_OpenIPSL.Examples.Controls.PSAT.OEL.AVRTypeII_OEL_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe 2>&1)