Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005544/0.005544, allocations: 172.2 kB / 15.12 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.634/1.634, allocations: 223.2 MB / 239 MB, free: 15.86 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008596/0.0008598, allocations: 93.89 kB / 290.2 MB, free: 4.477 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4619/0.4619, allocations: 78.58 MB / 419.9 MB, free: 36.53 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003695/0.0003696, allocations: 16 kB / 499.8 MB, free: 7.25 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1605/0.1609, allocations: 69.36 MB / 0.5558 GB, free: 1.832 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation): time 0.006029/0.167, allocations: 5.615 MB / 0.5613 GB, free: 12.19 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.00409/0.1711, allocations: 1.85 MB / 0.5631 GB, free: 10.33 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006245/0.1717, allocations: 15.94 kB / 0.5631 GB, free: 10.32 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004291/0.1722, allocations: 154.8 kB / 0.5632 GB, free: 10.16 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001633/0.1738, allocations: 0.6502 MB / 0.5639 GB, free: 9.512 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001239/0.1751, allocations: 0.5168 MB / 0.5644 GB, free: 9.004 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001214/0.1763, allocations: 0.9208 MB / 0.5653 GB, free: 8.082 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004102/0.1767, allocations: 269.6 kB / 0.5655 GB, free: 7.809 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005628/0.1773, allocations: 0.498 MB / 0.566 GB, free: 7.309 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006785/0.178, allocations: 0.63 MB / 0.5666 GB, free: 6.676 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001037/0.1781, allocations: 52 kB / 0.5667 GB, free: 6.625 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003967/0.1785, allocations: 163.9 kB / 0.5668 GB, free: 6.465 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001874/0.1787, allocations: 215 kB / 0.567 GB, free: 6.254 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001873/0.1789, allocations: 225 kB / 0.5673 GB, free: 6.027 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001032/0.1799, allocations: 1.056 MB / 0.5683 GB, free: 4.969 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.464e-06/0.1799, allocations: 4 kB / 0.5683 GB, free: 4.965 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.435e-06/0.1799, allocations: 0 / 0.5683 GB, free: 4.965 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.139e-05/0.18, allocations: 0 / 0.5683 GB, free: 4.965 MB / 442.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.007603/0.1876, allocations: 2.401 MB / 0.5706 GB, free: 2.508 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.131e-05/0.1876, allocations: 12.03 kB / 0.5707 GB, free: 2.496 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00488/0.1925, allocations: 0.7905 MB / 0.5714 GB, free: 1.703 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001363/0.1939, allocations: 0.7188 MB / 0.5721 GB, free: 0.9297 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003201/0.1942, allocations: 272.2 kB / 0.5724 GB, free: 0.6289 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001545/0.1944, allocations: 79.91 kB / 0.5725 GB, free: 0.5508 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2573/0.4517, allocations: 1.153 MB / 0.5736 GB, free: 44.09 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.783e-05/0.4518, allocations: 0.5625 kB / 0.5736 GB, free: 44.09 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.18e-05/0.4519, allocations: 29.5 kB / 0.5736 GB, free: 44.09 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.311e-05/0.4519, allocations: 21.11 kB / 0.5736 GB, free: 44.09 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002544/0.4545, allocations: 1.243 MB / 0.5748 GB, free: 44.09 MB / 442.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.005416/0.4599, allocations: 3.623 MB / 0.5784 GB, free: 43.14 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002156/0.4621, allocations: 1.514 MB / 0.5799 GB, free: 42.55 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001065/0.4622, allocations: 17.53 kB / 0.5799 GB, free: 42.55 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.118e-05/0.4622, allocations: 43.34 kB / 0.5799 GB, free: 42.51 MB / 442.7 MB Notification: Performance of pre-optimization done (n=97): time 3.437e-06/0.4623, allocations: 0.7812 kB / 0.5799 GB, free: 42.51 MB / 442.7 MB Notification: Performance of matching and sorting (n=97): time 0.02818/0.4904, allocations: 8.16 MB / 0.5879 GB, free: 41.95 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.496e-05/0.4905, allocations: 62.83 kB / 0.588 GB, free: 41.89 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001096/0.4916, allocations: 0.8909 MB / 0.5888 GB, free: 41.74 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001466/0.4918, allocations: 42.83 kB / 0.5889 GB, free: 41.71 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003161/0.4921, allocations: 0.495 MB / 0.5893 GB, free: 41.54 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002758/0.4924, allocations: 342.4 kB / 0.5897 GB, free: 41.33 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.641e-05/0.4925, allocations: 21.78 kB / 0.5897 GB, free: 41.33 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.574e-05/0.4926, allocations: 351.5 kB / 0.59 GB, free: 41.02 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001749/0.4943, allocations: 0.8048 MB / 0.5908 GB, free: 41 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001895/0.4962, allocations: 0.9368 MB / 0.5917 GB, free: 40.89 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001733/0.498, allocations: 0.8629 MB / 0.5926 GB, free: 40.71 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.498, allocations: 0 / 0.5926 GB, free: 40.71 MB / 442.7 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.0142/0.5122, allocations: 5.212 MB / 0.5977 GB, free: 39.59 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.384e-05/0.5122, allocations: 10.02 kB / 0.5977 GB, free: 39.58 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/0.5123, allocations: 3.125 kB / 0.5977 GB, free: 39.58 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006468/0.5187, allocations: 2.106 MB / 0.5997 GB, free: 39.24 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001164/0.5199, allocations: 239.4 kB / 0.6 GB, free: 39.22 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02054/0.5405, allocations: 9.983 MB / 0.6097 GB, free: 34.96 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001591/0.5421, allocations: 231.8 kB / 0.6099 GB, free: 34.89 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001027/0.5422, allocations: 38.64 kB / 0.61 GB, free: 34.88 MB / 442.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {25 11} Notification: Performance of prepare postOptimizeDAE: time 0.0004923/0.5427, allocations: 238.1 kB / 0.6102 GB, free: 34.68 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001842/0.5429, allocations: 124.8 kB / 0.6103 GB, free: 34.62 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01413/0.557, allocations: 4.951 MB / 0.6151 GB, free: 33.59 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.549e-05/0.5571, allocations: 13.83 kB / 0.6152 GB, free: 33.59 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.5571, allocations: 1.188 kB / 0.6152 GB, free: 33.59 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.545e-05/0.5571, allocations: 5.109 kB / 0.6152 GB, free: 33.59 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01646/0.5736, allocations: 6.549 MB / 0.6216 GB, free: 31.52 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.388e-06/0.5736, allocations: 3.688 kB / 0.6216 GB, free: 31.52 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007148/0.5743, allocations: 147.3 kB / 0.6217 GB, free: 31.51 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006377/0.5807, allocations: 2.055 MB / 0.6237 GB, free: 31.17 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001017/0.5808, allocations: 17.08 kB / 0.6237 GB, free: 31.16 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01758/0.5984, allocations: 8.655 MB / 0.6322 GB, free: 26.06 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.5984, allocations: 8 kB / 0.6322 GB, free: 26.05 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01487/0.6133, allocations: 5.985 MB / 0.638 GB, free: 20.05 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004293/0.6138, allocations: 203.4 kB / 0.6382 GB, free: 19.83 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001559/0.6139, allocations: 18 kB / 0.6382 GB, free: 19.82 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001046/0.615, allocations: 155.9 kB / 0.6384 GB, free: 19.66 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006146/0.6156, allocations: 216.6 kB / 0.6386 GB, free: 19.45 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.526e-05/0.6157, allocations: 27.98 kB / 0.6386 GB, free: 19.43 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0006848/0.6164, allocations: 0.593 MB / 0.6392 GB, free: 18.82 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.6164, allocations: 0 / 0.6392 GB, free: 18.82 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001313/0.6177, allocations: 444.9 kB / 0.6396 GB, free: 18.39 MB / 442.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002323/0.618, allocations: 133.8 kB / 0.6398 GB, free: 18.26 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006514/0.6245, allocations: 2.769 MB / 0.6425 GB, free: 15.49 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.6245, allocations: 0 / 0.6425 GB, free: 15.49 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004769/0.6293, allocations: 1.799 MB / 0.6442 GB, free: 13.69 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006324/0.6299, allocations: 78.94 kB / 0.6443 GB, free: 13.61 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003037/0.633, allocations: 2.395 MB / 0.6466 GB, free: 11.22 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003974/0.6334, allocations: 1.122 MB / 0.6477 GB, free: 10.07 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003402/0.6337, allocations: 86.8 kB / 0.6478 GB, free: 9.988 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002007/0.634, allocations: 63.42 kB / 0.6479 GB, free: 9.93 MB / 442.7 MB Notification: Performance of SimCode: time 1.062e-06/0.634, allocations: 0 / 0.6479 GB, free: 9.93 MB / 442.7 MB Notification: Performance of Templates: time 0.02907/0.663, allocations: 20.11 MB / 0.6675 GB, free: 5.988 MB / 458.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.sim & ./OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe 2>&1)