Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_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_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.008845/0.008845, allocations: 172 kB / 15.11 MB, free: 5.98 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.585/1.585, allocations: 205.4 MB / 221.3 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009889/0.0009888, allocations: 86.88 kB / 269.6 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06813/0.06813, allocations: 12.6 MB / 330.5 MB, free: 10.3 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4387/0.4387, allocations: 78.51 MB / 460 MB, free: 3.469 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000516/0.000516, allocations: 21.25 kB / 0.5285 GB, free: 35.14 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1459/0.1464, allocations: 69.33 MB / 0.5962 GB, free: 3.816 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4569/0.6034, allocations: 102.1 MB / 0.6959 GB, free: 35.74 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000313/0.6037, allocations: 89.67 kB / 0.696 GB, free: 35.74 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07352/0.6773, allocations: 27.93 MB / 0.7232 GB, free: 33.28 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.6773, allocations: 4 kB / 0.7232 GB, free: 33.27 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.603e-05/0.6774, allocations: 26.41 kB / 0.7233 GB, free: 33.27 MB / 474.7 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.005494/0.6829, allocations: 2.151 MB / 0.7254 GB, free: 32.29 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.6829, allocations: 11.73 kB / 0.7254 GB, free: 32.29 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003106/0.686, allocations: 0.5701 MB / 0.7259 GB, free: 32.2 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001544/0.6876, allocations: 0.8543 MB / 0.7268 GB, free: 31.81 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001727/0.6878, allocations: 233.1 kB / 0.727 GB, free: 31.66 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001355/0.6879, allocations: 83.09 kB / 0.7271 GB, free: 31.65 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00204/0.69, allocations: 1.236 MB / 0.7283 GB, free: 31.55 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.375e-05/0.69, allocations: 3.938 kB / 0.7283 GB, free: 31.55 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.48e-05/0.6901, allocations: 32.31 kB / 0.7283 GB, free: 31.55 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.266e-05/0.6901, allocations: 19.44 kB / 0.7283 GB, free: 31.55 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001966/0.6921, allocations: 1.171 MB / 0.7295 GB, free: 31.52 MB / 474.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.005921/0.698, allocations: 3.791 MB / 0.7332 GB, free: 30.48 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001966/0.7, allocations: 1.574 MB / 0.7347 GB, free: 29.84 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.481e-05/0.7001, allocations: 20.02 kB / 0.7347 GB, free: 29.84 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.848e-05/0.7002, allocations: 54.36 kB / 0.7348 GB, free: 29.79 MB / 474.7 MB Notification: Performance of pre-optimization done (n=99): time 2.765e-06/0.7002, allocations: 0 / 0.7348 GB, free: 29.79 MB / 474.7 MB Notification: Performance of matching and sorting (n=99): time 0.02459/0.7248, allocations: 8.153 MB / 0.7428 GB, free: 28.91 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.652e-05/0.7249, allocations: 149.1 kB / 0.7429 GB, free: 28.74 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001704/0.7266, allocations: 0.8688 MB / 0.7437 GB, free: 28.48 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002127/0.7269, allocations: 43.3 kB / 0.7438 GB, free: 28.45 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003357/0.7272, allocations: 0.5132 MB / 0.7443 GB, free: 28.23 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003493/0.7276, allocations: 349.9 kB / 0.7446 GB, free: 27.96 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.037e-05/0.7276, allocations: 21.59 kB / 0.7446 GB, free: 27.96 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 9.177e-05/0.7277, allocations: 344.6 kB / 0.745 GB, free: 27.64 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001328/0.7291, allocations: 0.7112 MB / 0.7457 GB, free: 27.54 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00134/0.7304, allocations: 0.8367 MB / 0.7465 GB, free: 27.32 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00142/0.7318, allocations: 0.8043 MB / 0.7473 GB, free: 27.17 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.7319, allocations: 0 / 0.7473 GB, free: 27.17 MB / 474.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.01324/0.7451, allocations: 5.046 MB / 0.7522 GB, free: 25.66 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002095/0.7453, allocations: 0.9391 MB / 0.7531 GB, free: 24.68 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.7454, allocations: 0 / 0.7531 GB, free: 24.68 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006451/0.7518, allocations: 2.177 MB / 0.7552 GB, free: 24.05 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009948/0.7528, allocations: 167.2 kB / 0.7554 GB, free: 24.02 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0203/0.7732, allocations: 11.35 MB / 0.7665 GB, free: 19.63 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001855/0.775, allocations: 199.6 kB / 0.7667 GB, free: 19.55 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.008e-05/0.7751, allocations: 39 kB / 0.7667 GB, free: 19.54 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.061e-05/0.7752, allocations: 3.906 kB / 0.7667 GB, free: 19.54 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01271/0.7879, allocations: 4.888 MB / 0.7715 GB, free: 18.14 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.79e-05/0.7879, allocations: 0 / 0.7715 GB, free: 18.14 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00642/0.7944, allocations: 2.179 MB / 0.7736 GB, free: 17.52 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009584/0.7953, allocations: 161.9 kB / 0.7738 GB, free: 17.49 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02024/0.8156, allocations: 11.3 MB / 0.7848 GB, free: 9.953 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001853/0.8175, allocations: 191 kB / 0.785 GB, free: 9.781 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001886/0.8177, allocations: 35.48 kB / 0.785 GB, free: 9.754 MB / 474.7 MB Warning: Assuming fixed start value for the following 2 variables: order6Type2_Inputs_Outputs.w:VARIABLE(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 (89): * Single equations (assignments): 85 * 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.0007254/0.8184, allocations: 361.7 kB / 0.7854 GB, free: 9.457 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002504/0.8187, allocations: 122.5 kB / 0.7855 GB, free: 9.336 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01253/0.8312, allocations: 4.971 MB / 0.7903 GB, free: 5.09 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.561e-05/0.8313, allocations: 8 kB / 0.7903 GB, free: 5.082 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.8313, allocations: 0 / 0.7903 GB, free: 5.082 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.291e-05/0.8313, allocations: 11.98 kB / 0.7904 GB, free: 5.07 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01554/0.8468, allocations: 6.776 MB / 0.797 GB, free: 14.38 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.554e-05/0.8469, allocations: 3.984 kB / 0.797 GB, free: 14.37 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008894/0.8478, allocations: 127.8 kB / 0.7971 GB, free: 14.25 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00633/0.8541, allocations: 2.055 MB / 0.7991 GB, free: 12.19 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000259/0.8544, allocations: 20 kB / 0.7991 GB, free: 12.17 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02/0.8744, allocations: 8.657 MB / 0.8076 GB, free: 3.375 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.8745, allocations: 7.938 kB / 0.8076 GB, free: 3.367 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01675/0.8913, allocations: 5.984 MB / 0.8134 GB, free: 13.34 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006616/0.892, allocations: 215.3 kB / 0.8136 GB, free: 13.11 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004682/0.8925, allocations: 24 kB / 0.8137 GB, free: 13.09 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001566/0.894, allocations: 147.9 kB / 0.8138 GB, free: 12.95 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007019/0.8948, allocations: 196.6 kB / 0.814 GB, free: 12.75 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001358/0.8949, allocations: 28 kB / 0.814 GB, free: 12.73 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.00152/0.8964, allocations: 0.6913 MB / 0.8147 GB, free: 12.03 MB / 0.4949 GB Notification: Performance of sort global known variables: time 1.803e-06/0.8965, allocations: 96 / 0.8147 GB, free: 12.03 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.003156/0.8996, allocations: 0.7138 MB / 0.8154 GB, free: 11.31 MB / 0.4949 GB 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.0004298/0.9001, allocations: 155.1 kB / 0.8155 GB, free: 11.15 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.01264/0.9127, allocations: 4.851 MB / 0.8203 GB, free: 6.195 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/0.9128, allocations: 0 / 0.8203 GB, free: 6.195 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.005098/0.9179, allocations: 1.837 MB / 0.8221 GB, free: 4.332 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001183/0.9191, allocations: 110.3 kB / 0.8222 GB, free: 4.227 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005564/0.9247, allocations: 2.832 MB / 0.8249 GB, free: 1.371 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001007/0.9257, allocations: 1.167 MB / 0.8261 GB, free: 176 kB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.0006292/0.9263, allocations: 110.4 kB / 0.8262 GB, free: 60 kB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002895/0.9266, allocations: 55.42 kB / 0.8262 GB, free: 4 kB / 0.4949 GB Notification: Performance of SimCode: time 6.02e-07/0.9266, allocations: 4 kB / 0.8262 GB, free: 0 / 0.4949 GB Notification: Performance of Templates: time 0.04863/0.9753, allocations: 28.81 MB / 0.8544 GB, free: 3.191 MB / 0.5261 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.pipe 2>&1)