Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order4test2_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.Order4test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order4test2_perturbation") translateModel(OpenIPSL.Examples.Machines.PSAT.Order4test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order4test2_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.0009338/0.0009339, allocations: 178.5 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.387/1.387, allocations: 225.7 MB / 241.9 MB, free: 392 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.0007321/0.0007322, allocations: 100 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.1719/0.1719, allocations: 43.17 MB / 387.4 MB, free: 15.49 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002994/0.0002995, allocations: 8 kB / 458.6 MB, free: 55.44 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08771/0.08803, allocations: 60.51 MB / 0.5069 GB, free: 10.86 MB / 346.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.Machines.PSAT.Order4test2_perturbation): time 0.0061/0.09417, allocations: 5.962 MB / 0.5127 GB, free: 4.875 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004226/0.09843, allocations: 2.468 MB / 0.5151 GB, free: 2.258 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001102/0.09957, allocations: 12 kB / 0.5152 GB, free: 2.246 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007648/0.1003, allocations: 170.9 kB / 0.5153 GB, free: 2.078 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002453/0.1028, allocations: 0.9249 MB / 0.5162 GB, free: 1.078 MB / 346.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/Electrical/Machines/PSAT/Order4.mo:25:3-30:9:writable] Warning: In relation Generator.xq <> Generator.x1q, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.001592/0.1044, allocations: 0.7278 MB / 0.5169 GB, free: 320 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.002014/0.1065, allocations: 1.355 MB / 0.5183 GB, free: 14.95 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005658/0.107, allocations: 289.2 kB / 0.5185 GB, free: 14.66 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008811/0.1079, allocations: 0.517 MB / 0.519 GB, free: 14.14 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000972/0.1089, allocations: 0.6568 MB / 0.5197 GB, free: 13.48 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002736/0.1092, allocations: 59.94 kB / 0.5197 GB, free: 13.42 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007081/0.1099, allocations: 179.9 kB / 0.5199 GB, free: 13.24 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00032/0.1102, allocations: 222.8 kB / 0.5201 GB, free: 13.02 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000776/0.111, allocations: 0.5878 MB / 0.5207 GB, free: 12.43 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001439/0.1125, allocations: 1.436 MB / 0.5221 GB, free: 10.98 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.714e-06/0.1125, allocations: 0 / 0.5221 GB, free: 10.98 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.866e-06/0.1125, allocations: 4 kB / 0.5221 GB, free: 10.98 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.332e-05/0.1125, allocations: 0 / 0.5221 GB, free: 10.98 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: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.007331/0.1199, allocations: 2.385 MB / 0.5244 GB, free: 8.543 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.1199, allocations: 8.031 kB / 0.5244 GB, free: 8.535 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004836/0.1248, allocations: 0.7905 MB / 0.5252 GB, free: 7.742 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001303/0.1261, allocations: 0.7685 MB / 0.526 GB, free: 6.918 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003205/0.1264, allocations: 268.2 kB / 0.5262 GB, free: 6.617 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002354/0.1267, allocations: 80 kB / 0.5263 GB, free: 6.539 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00252/0.1292, allocations: 1.167 MB / 0.5274 GB, free: 5.367 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.851e-05/0.1292, allocations: 7.938 kB / 0.5274 GB, free: 5.359 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001174/0.1294, allocations: 31.98 kB / 0.5275 GB, free: 5.328 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.761e-05/0.1294, allocations: 20 kB / 0.5275 GB, free: 5.309 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00267/0.1321, allocations: 1.241 MB / 0.5287 GB, free: 4.066 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.006568/0.1387, allocations: 3.526 MB / 0.5321 GB, free: 392 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.225/0.3636, allocations: 1.513 MB / 0.5336 GB, free: 31.56 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002294/0.366, allocations: 0.8734 MB / 0.5345 GB, free: 31.55 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001149/0.3661, allocations: 18.69 kB / 0.5345 GB, free: 31.55 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.382e-05/0.3662, allocations: 42.16 kB / 0.5345 GB, free: 31.51 MB / 362.7 MB Notification: Performance of pre-optimization done (n=98): time 3.486e-06/0.3662, allocations: 0 / 0.5345 GB, free: 31.51 MB / 362.7 MB Notification: Performance of matching and sorting (n=98): time 0.02919/0.3954, allocations: 8.208 MB / 0.5425 GB, free: 30.34 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.354e-05/0.3955, allocations: 66.2 kB / 0.5426 GB, free: 30.28 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001258/0.3967, allocations: 0.8833 MB / 0.5435 GB, free: 29.91 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001729/0.3969, allocations: 45.69 kB / 0.5435 GB, free: 29.87 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003355/0.3972, allocations: 499.3 kB / 0.544 GB, free: 29.56 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003116/0.3976, allocations: 356.9 kB / 0.5443 GB, free: 29.3 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.627e-05/0.3976, allocations: 21 kB / 0.5444 GB, free: 29.29 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.566e-05/0.3977, allocations: 351.3 kB / 0.5447 GB, free: 28.96 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001692/0.3994, allocations: 0.8141 MB / 0.5455 GB, free: 28.7 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001794/0.4012, allocations: 0.9457 MB / 0.5464 GB, free: 28.32 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0198/0.421, allocations: 5.407 MB / 0.5517 GB, free: 26.48 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.086e-05/0.4211, allocations: 0 / 0.5517 GB, free: 26.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.01363/0.4347, allocations: 5.191 MB / 0.5568 GB, free: 23.64 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.788e-05/0.4348, allocations: 11.98 kB / 0.5568 GB, free: 23.63 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.545e-05/0.4349, allocations: 0 / 0.5568 GB, free: 23.63 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005901/0.4408, allocations: 2.086 MB / 0.5588 GB, free: 21.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001207/0.442, allocations: 239.7 kB / 0.559 GB, free: 21.31 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01848/0.4605, allocations: 9.484 MB / 0.5683 GB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001578/0.4621, allocations: 219 kB / 0.5685 GB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.51e-05/0.4622, allocations: 43.98 kB / 0.5685 GB, free: 11.44 MB / 362.7 MB Warning: Assuming fixed start value for the following 3 variables: Generator.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Generator.e1d:VARIABLE(start = Generator.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" type: Real Generator.e1q:VARIABLE(start = Generator.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 (116): * Single equations (assignments): 115 * 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 {(24,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0004503/0.4627, allocations: 260.3 kB / 0.5688 GB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001638/0.4629, allocations: 126.5 kB / 0.5689 GB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0126/0.4755, allocations: 4.949 MB / 0.5737 GB, free: 6.086 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.877e-05/0.4755, allocations: 8 kB / 0.5738 GB, free: 6.078 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.4756, allocations: 4 kB / 0.5738 GB, free: 6.074 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.979e-05/0.4756, allocations: 7.984 kB / 0.5738 GB, free: 6.066 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01422/0.4898, allocations: 6.545 MB / 0.5802 GB, free: 15.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.356e-05/0.4899, allocations: 0 / 0.5802 GB, free: 15.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008453/0.4907, allocations: 147.8 kB / 0.5803 GB, free: 15.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006192/0.4969, allocations: 2.047 MB / 0.5823 GB, free: 13.21 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002129/0.4972, allocations: 23.92 kB / 0.5823 GB, free: 13.19 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01909/0.5163, allocations: 8.198 MB / 0.5903 GB, free: 4.855 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.5163, allocations: 4.5 kB / 0.5903 GB, free: 4.852 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01622/0.5326, allocations: 5.984 MB / 0.5962 GB, free: 14.85 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000492/0.5331, allocations: 203.4 kB / 0.5964 GB, free: 14.63 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003924/0.5335, allocations: 19.94 kB / 0.5964 GB, free: 14.61 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001346/0.5349, allocations: 155.9 kB / 0.5965 GB, free: 14.46 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008665/0.5358, allocations: 208.6 kB / 0.5967 GB, free: 14.25 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000126/0.5359, allocations: 31.88 kB / 0.5968 GB, free: 14.22 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0009028/0.5368, allocations: 0.5891 MB / 0.5973 GB, free: 13.62 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5368, allocations: 0 / 0.5973 GB, free: 13.62 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00165/0.5385, allocations: 449.9 kB / 0.5978 GB, free: 13.19 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Generator.delta,Generator.w,Generator.e1q,Generator.e1d) * 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 (65): * Single equations (assignments): 64 * 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.0003404/0.5388, allocations: 133.4 kB / 0.5979 GB, free: 13.05 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.007379/0.5462, allocations: 2.764 MB / 0.6006 GB, free: 10.27 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.215e-06/0.5463, allocations: 64 / 0.6006 GB, free: 10.27 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005068/0.5514, allocations: 1.806 MB / 0.6024 GB, free: 8.449 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001136/0.5525, allocations: 92.41 kB / 0.6024 GB, free: 8.359 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004674/0.5572, allocations: 2.545 MB / 0.6049 GB, free: 5.789 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008269/0.558, allocations: 1.099 MB / 0.606 GB, free: 4.656 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004385/0.5585, allocations: 90.77 kB / 0.6061 GB, free: 4.562 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002618/0.5588, allocations: 67.41 kB / 0.6062 GB, free: 4.496 MB / 394.7 MB Notification: Performance of SimCode: time 1.022e-06/0.5588, allocations: 0 / 0.6062 GB, free: 4.496 MB / 394.7 MB Notification: Performance of Templates: time 0.03534/0.5941, allocations: 20.63 MB / 0.6263 GB, free: 15.88 MB / 426.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order4test2_perturbation.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order4test2_perturbation.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order4test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order4test2_perturbation.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order4test2_perturbation.sim & ./OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order4test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order4test2_perturbation.pipe 2>&1)