Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.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.Controls.PSAT.AVR.AVRTypeI_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test") translateModel(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009818/0.0009819, allocations: 90.12 kB / 15.06 MB, free: 1.094 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.285/1.285, allocations: 223.2 MB / 239 MB, free: 5.594 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.001347/0.001347, allocations: 179.5 kB / 290.3 MB, free: 2.277 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4952/0.4952, allocations: 91.92 MB / 433.3 MB, free: 10.36 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005165/0.0005167, allocations: 11.98 kB / 0.5042 GB, free: 7.621 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3029/0.3034, allocations: 72.47 MB / 0.5749 GB, free: 36.61 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test): time 0.004127/0.3076, allocations: 6.027 MB / 0.5808 GB, free: 32.8 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002676/0.3103, allocations: 1.987 MB / 0.5828 GB, free: 31.39 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000488/0.3108, allocations: 15.53 kB / 0.5828 GB, free: 31.39 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000527/0.3113, allocations: 172.7 kB / 0.5829 GB, free: 31.32 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001303/0.3126, allocations: 0.6303 MB / 0.5836 GB, free: 30.9 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001055/0.3137, allocations: 0.574 MB / 0.5841 GB, free: 30.61 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009613/0.3147, allocations: 1.422 MB / 0.5855 GB, free: 29.89 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003637/0.315, allocations: 272.8 kB / 0.5858 GB, free: 29.78 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005185/0.3156, allocations: 0.5541 MB / 0.5863 GB, free: 29.55 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006074/0.3162, allocations: 0.6992 MB / 0.587 GB, free: 29.25 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001191/0.3163, allocations: 54.97 kB / 0.587 GB, free: 29.25 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003359/0.3166, allocations: 192.4 kB / 0.5872 GB, free: 29.21 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001769/0.3168, allocations: 251.2 kB / 0.5875 GB, free: 29.07 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001431/0.317, allocations: 230.1 kB / 0.5877 GB, free: 28.92 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007543/0.3177, allocations: 1.236 MB / 0.5889 GB, free: 28.55 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.788e-06/0.3178, allocations: 3.938 kB / 0.5889 GB, free: 28.55 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.3178, allocations: 1.781 kB / 0.5889 GB, free: 28.55 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.294e-05/0.3178, allocations: 2.844 kB / 0.5889 GB, free: 28.55 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.006979/0.3248, allocations: 2.582 MB / 0.5914 GB, free: 27.43 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.3248, allocations: 9.281 kB / 0.5914 GB, free: 27.43 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00457/0.3294, allocations: 0.7833 MB / 0.5922 GB, free: 27.28 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001247/0.3306, allocations: 0.8439 MB / 0.593 GB, free: 26.72 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001897/0.3308, allocations: 234.1 kB / 0.5933 GB, free: 26.53 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001639/0.331, allocations: 90.62 kB / 0.5933 GB, free: 26.5 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002195/0.3332, allocations: 1.242 MB / 0.5945 GB, free: 26.04 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.344e-05/0.3333, allocations: 5.406 kB / 0.5946 GB, free: 26.03 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.766e-05/0.3334, allocations: 34.17 kB / 0.5946 GB, free: 26 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.844e-05/0.3334, allocations: 23.55 kB / 0.5946 GB, free: 26 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002124/0.3355, allocations: 1.162 MB / 0.5957 GB, free: 25.63 MB / 430.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.005746/0.3413, allocations: 3.784 MB / 0.5994 GB, free: 23.54 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002143/0.3434, allocations: 1.59 MB / 0.601 GB, free: 22.54 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001498/0.345, allocations: 0.8603 MB / 0.6018 GB, free: 22.21 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001141/0.3451, allocations: 16.08 kB / 0.6018 GB, free: 22.21 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.345e-05/0.3451, allocations: 49.97 kB / 0.6019 GB, free: 22.16 MB / 430.1 MB Notification: Performance of pre-optimization done (n=99): time 2.795e-06/0.3451, allocations: 0 / 0.6019 GB, free: 22.16 MB / 430.1 MB Notification: Performance of matching and sorting (n=99): time 0.02259/0.3677, allocations: 7.732 MB / 0.6094 GB, free: 20.68 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.736e-05/0.3678, allocations: 140.5 kB / 0.6096 GB, free: 20.53 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001501/0.3693, allocations: 1.006 MB / 0.6106 GB, free: 20.11 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001895/0.3695, allocations: 45.95 kB / 0.6106 GB, free: 20.07 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002974/0.3698, allocations: 0.5006 MB / 0.6111 GB, free: 19.66 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003128/0.3701, allocations: 366.9 kB / 0.6114 GB, free: 19.38 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.78e-05/0.3702, allocations: 26.06 kB / 0.6115 GB, free: 19.36 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.345e-05/0.3703, allocations: 353.3 kB / 0.6118 GB, free: 19.03 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001576/0.3719, allocations: 0.8165 MB / 0.6126 GB, free: 18.75 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001692/0.3736, allocations: 0.9646 MB / 0.6135 GB, free: 18.34 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001773/0.3754, allocations: 0.9365 MB / 0.6145 GB, free: 17.91 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.544e-06/0.3754, allocations: 1.625 kB / 0.6145 GB, free: 17.91 MB / 430.1 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.01367/0.3891, allocations: 5.347 MB / 0.6197 GB, free: 15.49 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.207e-05/0.3892, allocations: 209.5 kB / 0.6199 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/0.3892, allocations: 8 kB / 0.6199 GB, free: 15.24 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006102/0.3953, allocations: 2.183 MB / 0.622 GB, free: 13.05 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001147/0.3965, allocations: 235.6 kB / 0.6222 GB, free: 12.82 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01829/0.4148, allocations: 10.88 MB / 0.6329 GB, free: 1.66 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001746/0.4166, allocations: 226.8 kB / 0.6331 GB, free: 1.438 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001118/0.4167, allocations: 47.97 kB / 0.6331 GB, free: 1.391 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.656e-06/0.4167, allocations: 4 kB / 0.6331 GB, free: 1.387 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01315/0.4299, allocations: 5.175 MB / 0.6382 GB, free: 12.19 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.576e-05/0.4299, allocations: 4 kB / 0.6382 GB, free: 12.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00646/0.4364, allocations: 2.195 MB / 0.6403 GB, free: 9.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001148/0.4375, allocations: 227.6 kB / 0.6406 GB, free: 9.758 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02062/0.4582, allocations: 10.86 MB / 0.6512 GB, free: 14.63 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001569/0.4598, allocations: 202.9 kB / 0.6514 GB, free: 14.43 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001504/0.4599, allocations: 51.98 kB / 0.6514 GB, free: 14.38 MB / 462.1 MB Warning: Assuming fixed start value for the following 2 variables: order6Type2_Inputs_Outputs.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order6Type2_Inputs_Outputs.e2d:VARIABLE(start = order6Type2_Inputs_Outputs.e2d0 unit = "1" fixed = true ) "d-axis sub-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 (130): * Single equations (assignments): 126 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {24 12} Notification: Performance of prepare postOptimizeDAE: time 0.0006266/0.4606, allocations: 354.6 kB / 0.6517 GB, free: 14.02 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002516/0.4608, allocations: 122.5 kB / 0.6519 GB, free: 13.89 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01289/0.4737, allocations: 4.961 MB / 0.6567 GB, free: 8.914 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.138e-05/0.4738, allocations: 12 kB / 0.6567 GB, free: 8.902 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-06/0.4738, allocations: 3.953 kB / 0.6567 GB, free: 8.898 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.377e-05/0.4738, allocations: 3.984 kB / 0.6567 GB, free: 8.895 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01485/0.4886, allocations: 6.792 MB / 0.6634 GB, free: 1.969 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.121e-06/0.4887, allocations: 3.938 kB / 0.6634 GB, free: 1.965 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000705/0.4894, allocations: 119.9 kB / 0.6635 GB, free: 1.848 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005642/0.495, allocations: 2.046 MB / 0.6655 GB, free: 15.8 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001239/0.4952, allocations: 27.95 kB / 0.6655 GB, free: 15.77 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01669/0.5119, allocations: 8.206 MB / 0.6735 GB, free: 7.422 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.5119, allocations: 4 kB / 0.6735 GB, free: 7.418 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01448/0.5264, allocations: 5.958 MB / 0.6793 GB, free: 1.43 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003596/0.5268, allocations: 223.2 kB / 0.6796 GB, free: 1.191 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002185/0.527, allocations: 24 kB / 0.6796 GB, free: 1.168 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001099/0.5281, allocations: 139.9 kB / 0.6797 GB, free: 1.031 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004817/0.5286, allocations: 208.6 kB / 0.6799 GB, free: 0.8242 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.253e-05/0.5287, allocations: 27.98 kB / 0.6799 GB, free: 0.7969 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0009759/0.5297, allocations: 0.6953 MB / 0.6806 GB, free: 96 kB / 478.1 MB Notification: Performance of sort global known variables: time 2.054e-06/0.5297, allocations: 0 / 0.6806 GB, free: 96 kB / 478.1 MB Notification: Performance of remove unused functions: time 0.001947/0.5316, allocations: 0.7646 MB / 0.6814 GB, free: 15.32 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order6Type2_Inputs_Outputs.delta,order6Type2_Inputs_Outputs.w,order6Type2_Inputs_Outputs.e1q,order6Type2_Inputs_Outputs.e1d,order6Type2_Inputs_Outputs.e2q,order6Type2_Inputs_Outputs.e2d,aVRI.firstOrder.y,aVRI.firstOrder2.y,aVRI.transferFunction.x_scaled[1],aVRI.transferFunction.x_scaled[2]) * 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 (67): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 1 * 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.0002453/0.5319, allocations: 127.2 kB / 0.6815 GB, free: 15.19 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01174/0.5436, allocations: 5.249 MB / 0.6866 GB, free: 9.848 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.5437, allocations: 0 / 0.6866 GB, free: 9.848 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004467/0.5481, allocations: 1.835 MB / 0.6884 GB, free: 7.984 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009205/0.5491, allocations: 116.3 kB / 0.6885 GB, free: 7.867 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00409/0.5532, allocations: 2.816 MB / 0.6913 GB, free: 5.027 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006674/0.5539, allocations: 1.137 MB / 0.6924 GB, free: 3.859 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005939/0.5545, allocations: 143.5 kB / 0.6925 GB, free: 3.715 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002563/0.5547, allocations: 67.42 kB / 0.6926 GB, free: 3.648 MB / 494.1 MB Notification: Performance of SimCode: time 4.21e-07/0.5547, allocations: 4 kB / 0.6926 GB, free: 3.645 MB / 494.1 MB Notification: Performance of Templates: time 0.04003/0.5948, allocations: 29.33 MB / 0.7212 GB, free: 6.336 MB / 0.5137 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.pipe 2>&1)