Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order2test2_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.Order2test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order2test2_perturbation") translateModel(OpenIPSL.Examples.Machines.PSAT.Order2test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order2test2_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.001256/0.001257, allocations: 175.5 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.405/1.405, 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.0009277/0.0009277, allocations: 95.34 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.1931/0.1931, allocations: 43.18 MB / 387.4 MB, free: 15.51 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003442/0.0003443, allocations: 8 kB / 458.6 MB, free: 55.46 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09267/0.09303, allocations: 60.51 MB / 0.5069 GB, free: 10.89 MB / 346.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.Machines.PSAT.Order2test2_perturbation): time 0.005792/0.09887, allocations: 5.872 MB / 0.5127 GB, free: 4.988 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003826/0.1027, allocations: 2.448 MB / 0.515 GB, free: 2.391 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006254/0.1034, allocations: 16 kB / 0.5151 GB, free: 2.375 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004123/0.1038, allocations: 166.9 kB / 0.5152 GB, free: 2.211 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001521/0.1053, allocations: 0.9191 MB / 0.5161 GB, free: 1.215 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00116/0.1065, allocations: 0.7045 MB / 0.5168 GB, free: 484 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001256/0.1078, allocations: 1.343 MB / 0.5181 GB, free: 15.12 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004136/0.1082, allocations: 285.2 kB / 0.5184 GB, free: 14.83 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006408/0.1089, allocations: 0.5131 MB / 0.5189 GB, free: 14.31 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006587/0.1095, allocations: 0.6607 MB / 0.5195 GB, free: 13.65 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001067/0.1096, allocations: 52 kB / 0.5196 GB, free: 13.6 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004194/0.1101, allocations: 175.9 kB / 0.5197 GB, free: 13.43 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001831/0.1103, allocations: 218.8 kB / 0.52 GB, free: 13.21 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004497/0.1107, allocations: 0.5878 MB / 0.5205 GB, free: 12.61 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001283/0.112, allocations: 1.409 MB / 0.5219 GB, free: 11.2 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.112, allocations: 0 / 0.5219 GB, free: 11.2 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.112, allocations: 3.938 kB / 0.5219 GB, free: 11.2 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.419e-05/0.1121, allocations: 0 / 0.5219 GB, free: 11.2 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.007181/0.1192, allocations: 2.377 MB / 0.5242 GB, free: 8.766 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.1193, allocations: 8.031 kB / 0.5242 GB, free: 8.758 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004869/0.1242, allocations: 0.7827 MB / 0.525 GB, free: 7.973 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001215/0.1254, allocations: 0.7644 MB / 0.5258 GB, free: 7.152 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002864/0.1257, allocations: 268.2 kB / 0.526 GB, free: 6.852 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001469/0.1259, allocations: 80 kB / 0.5261 GB, free: 6.773 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002335/0.1282, allocations: 1.159 MB / 0.5272 GB, free: 5.609 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.642e-05/0.1282, allocations: 7.938 kB / 0.5272 GB, free: 5.602 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.976e-05/0.1283, allocations: 32 kB / 0.5273 GB, free: 5.57 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.489e-05/0.1284, allocations: 16 kB / 0.5273 GB, free: 5.555 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002533/0.1309, allocations: 1.226 MB / 0.5285 GB, free: 4.328 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.005861/0.1368, allocations: 3.507 MB / 0.5319 GB, free: 0.6641 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2094/0.3462, allocations: 1.491 MB / 0.5333 GB, free: 31.55 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001964/0.3482, allocations: 0.8657 MB / 0.5342 GB, free: 31.54 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001005/0.3483, allocations: 16.39 kB / 0.5342 GB, free: 31.54 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.247e-05/0.3483, allocations: 47.7 kB / 0.5343 GB, free: 31.5 MB / 362.7 MB Notification: Performance of pre-optimization done (n=96): time 3.156e-06/0.3484, allocations: 0 / 0.5343 GB, free: 31.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=96): time 0.02796/0.3763, allocations: 8.352 MB / 0.5424 GB, free: 30.43 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.189e-05/0.3764, allocations: 65.81 kB / 0.5425 GB, free: 30.36 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001181/0.3776, allocations: 0.8784 MB / 0.5433 GB, free: 30 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001921/0.3778, allocations: 40.3 kB / 0.5434 GB, free: 29.95 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003099/0.3781, allocations: 0.4946 MB / 0.5438 GB, free: 29.64 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002867/0.3784, allocations: 345.3 kB / 0.5442 GB, free: 29.39 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.591e-05/0.3785, allocations: 19.91 kB / 0.5442 GB, free: 29.38 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.803e-05/0.3786, allocations: 349 kB / 0.5445 GB, free: 29.05 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001682/0.3803, allocations: 0.7964 MB / 0.5453 GB, free: 28.8 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001733/0.382, allocations: 0.9287 MB / 0.5462 GB, free: 28.43 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01804/0.4, allocations: 5.317 MB / 0.5514 GB, free: 26.62 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.081e-05/0.4001, allocations: 3.875 kB / 0.5514 GB, free: 26.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01277/0.4129, allocations: 5.158 MB / 0.5564 GB, free: 24.02 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.24e-05/0.4129, allocations: 8 kB / 0.5565 GB, free: 24.01 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.294e-05/0.4129, allocations: 1.688 kB / 0.5565 GB, free: 24.01 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005624/0.4186, allocations: 2.174 MB / 0.5586 GB, free: 21.84 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001003/0.4196, allocations: 223.7 kB / 0.5588 GB, free: 21.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01739/0.437, allocations: 9.347 MB / 0.5679 GB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001436/0.4385, allocations: 223 kB / 0.5681 GB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001039/0.4386, allocations: 35.98 kB / 0.5682 GB, free: 11.88 MB / 362.7 MB Warning: Assuming fixed start value for the following 2 variables: order2_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2_Inputs_Outputs1.delta:VARIABLE(flow=false start = order2_Inputs_Outputs1.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 (108): * Single equations (assignments): 107 * 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.000395/0.439, allocations: 250.8 kB / 0.5684 GB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000174/0.4392, allocations: 126.5 kB / 0.5685 GB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01246/0.4516, allocations: 4.941 MB / 0.5734 GB, free: 6.547 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.478e-05/0.4517, allocations: 11.98 kB / 0.5734 GB, free: 6.535 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.4517, allocations: 0 / 0.5734 GB, free: 6.535 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.831e-05/0.4517, allocations: 3.984 kB / 0.5734 GB, free: 6.531 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01419/0.4659, allocations: 6.559 MB / 0.5798 GB, free: 15.86 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.109e-05/0.466, allocations: 0 / 0.5798 GB, free: 15.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007502/0.4667, allocations: 147.7 kB / 0.5799 GB, free: 15.72 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006041/0.4728, allocations: 2.054 MB / 0.5819 GB, free: 13.66 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002073/0.473, allocations: 23.92 kB / 0.5819 GB, free: 13.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01772/0.4907, allocations: 8.2 MB / 0.59 GB, free: 5.293 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.4908, allocations: 3.938 kB / 0.59 GB, free: 5.289 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01625/0.507, allocations: 6.001 MB / 0.5958 GB, free: 15.27 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004641/0.5076, allocations: 207.4 kB / 0.596 GB, free: 15.05 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001713/0.5077, allocations: 16 kB / 0.596 GB, free: 15.04 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00108/0.5088, allocations: 160.8 kB / 0.5962 GB, free: 14.88 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007089/0.5096, allocations: 208.6 kB / 0.5964 GB, free: 14.68 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.467e-05/0.5096, allocations: 23.94 kB / 0.5964 GB, free: 14.65 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0007235/0.5104, allocations: 0.5887 MB / 0.597 GB, free: 14.05 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5104, allocations: 0 / 0.597 GB, free: 14.05 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001235/0.5116, allocations: 431.5 kB / 0.5974 GB, free: 13.63 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (order2_Inputs_Outputs1.delta,order2_Inputs_Outputs1.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 (63): * Single equations (assignments): 62 * 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.0002642/0.5119, allocations: 138.5 kB / 0.5975 GB, free: 13.49 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.006971/0.5189, allocations: 2.751 MB / 0.6002 GB, free: 10.73 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.5189, allocations: 3.938 kB / 0.6002 GB, free: 10.73 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005032/0.524, allocations: 1.791 MB / 0.602 GB, free: 8.918 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00101/0.525, allocations: 85.62 kB / 0.602 GB, free: 8.836 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003939/0.5289, allocations: 2.391 MB / 0.6044 GB, free: 6.414 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006564/0.5296, allocations: 1.088 MB / 0.6054 GB, free: 5.301 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003857/0.53, allocations: 82.69 kB / 0.6055 GB, free: 5.215 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002157/0.5302, allocations: 63.42 kB / 0.6056 GB, free: 5.156 MB / 394.7 MB Notification: Performance of SimCode: time 2.304e-06/0.5302, allocations: 6.562 kB / 0.6056 GB, free: 5.152 MB / 394.7 MB Notification: Performance of Templates: time 0.03207/0.5623, allocations: 20.4 MB / 0.6255 GB, free: 0.7812 MB / 410.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order2test2_perturbation.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order2test2_perturbation.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order2test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order2test2_perturbation.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order2test2_perturbation.sim & ./OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order2test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order2test2_perturbation.pipe 2>&1)