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.004259/0.004259, allocations: 169.9 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.388/1.388, allocations: 223.2 MB / 239 MB, free: 1.758 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.001113/0.001113, allocations: 103.8 kB / 290.2 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4475/0.4475, allocations: 78.59 MB / 419.9 MB, free: 44.23 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000363/0.000363, allocations: 12 kB / 499.8 MB, free: 2.934 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.423/0.4234, allocations: 69.35 MB / 0.5558 GB, free: 38.95 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_TG): time 0.0055/0.4289, allocations: 5.534 MB / 0.5612 GB, free: 38.04 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.003222/0.4322, allocations: 1.914 MB / 0.563 GB, free: 36.68 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000473/0.4327, allocations: 10.91 kB / 0.563 GB, free: 36.68 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005645/0.4332, allocations: 164.9 kB / 0.5632 GB, free: 36.61 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001515/0.4348, allocations: 0.6641 MB / 0.5639 GB, free: 36.16 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001364/0.4361, allocations: 0.5468 MB / 0.5644 GB, free: 35.88 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.00114/0.4373, allocations: 0.9236 MB / 0.5653 GB, free: 35.38 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004034/0.4377, allocations: 258 kB / 0.5655 GB, free: 35.26 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006044/0.4383, allocations: 0.5164 MB / 0.566 GB, free: 35.02 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006793/0.439, allocations: 0.6178 MB / 0.5666 GB, free: 34.75 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001218/0.4391, allocations: 51.81 kB / 0.5667 GB, free: 34.75 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004314/0.4396, allocations: 169.7 kB / 0.5669 GB, free: 34.71 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001697/0.4398, allocations: 222.9 kB / 0.5671 GB, free: 34.58 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001808/0.4399, allocations: 216.3 kB / 0.5673 GB, free: 34.44 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001021/0.441, allocations: 1.094 MB / 0.5683 GB, free: 34.1 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.441, allocations: 0 / 0.5683 GB, free: 34.1 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.441, allocations: 0 / 0.5683 GB, free: 34.1 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.359e-05/0.441, allocations: 0 / 0.5683 GB, free: 34.1 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.007159/0.4482, allocations: 2.375 MB / 0.5707 GB, free: 33.08 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.4482, allocations: 10.06 kB / 0.5707 GB, free: 33.08 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004554/0.4528, allocations: 0.7784 MB / 0.5714 GB, free: 32.93 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001249/0.454, allocations: 0.776 MB / 0.5722 GB, free: 32.41 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002521/0.4543, allocations: 265 kB / 0.5724 GB, free: 32.19 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001371/0.4545, allocations: 73.09 kB / 0.5725 GB, free: 32.17 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002118/0.4566, allocations: 1.19 MB / 0.5737 GB, free: 31.74 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/0.4566, allocations: 0 / 0.5737 GB, free: 31.74 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.244e-05/0.4567, allocations: 33.92 kB / 0.5737 GB, free: 31.71 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.735e-05/0.4567, allocations: 17.5 kB / 0.5737 GB, free: 31.71 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002297/0.459, allocations: 1.162 MB / 0.5749 GB, free: 31.36 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.005352/0.4644, allocations: 3.627 MB / 0.5784 GB, free: 29.25 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002093/0.4665, allocations: 1.508 MB / 0.5799 GB, free: 28.3 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.134e-05/0.4666, allocations: 14.44 kB / 0.5799 GB, free: 28.3 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.447e-05/0.4666, allocations: 45.88 kB / 0.5799 GB, free: 28.25 MB / 426.7 MB Notification: Performance of pre-optimization done (n=89): time 2.244e-06/0.4666, allocations: 6.406 kB / 0.5799 GB, free: 28.25 MB / 426.7 MB Notification: Performance of matching and sorting (n=89): time 0.02855/0.4952, allocations: 8.451 MB / 0.5882 GB, free: 26.82 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.06e-05/0.4953, allocations: 87.98 kB / 0.5883 GB, free: 26.72 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001348/0.4967, allocations: 0.941 MB / 0.5892 GB, free: 26.33 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001875/0.4969, allocations: 41.77 kB / 0.5892 GB, free: 26.29 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003085/0.4972, allocations: 483.9 kB / 0.5897 GB, free: 25.91 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003131/0.4975, allocations: 322.9 kB / 0.59 GB, free: 25.65 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.859e-05/0.4976, allocations: 19.62 kB / 0.59 GB, free: 25.64 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.915e-05/0.4977, allocations: 348.8 kB / 0.5904 GB, free: 25.31 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001701/0.4994, allocations: 0.7644 MB / 0.5911 GB, free: 25.05 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001811/0.5012, allocations: 0.888 MB / 0.592 GB, free: 24.69 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001689/0.5029, allocations: 0.8301 MB / 0.5928 GB, free: 24.36 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.5029, allocations: 0 / 0.5928 GB, free: 24.36 MB / 426.7 MB Notification: Performance of matching and sorting (n=141) (initialization): time 0.01547/0.5184, allocations: 5.116 MB / 0.5978 GB, free: 23.24 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001874/0.5186, allocations: 0.7952 MB / 0.5986 GB, free: 22.39 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/0.5186, allocations: 2.344 kB / 0.5986 GB, free: 22.39 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007177/0.5258, allocations: 2.11 MB / 0.6006 GB, free: 22.04 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001103/0.5269, allocations: 206.6 kB / 0.6008 GB, free: 22.02 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02455/0.5515, allocations: 10 MB / 0.6106 GB, free: 17.25 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002048/0.5536, allocations: 213.5 kB / 0.6108 GB, free: 17.08 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002208/0.5539, allocations: 43.28 kB / 0.6108 GB, free: 17.04 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/0.5539, allocations: 4 kB / 0.6108 GB, free: 17.04 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01414/0.568, allocations: 4.959 MB / 0.6157 GB, free: 12.49 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.894e-05/0.5681, allocations: 0 / 0.6157 GB, free: 12.49 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00623/0.5743, allocations: 2.109 MB / 0.6177 GB, free: 10.38 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001011/0.5754, allocations: 207.7 kB / 0.6179 GB, free: 10.17 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02064/0.596, allocations: 9.967 MB / 0.6277 GB, free: 68 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001764/0.5978, allocations: 203.1 kB / 0.6279 GB, free: 15.87 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002223/0.5981, allocations: 47.92 kB / 0.6279 GB, free: 15.82 MB / 442.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.0008013/0.5989, allocations: 326.8 kB / 0.6282 GB, free: 15.49 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003302/0.5992, allocations: 122.5 kB / 0.6283 GB, free: 15.37 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01489/0.6141, allocations: 4.858 MB / 0.6331 GB, free: 10.5 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.728e-05/0.6142, allocations: 8 kB / 0.6331 GB, free: 10.49 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.6142, allocations: 0 / 0.6331 GB, free: 10.49 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.89e-05/0.6142, allocations: 3.984 kB / 0.6331 GB, free: 10.48 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01741/0.6316, allocations: 6.457 MB / 0.6394 GB, free: 3.887 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.977e-06/0.6317, allocations: 0 / 0.6394 GB, free: 3.887 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006701/0.6324, allocations: 111.9 kB / 0.6395 GB, free: 3.777 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006634/0.639, allocations: 2.051 MB / 0.6415 GB, free: 1.723 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001571/0.6392, allocations: 16 kB / 0.6415 GB, free: 1.707 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0228/0.662, allocations: 8.647 MB / 0.65 GB, free: 8.918 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.662, allocations: 3.984 kB / 0.65 GB, free: 8.914 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02297/0.685, allocations: 5.829 MB / 0.6557 GB, free: 3.059 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005493/0.6856, allocations: 203.5 kB / 0.6558 GB, free: 2.84 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003734/0.686, allocations: 23.95 kB / 0.6559 GB, free: 2.816 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001654/0.6877, allocations: 147.9 kB / 0.656 GB, free: 2.672 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007796/0.6885, allocations: 204.6 kB / 0.6562 GB, free: 2.473 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001206/0.6886, allocations: 20 kB / 0.6562 GB, free: 2.453 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001512/0.6901, allocations: 0.6354 MB / 0.6568 GB, free: 1.809 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.6901, allocations: 3.938 kB / 0.6569 GB, free: 1.805 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003004/0.6932, allocations: 0.6943 MB / 0.6575 GB, free: 1.109 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.000293/0.6935, allocations: 139.2 kB / 0.6577 GB, free: 0.9609 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01245/0.7059, allocations: 4.602 MB / 0.6622 GB, free: 12.34 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.706, allocations: 0 / 0.6622 GB, free: 12.34 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005073/0.711, allocations: 1.728 MB / 0.6638 GB, free: 10.61 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007422/0.7118, allocations: 84.3 kB / 0.6639 GB, free: 10.52 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004268/0.7161, allocations: 2.481 MB / 0.6663 GB, free: 8.016 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007036/0.7168, allocations: 1.128 MB / 0.6674 GB, free: 6.855 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0005421/0.7173, allocations: 118.8 kB / 0.6676 GB, free: 6.734 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002143/0.7176, allocations: 59.42 kB / 0.6676 GB, free: 6.676 MB / 474.7 MB Notification: Performance of SimCode: time 5.21e-07/0.7176, allocations: 0 / 0.6676 GB, free: 6.676 MB / 474.7 MB Notification: Performance of Templates: time 0.04028/0.7579, allocations: 27.37 MB / 0.6943 GB, free: 11.34 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)