Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order2test2.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.Order2test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order2test2") translateModel(OpenIPSL.Examples.Machines.PSAT.Order2test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order2test2") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009839/0.0009838, allocations: 181 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.429/1.429, 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.0008397/0.0008397, allocations: 89.91 kB / 293 MB, free: 4.836 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.234/0.234, allocations: 43.17 MB / 387.4 MB, free: 1.621 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000305/0.0003049, allocations: 8 kB / 458.6 MB, free: 73.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.1029, allocations: 60.5 MB / 0.5069 GB, free: 13.22 MB / 346.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.Machines.PSAT.Order2test2): time 0.003771/0.1067, allocations: 5.262 MB / 0.5121 GB, free: 7.938 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002995/0.1097, allocations: 2.311 MB / 0.5143 GB, free: 5.473 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004684/0.1102, allocations: 12 kB / 0.5143 GB, free: 5.461 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003563/0.1106, allocations: 159 kB / 0.5145 GB, free: 5.305 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001239/0.1118, allocations: 0.9025 MB / 0.5154 GB, free: 4.328 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009173/0.1128, allocations: 0.6577 MB / 0.516 GB, free: 3.633 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000832/0.1136, allocations: 1.179 MB / 0.5172 GB, free: 2.449 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003411/0.114, allocations: 231.6 kB / 0.5174 GB, free: 2.211 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004136/0.1144, allocations: 469.7 kB / 0.5178 GB, free: 1.75 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004496/0.1149, allocations: 0.5715 MB / 0.5184 GB, free: 1.176 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 8.091e-05/0.1149, allocations: 44 kB / 0.5184 GB, free: 1.133 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003459/0.1153, allocations: 183.8 kB / 0.5186 GB, free: 0.9531 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001312/0.1154, allocations: 198.9 kB / 0.5188 GB, free: 0.7578 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000306/0.1157, allocations: 0.5103 MB / 0.5193 GB, free: 244 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001162/0.1169, allocations: 1.269 MB / 0.5205 GB, free: 14.96 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.1169, allocations: 0 / 0.5205 GB, free: 14.96 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1169, allocations: 3.938 kB / 0.5205 GB, free: 14.96 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.591e-05/0.117, allocations: 0 / 0.5205 GB, free: 14.96 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.006913/0.1239, allocations: 2.174 MB / 0.5226 GB, free: 12.73 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.1239, allocations: 8.031 kB / 0.5227 GB, free: 12.73 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004722/0.1287, allocations: 0.7634 MB / 0.5234 GB, free: 11.96 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00114/0.1298, allocations: 0.701 MB / 0.5241 GB, free: 11.22 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002903/0.1301, allocations: 263.4 kB / 0.5243 GB, free: 10.92 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001332/0.1303, allocations: 68 kB / 0.5244 GB, free: 10.86 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002073/0.1323, allocations: 1.014 MB / 0.5254 GB, free: 9.836 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.658e-05/0.1324, allocations: 7.938 kB / 0.5254 GB, free: 9.828 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.394e-05/0.1325, allocations: 24 kB / 0.5254 GB, free: 9.805 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.389e-05/0.1325, allocations: 16 kB / 0.5254 GB, free: 9.789 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002138/0.1346, allocations: 1.055 MB / 0.5265 GB, free: 8.734 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.005653/0.1403, allocations: 3.202 MB / 0.5296 GB, free: 5.379 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002185/0.1425, allocations: 1.389 MB / 0.531 GB, free: 3.871 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001464/0.144, allocations: 0.7647 MB / 0.5317 GB, free: 3.102 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.064e-05/0.1441, allocations: 20.64 kB / 0.5317 GB, free: 3.082 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.653e-05/0.1441, allocations: 35.22 kB / 0.5318 GB, free: 3.039 MB / 362.7 MB Notification: Performance of pre-optimization done (n=81): time 2.945e-06/0.1441, allocations: 4 kB / 0.5318 GB, free: 3.035 MB / 362.7 MB Notification: Performance of matching and sorting (n=81): time 0.028/0.1721, allocations: 8.314 MB / 0.5399 GB, free: 10.68 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.819e-05/0.1722, allocations: 60.06 kB / 0.5399 GB, free: 10.61 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001051/0.1733, allocations: 0.7787 MB / 0.5407 GB, free: 9.824 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001472/0.1734, allocations: 41.7 kB / 0.5407 GB, free: 9.777 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002919/0.1737, allocations: 436.4 kB / 0.5411 GB, free: 9.344 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002712/0.174, allocations: 287.9 kB / 0.5414 GB, free: 9.059 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.961e-05/0.1741, allocations: 24 kB / 0.5414 GB, free: 9.035 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001249/0.1742, allocations: 341.9 kB / 0.5418 GB, free: 8.695 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001461/0.1757, allocations: 0.7089 MB / 0.5425 GB, free: 7.988 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001536/0.1772, allocations: 0.833 MB / 0.5433 GB, free: 7.121 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01754/0.1948, allocations: 4.929 MB / 0.5481 GB, free: 2.16 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/0.1948, allocations: 0 / 0.5481 GB, free: 2.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.2168/0.4116, allocations: 4.952 MB / 0.5529 GB, free: 47.09 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.568e-05/0.4117, allocations: 10.05 kB / 0.5529 GB, free: 47.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.388e-05/0.4117, allocations: 2.25 kB / 0.5529 GB, free: 47.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007054/0.4188, allocations: 2.178 MB / 0.5551 GB, free: 47.05 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008659/0.4197, allocations: 174.5 kB / 0.5552 GB, free: 47.04 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02051/0.4402, allocations: 9.348 MB / 0.5644 GB, free: 43.55 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001321/0.4416, allocations: 186.7 kB / 0.5645 GB, free: 43.54 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.858e-05/0.4417, allocations: 39.78 kB / 0.5646 GB, free: 43.52 MB / 378.7 MB Warning: Assuming fixed start value for the following 2 variables: order21.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order21.delta:VARIABLE(flow=false start = order21.delta0 unit = "rad" fixed = true ) "Rotor angle" 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 (92): * Single equations (assignments): 91 * 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 prepare postOptimizeDAE: time 0.0004065/0.4421, allocations: 236.8 kB / 0.5648 GB, free: 43.33 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001631/0.4423, allocations: 102.5 kB / 0.5649 GB, free: 43.28 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.013/0.4553, allocations: 4.729 MB / 0.5695 GB, free: 42.05 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.212e-05/0.4554, allocations: 7.625 kB / 0.5695 GB, free: 42.05 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.4554, allocations: 0 / 0.5695 GB, free: 42.05 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.441e-05/0.4554, allocations: 6.484 kB / 0.5695 GB, free: 42.04 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01374/0.4691, allocations: 6.233 MB / 0.5756 GB, free: 36.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.314e-05/0.4692, allocations: 4 kB / 0.5756 GB, free: 36.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005102/0.4697, allocations: 91.89 kB / 0.5757 GB, free: 36.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005571/0.4753, allocations: 2.052 MB / 0.5777 GB, free: 34.78 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001328/0.4755, allocations: 12 kB / 0.5777 GB, free: 34.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01527/0.4907, allocations: 8.226 MB / 0.5858 GB, free: 26.41 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.4908, allocations: 3.938 kB / 0.5858 GB, free: 26.41 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01332/0.5041, allocations: 5.667 MB / 0.5913 GB, free: 20.72 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003023/0.5044, allocations: 186.7 kB / 0.5915 GB, free: 20.53 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001236/0.5046, allocations: 16 kB / 0.5915 GB, free: 20.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008439/0.5054, allocations: 128 kB / 0.5916 GB, free: 20.39 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005777/0.506, allocations: 199.8 kB / 0.5918 GB, free: 20.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.978e-05/0.5061, allocations: 16 kB / 0.5918 GB, free: 20.18 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005161/0.5066, allocations: 0.5264 MB / 0.5923 GB, free: 19.66 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.5066, allocations: 0 / 0.5923 GB, free: 19.66 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001007/0.5076, allocations: 403.5 kB / 0.5927 GB, free: 19.26 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (order21.delta,order21.w) * 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 (48): * Single equations (assignments): 47 * 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.0001923/0.5078, allocations: 132.4 kB / 0.5928 GB, free: 19.13 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.006016/0.5138, allocations: 2.559 MB / 0.5953 GB, free: 16.57 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.716e-06/0.5139, allocations: 0 / 0.5953 GB, free: 16.57 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004148/0.518, allocations: 1.682 MB / 0.597 GB, free: 14.87 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007703/0.5188, allocations: 79.25 kB / 0.5971 GB, free: 14.79 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00247/0.5213, allocations: 2.06 MB / 0.5991 GB, free: 12.71 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003664/0.5217, allocations: 1.025 MB / 0.6001 GB, free: 11.66 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002631/0.5219, allocations: 74.19 kB / 0.6001 GB, free: 11.59 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000159/0.5221, allocations: 55.44 kB / 0.6002 GB, free: 11.54 MB / 378.7 MB Notification: Performance of SimCode: time 6.01e-07/0.5221, allocations: 0 / 0.6002 GB, free: 11.54 MB / 378.7 MB Notification: Performance of Templates: time 0.02591/0.548, allocations: 19.38 MB / 0.6191 GB, free: 8.156 MB / 394.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order2test2.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order2test2.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order2test2.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order2test2.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order2test2.sim & ./OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order2test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order2test2.pipe 2>&1)