Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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_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_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.001367/0.001367, allocations: 174.7 kB / 15.43 MB, free: 5.777 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.493/1.493, allocations: 225.7 MB / 241.9 MB, free: 392 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.0008569/0.000857, allocations: 95.2 kB / 293.1 MB, free: 12.9 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.1768/0.1768, allocations: 43.17 MB / 387.4 MB, free: 15.5 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003071/0.0003071, allocations: 12 kB / 458.6 MB, free: 55.44 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1426, allocations: 60.5 MB / 0.5069 GB, free: 10.87 MB / 346.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.Controls.PSAT.AVR.AVRTypeII_Test): time 0.009311/0.152, allocations: 6.083 MB / 0.5129 GB, free: 4.758 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.006788/0.1588, allocations: 2.766 MB / 0.5156 GB, free: 1.801 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00151/0.1604, allocations: 12 kB / 0.5156 GB, free: 1.789 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009582/0.1614, allocations: 190.8 kB / 0.5158 GB, free: 1.602 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002846/0.1643, allocations: 0.9706 MB / 0.5167 GB, free: 0.5547 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001999/0.1663, allocations: 0.7708 MB / 0.5175 GB, free: 15.75 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002459/0.1687, allocations: 1.546 MB / 0.519 GB, free: 14.2 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005809/0.1693, allocations: 301.8 kB / 0.5193 GB, free: 13.88 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009948/0.1703, allocations: 0.587 MB / 0.5198 GB, free: 13.29 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009758/0.1713, allocations: 0.7386 MB / 0.5205 GB, free: 12.55 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001531/0.1715, allocations: 56 kB / 0.5206 GB, free: 12.5 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005788/0.1721, allocations: 183.9 kB / 0.5208 GB, free: 12.32 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002827/0.1724, allocations: 250.7 kB / 0.521 GB, free: 12.07 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006032/0.173, allocations: 0.6267 MB / 0.5216 GB, free: 11.43 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001477/0.1745, allocations: 1.591 MB / 0.5232 GB, free: 9.836 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.1745, allocations: 0 / 0.5232 GB, free: 9.836 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1745, allocations: 0 / 0.5232 GB, free: 9.836 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.629e-05/0.1745, allocations: 0 / 0.5232 GB, free: 9.836 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.008273/0.1828, allocations: 2.583 MB / 0.5257 GB, free: 7.188 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.54e-05/0.1829, allocations: 12.03 kB / 0.5257 GB, free: 7.176 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004909/0.1878, allocations: 0.7865 MB / 0.5265 GB, free: 6.387 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002121/0.1899, allocations: 0.8937 MB / 0.5274 GB, free: 5.438 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002999/0.1903, allocations: 260.2 kB / 0.5276 GB, free: 5.145 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000174/0.1904, allocations: 84 kB / 0.5277 GB, free: 5.062 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002529/0.193, allocations: 1.243 MB / 0.5289 GB, free: 3.809 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.757e-05/0.193, allocations: 0 / 0.5289 GB, free: 3.809 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001009/0.1931, allocations: 32 kB / 0.5289 GB, free: 3.777 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.85e-05/0.1932, allocations: 20 kB / 0.5289 GB, free: 3.758 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002395/0.1955, allocations: 1.14 MB / 0.5301 GB, free: 2.613 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.2563/0.4519, allocations: 3.737 MB / 0.5337 GB, free: 30.48 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003069/0.455, allocations: 1.618 MB / 0.5353 GB, free: 29.85 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001687/0.4567, allocations: 0.8533 MB / 0.5361 GB, free: 29.53 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001064/0.4568, allocations: 16.44 kB / 0.5361 GB, free: 29.53 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002075/0.4589, allocations: 0.9528 MB / 0.5371 GB, free: 29.2 MB / 362.7 MB Notification: Performance of pre-optimization done (n=102): time 3.747e-06/0.4589, allocations: 0 / 0.5371 GB, free: 29.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=102): time 0.03001/0.489, allocations: 8.516 MB / 0.5454 GB, free: 27.66 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.903e-05/0.4891, allocations: 114.9 kB / 0.5455 GB, free: 27.54 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001773/0.4908, allocations: 1.027 MB / 0.5465 GB, free: 27.12 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002672/0.4911, allocations: 45.98 kB / 0.5465 GB, free: 27.07 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003425/0.4915, allocations: 0.4954 MB / 0.547 GB, free: 26.75 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003672/0.4918, allocations: 377.1 kB / 0.5474 GB, free: 26.48 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.69e-05/0.4919, allocations: 25.5 kB / 0.5474 GB, free: 26.46 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.186e-05/0.492, allocations: 361.3 kB / 0.5478 GB, free: 26.14 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001657/0.4937, allocations: 0.8201 MB / 0.5486 GB, free: 25.85 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001772/0.4955, allocations: 0.9769 MB / 0.5495 GB, free: 25.44 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02102/0.5165, allocations: 5.892 MB / 0.5553 GB, free: 22.66 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.146e-05/0.5166, allocations: 3.938 kB / 0.5553 GB, free: 22.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.01353/0.5301, allocations: 5.39 MB / 0.5605 GB, free: 19.03 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.582e-05/0.5302, allocations: 61.73 kB / 0.5606 GB, free: 18.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.816e-05/0.5302, allocations: 4 kB / 0.5606 GB, free: 18.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006503/0.5367, allocations: 2.22 MB / 0.5628 GB, free: 16.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001264/0.538, allocations: 255.6 kB / 0.563 GB, free: 16.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01966/0.5577, allocations: 9.916 MB / 0.5727 GB, free: 6.445 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001954/0.5597, allocations: 237 kB / 0.5729 GB, free: 6.215 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002544/0.56, allocations: 47.92 kB / 0.573 GB, free: 6.168 MB / 362.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.0007301/0.5607, allocations: 292.1 kB / 0.5732 GB, free: 5.867 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000304/0.561, allocations: 130.4 kB / 0.5734 GB, free: 5.738 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01288/0.5739, allocations: 5.099 MB / 0.5783 GB, free: 0.6055 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.524e-05/0.574, allocations: 13.86 kB / 0.5784 GB, free: 0.5938 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.574, allocations: 3.938 kB / 0.5784 GB, free: 0.5898 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-05/0.574, allocations: 3.984 kB / 0.5784 GB, free: 0.5859 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01742/0.5915, allocations: 6.872 MB / 0.5851 GB, free: 9.602 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.61e-05/0.5915, allocations: 1.375 kB / 0.5851 GB, free: 9.602 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008458/0.5924, allocations: 111.9 kB / 0.5852 GB, free: 9.492 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006464/0.5989, allocations: 2.144 MB / 0.5873 GB, free: 7.344 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002238/0.5991, allocations: 20 kB / 0.5873 GB, free: 7.324 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02222/0.6213, allocations: 10.27 MB / 0.5973 GB, free: 12.78 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.6214, allocations: 4 kB / 0.5973 GB, free: 12.78 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01773/0.6391, allocations: 6.101 MB / 0.6033 GB, free: 6.645 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007031/0.6399, allocations: 215.4 kB / 0.6035 GB, free: 6.414 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005647/0.6405, allocations: 20 kB / 0.6035 GB, free: 6.395 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00158/0.6421, allocations: 151.9 kB / 0.6037 GB, free: 6.246 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008407/0.6429, allocations: 208.8 kB / 0.6039 GB, free: 6.043 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001678/0.6431, allocations: 31.94 kB / 0.6039 GB, free: 6.012 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.00142/0.6446, allocations: 0.6992 MB / 0.6046 GB, free: 5.305 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.6446, allocations: 0 / 0.6046 GB, free: 5.305 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002049/0.6466, allocations: 487.4 kB / 0.605 GB, free: 4.828 MB / 394.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.0003946/0.647, allocations: 159.3 kB / 0.6052 GB, free: 4.672 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.007909/0.655, allocations: 2.932 MB / 0.6081 GB, free: 1.703 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.655, allocations: 0 / 0.6081 GB, free: 1.703 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00537/0.6604, allocations: 1.974 MB / 0.61 GB, free: 15.69 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001333/0.6617, allocations: 116.4 kB / 0.6101 GB, free: 15.58 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005006/0.6668, allocations: 2.904 MB / 0.6129 GB, free: 12.64 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008595/0.6676, allocations: 1.124 MB / 0.614 GB, free: 11.48 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005388/0.6682, allocations: 107.9 kB / 0.6141 GB, free: 11.37 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002962/0.6685, allocations: 71.42 kB / 0.6142 GB, free: 11.3 MB / 410.7 MB Notification: Performance of SimCode: time 6.21e-07/0.6685, allocations: 3.938 kB / 0.6142 GB, free: 11.29 MB / 410.7 MB Notification: Performance of Templates: time 0.04101/0.7095, allocations: 23.57 MB / 0.6372 GB, free: 3.766 MB / 426.7 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.Controls.PSAT.AVR.AVRTypeII_Test.makefile (rm -f OpenIPSL_OpenIPSL.Examples.Controls.PSAT.AVR.AVRTypeII_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.Controls.PSAT.AVR.AVRTypeII_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.Controls.PSAT.AVR.AVRTypeII_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.Controls.PSAT.AVR.AVRTypeII_Test.sim & ./OpenIPSL_OpenIPSL.Examples.Controls.PSAT.AVR.AVRTypeII_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.Controls.PSAT.AVR.AVRTypeII_Test.pipe 2>&1)