Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order3test2_perturbation.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.Machines.PSAT.Order3test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order3test2_perturbation") translateModel(OpenIPSL.Examples.Machines.PSAT.Order3test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order3test2_perturbation") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 176.4 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.349/1.349, 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.0007143/0.0007143, allocations: 94.64 kB / 293 MB, free: 4.816 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.2022/0.2022, allocations: 43.19 MB / 387.4 MB, free: 1.605 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004157/0.0004159, allocations: 8.688 kB / 458.6 MB, free: 73.77 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1228, allocations: 60.5 MB / 0.5069 GB, free: 13.23 MB / 346.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.Machines.PSAT.Order3test2_perturbation): time 0.004374/0.1272, allocations: 5.926 MB / 0.5127 GB, free: 7.281 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003573/0.1308, allocations: 2.46 MB / 0.5151 GB, free: 4.672 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007308/0.1315, allocations: 15.94 kB / 0.5151 GB, free: 4.656 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004277/0.132, allocations: 170.9 kB / 0.5153 GB, free: 4.488 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001515/0.1335, allocations: 0.9168 MB / 0.5162 GB, free: 3.496 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001076/0.1346, allocations: 0.72 MB / 0.5169 GB, free: 2.738 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001019/0.1356, allocations: 1.351 MB / 0.5182 GB, free: 1.383 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003619/0.136, allocations: 285.2 kB / 0.5185 GB, free: 1.09 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004623/0.1365, allocations: 0.5248 MB / 0.519 GB, free: 0.5625 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005252/0.137, allocations: 0.6607 MB / 0.5196 GB, free: 15.9 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001064/0.1371, allocations: 56 kB / 0.5197 GB, free: 15.84 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003935/0.1375, allocations: 179.9 kB / 0.5199 GB, free: 15.67 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001985/0.1377, allocations: 226.7 kB / 0.5201 GB, free: 15.45 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004575/0.1382, allocations: 0.5878 MB / 0.5206 GB, free: 14.85 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001219/0.1394, allocations: 1.428 MB / 0.522 GB, free: 13.41 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.1394, allocations: 0 / 0.522 GB, free: 13.41 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1394, allocations: 0 / 0.522 GB, free: 13.41 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.67e-05/0.1395, allocations: 4 kB / 0.522 GB, free: 13.41 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: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.007084/0.1466, allocations: 2.385 MB / 0.5244 GB, free: 10.97 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.1466, allocations: 12.03 kB / 0.5244 GB, free: 10.96 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004674/0.1513, allocations: 0.7866 MB / 0.5252 GB, free: 10.17 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001189/0.1525, allocations: 0.7685 MB / 0.5259 GB, free: 9.348 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002845/0.1528, allocations: 264.2 kB / 0.5262 GB, free: 9.051 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001469/0.153, allocations: 84 kB / 0.5262 GB, free: 8.969 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002381/0.1553, allocations: 1.163 MB / 0.5274 GB, free: 7.801 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.877e-05/0.1554, allocations: 3.938 kB / 0.5274 GB, free: 7.797 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.554e-05/0.1555, allocations: 35.94 kB / 0.5274 GB, free: 7.762 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.625e-05/0.1555, allocations: 16 kB / 0.5274 GB, free: 7.746 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002592/0.1581, allocations: 1.238 MB / 0.5286 GB, free: 6.508 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.00563/0.1637, allocations: 3.53 MB / 0.5321 GB, free: 2.824 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002146/0.1659, allocations: 1.512 MB / 0.5336 GB, free: 1.195 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001627/0.1675, allocations: 0.8789 MB / 0.5344 GB, free: 320 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.487e-05/0.1676, allocations: 20.97 kB / 0.5344 GB, free: 300 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.285e-05/0.1677, allocations: 39.56 kB / 0.5345 GB, free: 252 kB / 362.7 MB Notification: Performance of pre-optimization done (n=97): time 3.857e-06/0.1677, allocations: 0 / 0.5345 GB, free: 252 kB / 362.7 MB Notification: Performance of matching and sorting (n=97): time 0.02655/0.1942, allocations: 8.199 MB / 0.5425 GB, free: 8.008 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.102e-05/0.1943, allocations: 60.41 kB / 0.5425 GB, free: 7.938 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001091/0.1954, allocations: 0.8962 MB / 0.5434 GB, free: 7.023 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001405/0.1956, allocations: 41.7 kB / 0.5435 GB, free: 6.977 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003343/0.1959, allocations: 0.4929 MB / 0.5439 GB, free: 6.477 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000299/0.1962, allocations: 343 kB / 0.5443 GB, free: 6.137 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.839e-05/0.1963, allocations: 20 kB / 0.5443 GB, free: 6.117 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001252/0.1964, allocations: 353.9 kB / 0.5446 GB, free: 5.766 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001684/0.1981, allocations: 0.8029 MB / 0.5454 GB, free: 4.965 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001746/0.1999, allocations: 0.9361 MB / 0.5463 GB, free: 3.992 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2163/0.4162, allocations: 5.376 MB / 0.5516 GB, free: 46.09 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.133e-06/0.4163, allocations: 1.406 kB / 0.5516 GB, free: 46.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01414/0.4304, allocations: 5.161 MB / 0.5566 GB, free: 45.62 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.685e-05/0.4304, allocations: 10.53 kB / 0.5566 GB, free: 45.61 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.306e-05/0.4305, allocations: 2.031 kB / 0.5566 GB, free: 45.61 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006761/0.4372, allocations: 2.118 MB / 0.5587 GB, free: 45.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001108/0.4384, allocations: 232 kB / 0.5589 GB, free: 45.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.019/0.4574, allocations: 9.522 MB / 0.5682 GB, free: 41.24 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001314/0.4587, allocations: 233.1 kB / 0.5684 GB, free: 41.19 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.335e-05/0.4588, allocations: 36.45 kB / 0.5685 GB, free: 41.18 MB / 378.7 MB Warning: Assuming fixed start value for the following 2 variables: order3_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_Inputs_Outputs1.e1q:VARIABLE(start = order3_Inputs_Outputs1.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 111 * 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 {(25,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0003923/0.4592, allocations: 250.6 kB / 0.5687 GB, free: 40.98 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001458/0.4594, allocations: 125.6 kB / 0.5688 GB, free: 40.91 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01208/0.4715, allocations: 4.951 MB / 0.5737 GB, free: 38.88 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.015e-05/0.4715, allocations: 8 kB / 0.5737 GB, free: 38.87 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.4715, allocations: 3.938 kB / 0.5737 GB, free: 38.86 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.494e-05/0.4715, allocations: 7.984 kB / 0.5737 GB, free: 38.86 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0132/0.4847, allocations: 6.553 MB / 0.5801 GB, free: 32.21 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.673e-06/0.4848, allocations: 4 kB / 0.5801 GB, free: 32.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006556/0.4854, allocations: 143.8 kB / 0.5802 GB, free: 32.06 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005307/0.4908, allocations: 2.059 MB / 0.5822 GB, free: 30 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001058/0.4909, allocations: 16.88 kB / 0.5822 GB, free: 29.99 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01473/0.5056, allocations: 8.211 MB / 0.5903 GB, free: 21.64 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.5056, allocations: 0 / 0.5903 GB, free: 21.64 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01356/0.5192, allocations: 5.993 MB / 0.5961 GB, free: 15.63 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002823/0.5195, allocations: 205.8 kB / 0.5963 GB, free: 15.43 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000138/0.5197, allocations: 20 kB / 0.5963 GB, free: 15.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009313/0.5206, allocations: 163.9 kB / 0.5965 GB, free: 15.25 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006664/0.5213, allocations: 208.6 kB / 0.5967 GB, free: 15.04 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.18e-05/0.5214, allocations: 27.98 kB / 0.5967 GB, free: 15.01 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005932/0.522, allocations: 0.5909 MB / 0.5973 GB, free: 14.41 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.522, allocations: 0 / 0.5973 GB, free: 14.41 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009965/0.523, allocations: 441.6 kB / 0.5977 GB, free: 13.99 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 63 * 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,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002111/0.5232, allocations: 135.7 kB / 0.5978 GB, free: 13.86 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.006074/0.5293, allocations: 2.776 MB / 0.6006 GB, free: 11.07 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.5293, allocations: 0 / 0.6006 GB, free: 11.07 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004308/0.5336, allocations: 1.787 MB / 0.6023 GB, free: 9.27 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007075/0.5343, allocations: 101.7 kB / 0.6024 GB, free: 9.172 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002889/0.5372, allocations: 2.482 MB / 0.6048 GB, free: 6.652 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003961/0.5377, allocations: 1.099 MB / 0.6059 GB, free: 5.527 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003442/0.538, allocations: 94.75 kB / 0.606 GB, free: 5.43 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002042/0.5382, allocations: 63.42 kB / 0.606 GB, free: 5.371 MB / 378.7 MB Notification: Performance of SimCode: time 7.51e-07/0.5382, allocations: 0 / 0.606 GB, free: 5.371 MB / 378.7 MB Notification: Performance of Templates: time 0.02965/0.5679, allocations: 20.71 MB / 0.6263 GB, free: 0.6836 MB / 394.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order3test2_perturbation.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order3test2_perturbation.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order3test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order3test2_perturbation.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order3test2_perturbation.sim & ./OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order3test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order3test2_perturbation.pipe 2>&1)