Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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_OpenIPSL.Examples.Machines.PSAT.Order3test2_perturbation") translateModel(OpenIPSL.Examples.Machines.PSAT.Order3test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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.001315/0.001315, allocations: 180.4 kB / 15.43 MB, free: 6.207 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.592/1.592, allocations: 225.7 MB / 241.9 MB, free: 416 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.0008626/0.0008628, allocations: 101.3 kB / 293.1 MB, free: 12.91 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.2077/0.2077, allocations: 43.18 MB / 387.4 MB, free: 15.5 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003494/0.0003496, allocations: 10.91 kB / 458.6 MB, free: 55.46 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08914/0.08951, allocations: 60.5 MB / 0.5069 GB, free: 10.89 MB / 346.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.Machines.PSAT.Order3test2_perturbation): time 0.005786/0.09532, allocations: 5.919 MB / 0.5127 GB, free: 4.941 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003698/0.09906, allocations: 2.468 MB / 0.5151 GB, free: 2.324 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004998/0.09958, allocations: 15.94 kB / 0.5151 GB, free: 2.309 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00039/0.09998, allocations: 170.9 kB / 0.5153 GB, free: 2.141 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001588/0.1016, allocations: 0.9199 MB / 0.5162 GB, free: 1.145 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001195/0.1028, allocations: 0.7162 MB / 0.5169 GB, free: 400 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001289/0.1041, allocations: 1.351 MB / 0.5182 GB, free: 15.04 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004221/0.1045, allocations: 289.2 kB / 0.5185 GB, free: 14.74 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005894/0.1051, allocations: 0.517 MB / 0.519 GB, free: 14.22 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006734/0.1058, allocations: 0.6646 MB / 0.5196 GB, free: 13.55 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001073/0.1059, allocations: 55.94 kB / 0.5197 GB, free: 13.5 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003808/0.1063, allocations: 179.9 kB / 0.5199 GB, free: 13.32 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001942/0.1065, allocations: 230.7 kB / 0.5201 GB, free: 13.09 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004557/0.107, allocations: 0.5839 MB / 0.5206 GB, free: 12.5 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001219/0.1082, allocations: 1.428 MB / 0.522 GB, free: 11.07 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.1082, allocations: 0 / 0.522 GB, free: 11.07 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.1082, allocations: 4 kB / 0.522 GB, free: 11.06 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.477e-05/0.1082, allocations: 4 kB / 0.522 GB, free: 11.06 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.007152/0.1154, allocations: 2.381 MB / 0.5244 GB, free: 8.625 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.1155, allocations: 12.03 kB / 0.5244 GB, free: 8.613 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004789/0.1202, allocations: 0.7905 MB / 0.5252 GB, free: 7.82 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001266/0.1215, allocations: 0.7724 MB / 0.5259 GB, free: 6.992 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003249/0.1219, allocations: 272.2 kB / 0.5262 GB, free: 6.688 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001519/0.122, allocations: 76 kB / 0.5262 GB, free: 6.613 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0023/0.1243, allocations: 1.163 MB / 0.5274 GB, free: 5.445 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/0.1244, allocations: 7.875 kB / 0.5274 GB, free: 5.438 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.758e-05/0.1245, allocations: 32 kB / 0.5274 GB, free: 5.406 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.535e-05/0.1245, allocations: 16 kB / 0.5274 GB, free: 5.391 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002483/0.127, allocations: 1.238 MB / 0.5286 GB, free: 4.152 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.005479/0.1325, allocations: 3.534 MB / 0.5321 GB, free: 472 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1828/0.3152, allocations: 1.505 MB / 0.5336 GB, free: 31.55 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002123/0.3174, allocations: 0.8694 MB / 0.5344 GB, free: 31.54 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001069/0.3175, allocations: 15.72 kB / 0.5344 GB, free: 31.54 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.523e-05/0.3176, allocations: 45.22 kB / 0.5345 GB, free: 31.5 MB / 362.7 MB Notification: Performance of pre-optimization done (n=97): time 3.597e-06/0.3176, allocations: 4.375 kB / 0.5345 GB, free: 31.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=97): time 0.02845/0.3461, allocations: 8.188 MB / 0.5425 GB, free: 30.37 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.702e-05/0.3462, allocations: 73.86 kB / 0.5425 GB, free: 30.3 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001655/0.3478, allocations: 0.889 MB / 0.5434 GB, free: 29.93 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003088/0.3482, allocations: 46.08 kB / 0.5435 GB, free: 29.88 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004824/0.3487, allocations: 0.4902 MB / 0.5439 GB, free: 29.57 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004169/0.3491, allocations: 344.2 kB / 0.5443 GB, free: 29.33 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.047e-05/0.3492, allocations: 20.41 kB / 0.5443 GB, free: 29.31 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001288/0.3493, allocations: 351 kB / 0.5446 GB, free: 28.99 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001868/0.3512, allocations: 0.8072 MB / 0.5454 GB, free: 28.73 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001942/0.3531, allocations: 0.9354 MB / 0.5463 GB, free: 28.36 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01943/0.3726, allocations: 5.379 MB / 0.5516 GB, free: 26.55 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.786e-06/0.3726, allocations: 0 / 0.5516 GB, free: 26.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01301/0.3857, allocations: 5.172 MB / 0.5566 GB, free: 23.83 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.733e-05/0.3857, allocations: 7.984 kB / 0.5566 GB, free: 23.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.362e-05/0.3857, allocations: 8 kB / 0.5566 GB, free: 23.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00576/0.3915, allocations: 2.105 MB / 0.5587 GB, free: 21.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001124/0.3927, allocations: 237.5 kB / 0.5589 GB, free: 21.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01841/0.4111, allocations: 9.515 MB / 0.5682 GB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001564/0.4127, allocations: 232.7 kB / 0.5684 GB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002226/0.4129, allocations: 44.61 kB / 0.5685 GB, free: 11.55 MB / 362.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.0006614/0.4136, allocations: 247.4 kB / 0.5687 GB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003185/0.4139, allocations: 122.5 kB / 0.5688 GB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01288/0.4268, allocations: 4.958 MB / 0.5737 GB, free: 6.215 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.792e-05/0.4269, allocations: 8 kB / 0.5737 GB, free: 6.207 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.4269, allocations: 4 kB / 0.5737 GB, free: 6.203 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.266e-05/0.427, allocations: 3.984 kB / 0.5737 GB, free: 6.199 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01517/0.4421, allocations: 6.558 MB / 0.5801 GB, free: 15.53 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.899e-05/0.4422, allocations: 0 / 0.5801 GB, free: 15.53 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008094/0.443, allocations: 143.8 kB / 0.5802 GB, free: 15.39 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006055/0.4491, allocations: 2.054 MB / 0.5822 GB, free: 13.33 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002056/0.4493, allocations: 19.94 kB / 0.5822 GB, free: 13.31 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01882/0.4682, allocations: 8.21 MB / 0.5903 GB, free: 4.961 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.4682, allocations: 3.984 kB / 0.5903 GB, free: 4.957 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01617/0.4844, allocations: 5.987 MB / 0.5961 GB, free: 14.95 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005644/0.485, allocations: 203.4 kB / 0.5963 GB, free: 14.73 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003688/0.4854, allocations: 24 kB / 0.5963 GB, free: 14.71 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001267/0.4867, allocations: 163.8 kB / 0.5965 GB, free: 14.55 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008314/0.4875, allocations: 208.6 kB / 0.5967 GB, free: 14.35 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001199/0.4877, allocations: 31.98 kB / 0.5967 GB, free: 14.32 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0009868/0.4887, allocations: 0.5852 MB / 0.5973 GB, free: 13.72 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4887, allocations: 7.5 kB / 0.5973 GB, free: 13.72 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001726/0.4904, allocations: 446 kB / 0.5977 GB, free: 13.29 MB / 394.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.000333/0.4908, allocations: 135.1 kB / 0.5979 GB, free: 13.14 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.007322/0.4981, allocations: 2.76 MB / 0.6005 GB, free: 10.37 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.4981, allocations: 0 / 0.6005 GB, free: 10.37 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00496/0.5031, allocations: 1.8 MB / 0.6023 GB, free: 8.551 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001013/0.5041, allocations: 93.27 kB / 0.6024 GB, free: 8.461 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004418/0.5086, allocations: 2.479 MB / 0.6048 GB, free: 5.953 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007793/0.5094, allocations: 1.095 MB / 0.6059 GB, free: 4.828 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004742/0.5099, allocations: 94.75 kB / 0.606 GB, free: 4.73 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002572/0.5101, allocations: 67.36 kB / 0.606 GB, free: 4.668 MB / 394.7 MB Notification: Performance of SimCode: time 1.031e-06/0.5102, allocations: 0 / 0.606 GB, free: 4.668 MB / 394.7 MB Notification: Performance of Templates: time 0.03943/0.5496, allocations: 20.71 MB / 0.6263 GB, free: 15.98 MB / 426.7 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order3test2_perturbation.makefile (rm -f OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order3test2_perturbation.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order3test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order3test2_perturbation.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order3test2_perturbation.sim & ./OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order3test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order3test2_perturbation.pipe 2>&1)