Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.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_TG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_TG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007563/0.007563, allocations: 169.5 kB / 15.13 MB, free: 6.023 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.596/1.596, allocations: 223.3 MB / 239.1 MB, free: 1.727 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007286/0.0007286, allocations: 95.66 kB / 290.3 MB, free: 13.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4796/0.4796, allocations: 78.62 MB / 420 MB, free: 44.18 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003841/0.0003844, allocations: 16 kB / 499.9 MB, free: 2.906 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4241/0.4245, allocations: 69.34 MB / 0.5559 GB, free: 38.88 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_TG): time 0.009555/0.4341, allocations: 5.822 MB / 0.5616 GB, free: 37.73 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.005787/0.44, allocations: 1.88 MB / 0.5634 GB, free: 36.4 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001995/0.442, allocations: 10.88 kB / 0.5634 GB, free: 36.4 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001294/0.4433, allocations: 166.6 kB / 0.5636 GB, free: 36.33 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003313/0.4467, allocations: 0.6063 MB / 0.5642 GB, free: 35.92 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001722/0.4484, allocations: 0.5413 MB / 0.5647 GB, free: 35.65 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002438/0.4509, allocations: 1.314 MB / 0.566 GB, free: 34.98 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006507/0.4515, allocations: 256.1 kB / 0.5662 GB, free: 34.87 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001192/0.4527, allocations: 0.5158 MB / 0.5667 GB, free: 34.64 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001296/0.4541, allocations: 0.6364 MB / 0.5674 GB, free: 34.36 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003747/0.4544, allocations: 51.91 kB / 0.5674 GB, free: 34.36 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008179/0.4553, allocations: 176.9 kB / 0.5676 GB, free: 34.32 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002946/0.4556, allocations: 224.3 kB / 0.5678 GB, free: 34.2 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003991/0.456, allocations: 217.9 kB / 0.568 GB, free: 34.05 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001246/0.4572, allocations: 1.136 MB / 0.5691 GB, free: 33.7 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.4573, allocations: 0 / 0.5691 GB, free: 33.7 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.4573, allocations: 0 / 0.5691 GB, free: 33.7 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.946e-05/0.4573, allocations: 0 / 0.5691 GB, free: 33.7 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.007999/0.4653, allocations: 2.375 MB / 0.5714 GB, free: 32.68 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.4654, allocations: 12.53 kB / 0.5714 GB, free: 32.68 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005141/0.4705, allocations: 0.7774 MB / 0.5722 GB, free: 32.53 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001516/0.4721, allocations: 0.7773 MB / 0.573 GB, free: 32.01 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002557/0.4723, allocations: 267.1 kB / 0.5732 GB, free: 31.79 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002336/0.4726, allocations: 77.11 kB / 0.5733 GB, free: 31.76 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002502/0.4751, allocations: 1.193 MB / 0.5744 GB, free: 31.33 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.749e-05/0.4751, allocations: 0 / 0.5744 GB, free: 31.33 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.976e-05/0.4752, allocations: 33.7 kB / 0.5745 GB, free: 31.3 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.671e-05/0.4753, allocations: 19.56 kB / 0.5745 GB, free: 31.3 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002308/0.4776, allocations: 1.164 MB / 0.5756 GB, free: 30.95 MB / 426.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.006128/0.4837, allocations: 3.524 MB / 0.5791 GB, free: 28.97 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002101/0.4858, allocations: 1.506 MB / 0.5805 GB, free: 28.02 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001546/0.4874, allocations: 0.8216 MB / 0.5814 GB, free: 27.72 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001064/0.4875, allocations: 13.05 kB / 0.5814 GB, free: 27.72 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.53e-05/0.4876, allocations: 45.44 kB / 0.5814 GB, free: 27.67 MB / 426.7 MB Notification: Performance of pre-optimization done (n=89): time 2.665e-06/0.4876, allocations: 0 / 0.5814 GB, free: 27.67 MB / 426.7 MB Notification: Performance of matching and sorting (n=89): time 0.02812/0.5157, allocations: 8.452 MB / 0.5897 GB, free: 26.24 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.02e-05/0.5158, allocations: 94.95 kB / 0.5898 GB, free: 26.14 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001633/0.5174, allocations: 0.9357 MB / 0.5907 GB, free: 25.75 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001805/0.5176, allocations: 45.45 kB / 0.5907 GB, free: 25.7 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000348/0.518, allocations: 481.8 kB / 0.5912 GB, free: 25.32 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003437/0.5183, allocations: 323.2 kB / 0.5915 GB, free: 25.07 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001025/0.5185, allocations: 20.69 kB / 0.5915 GB, free: 25.05 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.651e-05/0.5185, allocations: 348.4 kB / 0.5918 GB, free: 24.73 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001688/0.5202, allocations: 0.7698 MB / 0.5926 GB, free: 24.47 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001685/0.5219, allocations: 0.893 MB / 0.5935 GB, free: 24.1 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001686/0.5236, allocations: 0.824 MB / 0.5943 GB, free: 23.77 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.132e-06/0.5236, allocations: 1.188 kB / 0.5943 GB, free: 23.77 MB / 426.7 MB Notification: Performance of matching and sorting (n=141) (initialization): time 0.01548/0.5391, allocations: 5.115 MB / 0.5993 GB, free: 22.66 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001456/0.5393, allocations: 154.9 kB / 0.5994 GB, free: 22.48 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.972e-05/0.5394, allocations: 2 kB / 0.5994 GB, free: 22.48 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007687/0.5471, allocations: 2.116 MB / 0.6015 GB, free: 22.13 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001174/0.5483, allocations: 202.1 kB / 0.6017 GB, free: 22.11 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0226/0.5709, allocations: 9.543 MB / 0.611 GB, free: 17.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001847/0.5728, allocations: 213.6 kB / 0.6112 GB, free: 17.03 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002283/0.573, allocations: 35.47 kB / 0.6112 GB, free: 17 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.573, allocations: 5.406 kB / 0.6112 GB, free: 16.99 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01388/0.5869, allocations: 4.961 MB / 0.6161 GB, free: 12.24 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.67e-05/0.587, allocations: 0 / 0.6161 GB, free: 12.24 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0062/0.5932, allocations: 2.12 MB / 0.6181 GB, free: 10.11 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001046/0.5943, allocations: 191.7 kB / 0.6183 GB, free: 9.926 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01956/0.6138, allocations: 9.519 MB / 0.6276 GB, free: 276 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001702/0.6156, allocations: 210.9 kB / 0.6278 GB, free: 64 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001982/0.6158, allocations: 43.98 kB / 0.6279 GB, free: 20 kB / 426.7 MB Warning: Assuming fixed start value for the following 3 variables: TGTypeII1.transferFunction1.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] order3_Inputs_Outputs1.e1q:VARIABLE(start = order3_Inputs_Outputs1.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order3_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (106): * Single equations (assignments): 105 * 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.0007704/0.6166, allocations: 321.6 kB / 0.6282 GB, free: 15.7 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003421/0.6169, allocations: 122.6 kB / 0.6283 GB, free: 15.57 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01457/0.6315, allocations: 4.858 MB / 0.633 GB, free: 10.7 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.845e-05/0.6316, allocations: 11.94 kB / 0.633 GB, free: 10.69 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.6316, allocations: 0 / 0.633 GB, free: 10.69 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.497e-05/0.6316, allocations: 7.938 kB / 0.633 GB, free: 10.68 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01757/0.6492, allocations: 6.45 MB / 0.6393 GB, free: 4.094 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.619e-05/0.6492, allocations: 0 / 0.6393 GB, free: 4.094 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007842/0.65, allocations: 115.9 kB / 0.6395 GB, free: 3.98 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00671/0.6568, allocations: 2.046 MB / 0.6415 GB, free: 1.93 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002029/0.657, allocations: 16 kB / 0.6415 GB, free: 1.914 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01916/0.6762, allocations: 8.21 MB / 0.6495 GB, free: 9.562 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.6762, allocations: 0 / 0.6495 GB, free: 9.562 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01687/0.6931, allocations: 5.833 MB / 0.6552 GB, free: 3.707 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004598/0.6936, allocations: 207.5 kB / 0.6554 GB, free: 3.484 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004101/0.6941, allocations: 16 kB / 0.6554 GB, free: 3.469 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001387/0.6955, allocations: 147.9 kB / 0.6555 GB, free: 3.324 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006359/0.6961, allocations: 208.5 kB / 0.6557 GB, free: 3.121 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001217/0.6962, allocations: 20 kB / 0.6558 GB, free: 3.102 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001112/0.6974, allocations: 0.6432 MB / 0.6564 GB, free: 2.449 MB / 458.7 MB Notification: Performance of sort global known variables: time 6.21e-07/0.6974, allocations: 0 / 0.6564 GB, free: 2.449 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002958/0.7003, allocations: 0.6944 MB / 0.6571 GB, free: 1.754 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q,TGTypeII1.transferFunction1.x_scaled[1]) * 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 (56): * Single equations (assignments): 55 * 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.0003159/0.7007, allocations: 131.1 kB / 0.6572 GB, free: 1.613 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01289/0.7136, allocations: 4.601 MB / 0.6617 GB, free: 13 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.7136, allocations: 4.125 kB / 0.6617 GB, free: 12.99 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005063/0.7187, allocations: 1.732 MB / 0.6634 GB, free: 11.25 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001131/0.7199, allocations: 96.3 kB / 0.6635 GB, free: 11.15 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004324/0.7242, allocations: 2.444 MB / 0.6659 GB, free: 8.688 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006847/0.7249, allocations: 1.105 MB / 0.6669 GB, free: 7.551 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0005335/0.7255, allocations: 118.8 kB / 0.667 GB, free: 7.43 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002297/0.7257, allocations: 63.42 kB / 0.6671 GB, free: 7.367 MB / 474.7 MB Notification: Performance of SimCode: time 4.61e-07/0.7257, allocations: 0 / 0.6671 GB, free: 7.367 MB / 474.7 MB Notification: Performance of Templates: time 0.04336/0.7691, allocations: 27.39 MB / 0.6939 GB, free: 12 MB / 0.4948 GB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.sim & ./OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe 2>&1)