Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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_OpenIPSL.Examples.Machines.PSAT.Order2test2") translateModel(OpenIPSL.Examples.Machines.PSAT.Order2test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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.001275/0.001275, allocations: 178.8 kB / 15.43 MB, free: 5.766 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.424/1.424, allocations: 225.7 MB / 241.9 MB, free: 384 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.0007577/0.0007576, allocations: 95.77 kB / 293.1 MB, free: 12.89 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.0003412/0.0003412, allocations: 8 kB / 458.6 MB, free: 55.44 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08998/0.09034, allocations: 60.5 MB / 0.5069 GB, free: 10.88 MB / 346.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.Machines.PSAT.Order2test2): time 0.004938/0.09532, allocations: 5.262 MB / 0.5121 GB, free: 5.59 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00362/0.09898, allocations: 2.311 MB / 0.5143 GB, free: 3.125 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005474/0.09955, allocations: 12 kB / 0.5143 GB, free: 3.113 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004126/0.09998, allocations: 159 kB / 0.5145 GB, free: 2.957 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001613/0.1016, allocations: 0.9053 MB / 0.5154 GB, free: 1.977 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001165/0.1028, allocations: 0.6538 MB / 0.516 GB, free: 1.285 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001079/0.1039, allocations: 1.175 MB / 0.5171 GB, free: 108 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003662/0.1042, allocations: 243.5 kB / 0.5174 GB, free: 15.86 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005001/0.1048, allocations: 465.7 kB / 0.5178 GB, free: 15.4 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005795/0.1053, allocations: 0.5793 MB / 0.5184 GB, free: 14.82 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 8.954e-05/0.1054, allocations: 44 kB / 0.5184 GB, free: 14.77 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003585/0.1058, allocations: 171.9 kB / 0.5186 GB, free: 14.61 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001664/0.106, allocations: 202.8 kB / 0.5188 GB, free: 14.41 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004199/0.1064, allocations: 0.5103 MB / 0.5193 GB, free: 13.89 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001091/0.1075, allocations: 1.265 MB / 0.5205 GB, free: 12.62 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.1075, allocations: 3.938 kB / 0.5205 GB, free: 12.61 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.1075, allocations: 4 kB / 0.5205 GB, free: 12.61 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.489e-05/0.1076, allocations: 0 / 0.5205 GB, free: 12.61 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.006684/0.1142, allocations: 2.17 MB / 0.5226 GB, free: 10.39 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.1143, allocations: 8.031 kB / 0.5227 GB, free: 10.38 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004628/0.1189, allocations: 0.7713 MB / 0.5234 GB, free: 9.605 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001191/0.1201, allocations: 0.7088 MB / 0.5241 GB, free: 8.855 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003022/0.1205, allocations: 259.4 kB / 0.5243 GB, free: 8.562 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001403/0.1206, allocations: 68 kB / 0.5244 GB, free: 8.496 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002094/0.1227, allocations: 1.014 MB / 0.5254 GB, free: 7.477 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.717e-05/0.1227, allocations: 3.938 kB / 0.5254 GB, free: 7.473 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.034e-05/0.1228, allocations: 24 kB / 0.5254 GB, free: 7.449 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.462e-05/0.1228, allocations: 16 kB / 0.5254 GB, free: 7.434 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002125/0.125, allocations: 1.051 MB / 0.5265 GB, free: 6.383 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.005233/0.1302, allocations: 3.206 MB / 0.5296 GB, free: 3.02 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0021/0.1323, allocations: 1.389 MB / 0.531 GB, free: 1.512 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001439/0.1338, allocations: 0.7647 MB / 0.5317 GB, free: 0.7422 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.623e-05/0.1339, allocations: 12.64 kB / 0.5317 GB, free: 0.7305 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.739e-05/0.1339, allocations: 47.2 kB / 0.5318 GB, free: 0.6758 MB / 362.7 MB Notification: Performance of pre-optimization done (n=81): time 2.725e-06/0.1339, allocations: 0 / 0.5318 GB, free: 0.6758 MB / 362.7 MB Notification: Performance of matching and sorting (n=81): time 0.2693/0.4032, allocations: 8.306 MB / 0.5399 GB, free: 31.83 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.51e-05/0.4033, allocations: 60.47 kB / 0.5399 GB, free: 31.77 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001272/0.4046, allocations: 0.7771 MB / 0.5407 GB, free: 31.57 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002007/0.4048, allocations: 36.45 kB / 0.5407 GB, free: 31.54 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003463/0.4052, allocations: 435.7 kB / 0.5411 GB, free: 31.26 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000325/0.4055, allocations: 291.3 kB / 0.5414 GB, free: 31.05 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.895e-05/0.4056, allocations: 20.12 kB / 0.5414 GB, free: 31.04 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.4057, allocations: 346.9 kB / 0.5418 GB, free: 30.71 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001575/0.4073, allocations: 0.7122 MB / 0.5425 GB, free: 30.48 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001604/0.4089, allocations: 0.8287 MB / 0.5433 GB, free: 30.13 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01727/0.4262, allocations: 4.933 MB / 0.5481 GB, free: 28.62 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.568e-06/0.4263, allocations: 0 / 0.5481 GB, free: 28.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.0135/0.4398, allocations: 4.963 MB / 0.5529 GB, free: 26.51 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.109e-05/0.4398, allocations: 6 kB / 0.5529 GB, free: 26.51 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.514e-05/0.4399, allocations: 10.84 kB / 0.553 GB, free: 26.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005789/0.4456, allocations: 2.172 MB / 0.5551 GB, free: 25.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008398/0.4465, allocations: 171.8 kB / 0.5552 GB, free: 25.15 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01829/0.4648, allocations: 9.349 MB / 0.5644 GB, free: 15.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001435/0.4663, allocations: 196.2 kB / 0.5646 GB, free: 15.49 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.305e-05/0.4664, allocations: 35.98 kB / 0.5646 GB, free: 15.46 MB / 362.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.0004016/0.4668, allocations: 225.6 kB / 0.5648 GB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001348/0.467, allocations: 104.1 kB / 0.5649 GB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01211/0.4791, allocations: 4.715 MB / 0.5695 GB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.589e-05/0.4791, allocations: 8 kB / 0.5695 GB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.4791, allocations: 8 kB / 0.5695 GB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.075e-05/0.4792, allocations: 7.922 kB / 0.5695 GB, free: 10.37 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01372/0.4929, allocations: 6.234 MB / 0.5756 GB, free: 4.012 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.549e-05/0.493, allocations: 5.859 kB / 0.5756 GB, free: 4.008 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005364/0.4935, allocations: 91.89 kB / 0.5757 GB, free: 3.918 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005538/0.4991, allocations: 2.049 MB / 0.5777 GB, free: 1.867 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001326/0.4992, allocations: 16 kB / 0.5777 GB, free: 1.852 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01717/0.5164, allocations: 8.223 MB / 0.5858 GB, free: 9.496 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.5164, allocations: 4 kB / 0.5858 GB, free: 9.492 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01523/0.5317, allocations: 5.668 MB / 0.5913 GB, free: 3.801 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005404/0.5323, allocations: 191.6 kB / 0.5915 GB, free: 3.594 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001309/0.5324, allocations: 14.44 kB / 0.5915 GB, free: 3.582 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009114/0.5333, allocations: 132 kB / 0.5916 GB, free: 3.453 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000702/0.534, allocations: 192.7 kB / 0.5918 GB, free: 3.266 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.887e-05/0.5341, allocations: 23.94 kB / 0.5918 GB, free: 3.242 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007029/0.5349, allocations: 0.5224 MB / 0.5923 GB, free: 2.727 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.5349, allocations: 0 / 0.5923 GB, free: 2.727 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001293/0.5362, allocations: 402.1 kB / 0.5927 GB, free: 2.336 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.0002918/0.5365, allocations: 129.6 kB / 0.5928 GB, free: 2.203 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.006603/0.5431, allocations: 2.56 MB / 0.5953 GB, free: 15.63 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.5431, allocations: 0 / 0.5953 GB, free: 15.63 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004632/0.5477, allocations: 1.678 MB / 0.597 GB, free: 13.95 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007476/0.5485, allocations: 83.23 kB / 0.5971 GB, free: 13.86 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002926/0.5515, allocations: 2.049 MB / 0.5991 GB, free: 11.79 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005622/0.552, allocations: 1.029 MB / 0.6001 GB, free: 10.73 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002792/0.5523, allocations: 74.19 kB / 0.6001 GB, free: 10.66 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001776/0.5525, allocations: 59.42 kB / 0.6002 GB, free: 10.6 MB / 394.7 MB Notification: Performance of SimCode: time 7.61e-07/0.5525, allocations: 0 / 0.6002 GB, free: 10.6 MB / 394.7 MB Notification: Performance of Templates: time 0.03233/0.5848, allocations: 19.37 MB / 0.6191 GB, free: 7.227 MB / 410.7 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order2test2.makefile (rm -f OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order2test2.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order2test2.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order2test2.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order2test2.sim & ./OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order2test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order2test2.pipe 2>&1)