Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.Controls.PSAT.AVR.AVRTypeII_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.AVR.AVRTypeII_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.Controls.PSAT.AVR.AVRTypeII_Test") translateModel(OpenIPSL.Examples.Controls.PSAT.AVR.AVRTypeII_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.Controls.PSAT.AVR.AVRTypeII_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.001504/0.001504, allocations: 181.3 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.369/1.369, allocations: 225.7 MB / 241.9 MB, free: 14.66 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.0008706/0.0008707, allocations: 94.06 kB / 293 MB, free: 4.785 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.1751/0.1751, allocations: 43.18 MB / 387.4 MB, free: 1.617 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003268/0.0003268, allocations: 8 kB / 458.6 MB, free: 73.77 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1092, allocations: 60.51 MB / 0.5069 GB, free: 13.22 MB / 346.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.Controls.PSAT.AVR.AVRTypeII_Test): time 0.004428/0.1136, allocations: 6.083 MB / 0.5129 GB, free: 7.113 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003277/0.1169, allocations: 2.77 MB / 0.5156 GB, free: 4.152 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000475/0.1174, allocations: 15.94 kB / 0.5156 GB, free: 4.137 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005343/0.118, allocations: 182.8 kB / 0.5158 GB, free: 3.957 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001447/0.1194, allocations: 0.9698 MB / 0.5167 GB, free: 2.91 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001105/0.1206, allocations: 0.767 MB / 0.5175 GB, free: 2.105 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001069/0.1216, allocations: 1.546 MB / 0.519 GB, free: 0.5547 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003694/0.122, allocations: 305.8 kB / 0.5193 GB, free: 244 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000638/0.1227, allocations: 0.5832 MB / 0.5198 GB, free: 15.65 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007762/0.1234, allocations: 0.727 MB / 0.5205 GB, free: 14.92 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001249/0.1236, allocations: 60 kB / 0.5206 GB, free: 14.86 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004033/0.124, allocations: 191.7 kB / 0.5208 GB, free: 14.68 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002321/0.1242, allocations: 250.7 kB / 0.521 GB, free: 14.43 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005496/0.1248, allocations: 0.6266 MB / 0.5216 GB, free: 13.79 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00134/0.1261, allocations: 1.587 MB / 0.5232 GB, free: 12.2 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.1262, allocations: 4 kB / 0.5232 GB, free: 12.2 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1262, allocations: 3.938 kB / 0.5232 GB, free: 12.19 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.416e-05/0.1262, allocations: 0 / 0.5232 GB, free: 12.19 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: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.007721/0.1339, allocations: 2.576 MB / 0.5257 GB, free: 9.551 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.134, allocations: 8.031 kB / 0.5257 GB, free: 9.543 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004596/0.1386, allocations: 0.7943 MB / 0.5265 GB, free: 8.746 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001435/0.14, allocations: 0.8898 MB / 0.5274 GB, free: 7.801 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002795/0.1403, allocations: 264.2 kB / 0.5276 GB, free: 7.504 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001728/0.1405, allocations: 84 kB / 0.5277 GB, free: 7.422 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002341/0.1428, allocations: 1.239 MB / 0.5289 GB, free: 6.172 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.491e-05/0.1429, allocations: 4 kB / 0.5289 GB, free: 6.168 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.479e-05/0.143, allocations: 28 kB / 0.5289 GB, free: 6.141 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.797e-05/0.143, allocations: 20 kB / 0.5289 GB, free: 6.121 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002213/0.1452, allocations: 1.14 MB / 0.5301 GB, free: 4.98 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.006051/0.1513, allocations: 3.75 MB / 0.5337 GB, free: 1.102 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002494/0.1538, allocations: 1.619 MB / 0.5353 GB, free: 15.36 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001558/0.1554, allocations: 0.8515 MB / 0.5361 GB, free: 14.5 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001024/0.1555, allocations: 17 kB / 0.5362 GB, free: 14.49 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001805/0.1573, allocations: 0.9544 MB / 0.5371 GB, free: 13.51 MB / 378.7 MB Notification: Performance of pre-optimization done (n=102): time 2.325e-06/0.1573, allocations: 0 / 0.5371 GB, free: 13.51 MB / 378.7 MB Notification: Performance of matching and sorting (n=102): time 0.02692/0.1842, allocations: 8.515 MB / 0.5454 GB, free: 4.934 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.611e-05/0.1843, allocations: 115.8 kB / 0.5455 GB, free: 4.797 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001545/0.1859, allocations: 1.027 MB / 0.5465 GB, free: 3.75 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001591/0.1861, allocations: 41.7 kB / 0.5466 GB, free: 3.703 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003768/0.1864, allocations: 0.5046 MB / 0.547 GB, free: 3.191 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003531/0.1868, allocations: 366.7 kB / 0.5474 GB, free: 2.828 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.609e-05/0.1869, allocations: 32 kB / 0.5474 GB, free: 2.797 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000132/0.187, allocations: 357.9 kB / 0.5478 GB, free: 2.441 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001651/0.1887, allocations: 0.8277 MB / 0.5486 GB, free: 1.613 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001743/0.1905, allocations: 0.9702 MB / 0.5495 GB, free: 0.6133 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2699/0.4604, allocations: 5.881 MB / 0.5553 GB, free: 46.34 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.225e-05/0.4604, allocations: 0 / 0.5553 GB, free: 46.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.01541/0.4759, allocations: 5.404 MB / 0.5605 GB, free: 45.18 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.092e-05/0.476, allocations: 55.34 kB / 0.5606 GB, free: 45.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.554e-05/0.476, allocations: 3.906 kB / 0.5606 GB, free: 45.12 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007091/0.4831, allocations: 2.218 MB / 0.5628 GB, free: 44.76 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001418/0.4845, allocations: 256.3 kB / 0.563 GB, free: 44.74 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02079/0.5053, allocations: 9.92 MB / 0.5727 GB, free: 39.58 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001773/0.5071, allocations: 233.7 kB / 0.5729 GB, free: 39.38 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001086/0.5073, allocations: 47.98 kB / 0.573 GB, free: 39.34 MB / 378.7 MB Warning: Assuming fixed start value for the following 2 variables: order6Type2_Inputs_Outputs.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real aVRI.firstOrder2.y:VARIABLE(flow=false start = aVRI.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (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,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0005536/0.5078, allocations: 292.8 kB / 0.5732 GB, free: 39.04 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001847/0.508, allocations: 126.4 kB / 0.5734 GB, free: 38.91 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01246/0.5205, allocations: 5.099 MB / 0.5783 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.955e-05/0.5206, allocations: 8 kB / 0.5784 GB, free: 33.78 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.5206, allocations: 4 kB / 0.5784 GB, free: 33.78 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.698e-05/0.5206, allocations: 7.969 kB / 0.5784 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01449/0.5351, allocations: 6.864 MB / 0.5851 GB, free: 26.81 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.199e-05/0.5352, allocations: 8.031 kB / 0.5851 GB, free: 26.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006899/0.5359, allocations: 117.7 kB / 0.5852 GB, free: 26.69 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005599/0.5415, allocations: 2.132 MB / 0.5873 GB, free: 24.55 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001752/0.5417, allocations: 31.98 kB / 0.5873 GB, free: 24.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01796/0.5596, allocations: 10.26 MB / 0.5973 GB, free: 14 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/0.5597, allocations: 0 / 0.5973 GB, free: 14 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01607/0.5758, allocations: 6.113 MB / 0.6033 GB, free: 7.855 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005711/0.5764, allocations: 217.4 kB / 0.6035 GB, free: 7.637 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002009/0.5766, allocations: 20 kB / 0.6035 GB, free: 7.617 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001159/0.5778, allocations: 159.8 kB / 0.6037 GB, free: 7.461 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007114/0.5785, allocations: 212.7 kB / 0.6039 GB, free: 7.254 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.205e-05/0.5786, allocations: 35.11 kB / 0.6039 GB, free: 7.223 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009037/0.5795, allocations: 0.6915 MB / 0.6046 GB, free: 6.523 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5795, allocations: 0 / 0.6046 GB, free: 6.523 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00141/0.581, allocations: 485.8 kB / 0.605 GB, free: 6.055 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order6Type2_Inputs_Outputs.delta,order6Type2_Inputs_Outputs.w,order6Type2_Inputs_Outputs.e1q,order6Type2_Inputs_Outputs.e1d,order6Type2_Inputs_Outputs.e2q,order6Type2_Inputs_Outputs.e2d,aVRI.ExcitationSystem.x_scaled[1],aVRI.derivativeBlock.x,aVRI.firstOrder2.y,aVRI.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 (64): * Single equations (assignments): 61 * 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,10), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002773/0.5813, allocations: 137.2 kB / 0.6052 GB, free: 5.914 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.006412/0.5877, allocations: 2.939 MB / 0.608 GB, free: 2.938 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.5877, allocations: 0 / 0.608 GB, free: 2.938 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00459/0.5923, allocations: 1.969 MB / 0.61 GB, free: 0.9297 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001181/0.5935, allocations: 113 kB / 0.6101 GB, free: 0.8164 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004473/0.598, allocations: 2.905 MB / 0.6129 GB, free: 13.88 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000778/0.5988, allocations: 1.128 MB / 0.614 GB, free: 12.72 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005052/0.5993, allocations: 107.9 kB / 0.6141 GB, free: 12.61 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002563/0.5996, allocations: 71.36 kB / 0.6142 GB, free: 12.54 MB / 394.7 MB Notification: Performance of SimCode: time 8.61e-07/0.5996, allocations: 0 / 0.6142 GB, free: 12.54 MB / 394.7 MB Notification: Performance of Templates: time 0.03865/0.6382, allocations: 23.58 MB / 0.6372 GB, free: 4.996 MB / 410.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.Controls.PSAT.AVR.AVRTypeII_Test.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.Controls.PSAT.AVR.AVRTypeII_Test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.Controls.PSAT.AVR.AVRTypeII_Test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.Controls.PSAT.AVR.AVRTypeII_Test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.Controls.PSAT.AVR.AVRTypeII_Test.sim & ./OpenIPSL_release_OpenIPSL.Examples.Controls.PSAT.AVR.AVRTypeII_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.Controls.PSAT.AVR.AVRTypeII_Test.pipe 2>&1)