Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_TG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_TG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001297/0.001297, allocations: 105.5 kB / 16.41 MB, free: 6.461 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.427/1.427, allocations: 222.9 MB / 240.1 MB, free: 4.496 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001604/0.001604, allocations: 192.5 kB / 290.4 MB, free: 2.227 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5021/0.5021, allocations: 91.9 MB / 432.4 MB, free: 9.145 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001442, allocations: 74.97 kB / 0.5734 GB, free: 33.52 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.1233, allocations: 71.29 MB / 0.643 GB, free: 3.559 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_TG): time 0.006913/0.1303, allocations: 6.396 MB / 0.6492 GB, free: 13.13 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004139/0.1344, allocations: 1.969 MB / 0.6512 GB, free: 11.16 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008303/0.1353, allocations: 15.94 kB / 0.6512 GB, free: 11.14 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007402/0.1361, allocations: 226 kB / 0.6514 GB, free: 10.92 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001954/0.1381, allocations: 0.726 MB / 0.6521 GB, free: 10.19 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001535/0.1396, allocations: 0.6761 MB / 0.6528 GB, free: 9.52 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001673/0.1413, allocations: 1.467 MB / 0.6542 GB, free: 8.047 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004649/0.1418, allocations: 304.4 kB / 0.6545 GB, free: 7.742 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007157/0.1425, allocations: 0.5991 MB / 0.6551 GB, free: 7.141 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007959/0.1433, allocations: 0.7272 MB / 0.6558 GB, free: 6.41 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001598/0.1435, allocations: 104 kB / 0.6559 GB, free: 6.309 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005255/0.144, allocations: 243.9 kB / 0.6561 GB, free: 6.07 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000265/0.1443, allocations: 286.8 kB / 0.6564 GB, free: 5.789 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005028/0.1448, allocations: 0.6135 MB / 0.657 GB, free: 5.172 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00156/0.1464, allocations: 1.534 MB / 0.6585 GB, free: 3.633 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1464, allocations: 0 / 0.6585 GB, free: 3.633 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1464, allocations: 4 kB / 0.6585 GB, free: 3.629 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.751e-05/0.1464, allocations: 0 / 0.6585 GB, free: 3.629 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.008168/0.1546, allocations: 2.536 MB / 0.661 GB, free: 1.039 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.891e-05/0.1546, allocations: 8.031 kB / 0.661 GB, free: 1.031 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005139/0.1598, allocations: 0.775 MB / 0.6617 GB, free: 260 kB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001597/0.1614, allocations: 0.8187 MB / 0.6625 GB, free: 15.38 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000321/0.1617, allocations: 256.2 kB / 0.6628 GB, free: 15.09 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001943/0.162, allocations: 76 kB / 0.6629 GB, free: 15.02 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002413/0.1644, allocations: 1.122 MB / 0.6639 GB, free: 13.88 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.167e-05/0.1644, allocations: 3.938 kB / 0.664 GB, free: 13.88 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001034/0.1645, allocations: 35.98 kB / 0.664 GB, free: 13.84 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.356e-05/0.1646, allocations: 16 kB / 0.664 GB, free: 13.83 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002384/0.1669, allocations: 1.074 MB / 0.6651 GB, free: 12.75 MB / 478.1 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.007173/0.1741, allocations: 3.474 MB / 0.6684 GB, free: 9.121 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002332/0.1765, allocations: 1.434 MB / 0.6698 GB, free: 7.562 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001541/0.1781, allocations: 0.75 MB / 0.6706 GB, free: 6.809 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.843e-05/0.1782, allocations: 12.98 kB / 0.6706 GB, free: 6.797 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.347e-05/0.1782, allocations: 43.56 kB / 0.6706 GB, free: 6.746 MB / 478.1 MB Notification: Performance of pre-optimization done (n=90): time 4.749e-06/0.1782, allocations: 0 / 0.6706 GB, free: 6.746 MB / 478.1 MB Notification: Performance of matching and sorting (n=90): time 0.02588/0.2041, allocations: 6.508 MB / 0.677 GB, free: 208 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.807e-05/0.2042, allocations: 86.11 kB / 0.6771 GB, free: 104 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001561/0.2058, allocations: 0.9454 MB / 0.678 GB, free: 15.14 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000232/0.2061, allocations: 45.7 kB / 0.678 GB, free: 15.09 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000383/0.2065, allocations: 484.5 kB / 0.6785 GB, free: 14.61 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004574/0.2069, allocations: 319.4 kB / 0.6788 GB, free: 14.29 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004715/0.2074, allocations: 210.7 kB / 0.679 GB, free: 14.07 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.2076, allocations: 345.9 kB / 0.6793 GB, free: 13.73 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001572/0.2091, allocations: 0.7126 MB / 0.68 GB, free: 13.02 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001694/0.2108, allocations: 0.8267 MB / 0.6808 GB, free: 12.16 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01873/0.2296, allocations: 4.705 MB / 0.6854 GB, free: 7.422 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.17e-05/0.2296, allocations: 7.938 kB / 0.6854 GB, free: 7.414 MB / 494.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.01408/0.2437, allocations: 4.218 MB / 0.6896 GB, free: 3.18 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.4e-05/0.2438, allocations: 11.98 kB / 0.6896 GB, free: 3.168 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.515e-05/0.2438, allocations: 0 / 0.6896 GB, free: 3.168 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00627/0.2501, allocations: 1.718 MB / 0.6912 GB, free: 1.445 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001067/0.2512, allocations: 199.8 kB / 0.6914 GB, free: 1.25 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.022/0.2732, allocations: 9.063 MB / 0.7003 GB, free: 8.023 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001692/0.275, allocations: 178.8 kB / 0.7005 GB, free: 7.848 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002381/0.2752, allocations: 51.98 kB / 0.7005 GB, free: 7.797 MB / 0.4981 GB Warning: Assuming fixed start value for the following 2 variables: Generator.e1q:VARIABLE(start = Generator.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real TGTypeII1.transferFunction1.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002171/0.2774, allocations: 0.8677 MB / 0.7014 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001696/0.2791, allocations: 0.8228 MB / 0.7022 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01866/0.2978, allocations: 4.67 MB / 0.7067 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.111e-06/0.2978, allocations: 0 / 0.7067 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of matching and sorting (n=145) (initialization_lambda0): time 0.01427/0.3121, allocations: 4.199 MB / 0.7108 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.302e-05/0.3122, allocations: 13.19 kB / 0.7108 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.3122, allocations: 4 kB / 0.7108 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006225/0.3184, allocations: 1.71 MB / 0.7125 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001069/0.3195, allocations: 203.7 kB / 0.7127 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02188/0.3414, allocations: 9.047 MB / 0.7215 GB, free: 2.035 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001643/0.3431, allocations: 163.1 kB / 0.7217 GB, free: 1.875 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002169/0.3434, allocations: 36 kB / 0.7217 GB, free: 1.84 MB / 0.5137 GB Warning: Assuming fixed start value for the following 2 variables: Generator.e1q:VARIABLE(start = Generator.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real TGTypeII1.transferFunction1.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] 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 (111): * Single equations (assignments): 110 * 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,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0004583/0.3438, allocations: 248.5 kB / 0.722 GB, free: 1.59 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003378/0.3442, allocations: 118.5 kB / 0.7221 GB, free: 1.473 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01335/0.3575, allocations: 3.936 MB / 0.7259 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.237e-05/0.3576, allocations: 12 kB / 0.7259 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.3576, allocations: 3.984 kB / 0.7259 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.748e-05/0.3577, allocations: 3.984 kB / 0.7259 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01591/0.3736, allocations: 5.563 MB / 0.7314 GB, free: 7.797 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.525e-05/0.3736, allocations: 0 / 0.7314 GB, free: 7.797 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007032/0.3743, allocations: 107.9 kB / 0.7315 GB, free: 7.691 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006213/0.3806, allocations: 1.737 MB / 0.7332 GB, free: 5.949 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002194/0.3808, allocations: 16 kB / 0.7332 GB, free: 5.934 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01955/0.4004, allocations: 8.064 MB / 0.7411 GB, free: 13.72 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.4004, allocations: 0 / 0.7411 GB, free: 13.72 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01572/0.4162, allocations: 4.863 MB / 0.7458 GB, free: 8.832 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004146/0.4166, allocations: 203.5 kB / 0.746 GB, free: 8.613 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003441/0.417, allocations: 19.94 kB / 0.746 GB, free: 8.594 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001278/0.4183, allocations: 111.9 kB / 0.7461 GB, free: 8.484 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006605/0.4189, allocations: 204.7 kB / 0.7463 GB, free: 8.285 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001032/0.4191, allocations: 20 kB / 0.7463 GB, free: 8.266 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001028/0.4201, allocations: 0.6391 MB / 0.747 GB, free: 7.617 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4201, allocations: 4 kB / 0.747 GB, free: 7.613 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002107/0.4222, allocations: 0.6944 MB / 0.7476 GB, free: 6.918 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (TGTypeII1.transferFunction1.x_scaled[1],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 (57): * Single equations (assignments): 56 * 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.0003194/0.4225, allocations: 131.1 kB / 0.7478 GB, free: 6.777 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01228/0.4348, allocations: 4.122 MB / 0.7518 GB, free: 2.633 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.394e-06/0.4349, allocations: 0.5 kB / 0.7518 GB, free: 2.633 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004976/0.4399, allocations: 1.562 MB / 0.7533 GB, free: 1.059 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001112/0.441, allocations: 101 kB / 0.7534 GB, free: 0.9648 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004594/0.4456, allocations: 2.157 MB / 0.7555 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007436/0.4464, allocations: 1.116 MB / 0.7566 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003677/0.4468, allocations: 67.42 kB / 0.7567 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of SimCode: time 1.042e-06/0.4468, allocations: 0 / 0.7567 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of Templates: time 0.2991/0.7459, allocations: 21.07 MB / 0.7773 GB, free: 116.9 MB / 0.5606 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe 2>&1)