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/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.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/Complex 4.0.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 174.7 kB / 12.73 MB, free: 2.59 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.255/1.255, allocations: 221.4 MB / 234.6 MB, free: 14.46 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001185/0.001185, allocations: 90.53 kB / 285.6 MB, free: 13.01 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.491/0.491, allocations: 78.91 MB / 415.4 MB, free: 10.28 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.524e-05/3.544e-05, allocations: 0 / 492.8 MB, free: 13.14 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3514/0.3515, allocations: 69.51 MB / 0.5491 GB, free: 19.54 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1288/0.4803, allocations: 101 MB / 0.6477 GB, free: 14.64 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000304/0.4807, allocations: 83.95 kB / 0.6478 GB, free: 14.56 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08259/0.5633, allocations: 28.93 MB / 0.6761 GB, free: 1.43 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.5633, allocations: 0 / 0.6761 GB, free: 1.43 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001276/0.5634, allocations: 20 kB / 0.6761 GB, free: 1.41 MB / 490.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.3333/0.8967, allocations: 1.859 MB / 0.6779 GB, free: 102.8 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.8968, allocations: 13.94 kB / 0.6779 GB, free: 102.8 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003901/0.9007, allocations: 0.5627 MB / 0.6785 GB, free: 102.7 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002118/0.9029, allocations: 0.8181 MB / 0.6793 GB, free: 102.4 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002122/0.9031, allocations: 234.2 kB / 0.6795 GB, free: 102.3 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001946/0.9033, allocations: 86.22 kB / 0.6796 GB, free: 102.3 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001925/0.9052, allocations: 1.001 MB / 0.6805 GB, free: 102.2 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.461e-05/0.9053, allocations: 0.5938 kB / 0.6805 GB, free: 102.2 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.898e-05/0.9054, allocations: 34.95 kB / 0.6806 GB, free: 102.2 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.062e-05/0.9054, allocations: 22.59 kB / 0.6806 GB, free: 102.2 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001698/0.9071, allocations: 0.9035 MB / 0.6815 GB, free: 102.2 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or 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.008233/0.9153, allocations: 3.811 MB / 0.6852 GB, free: 101.3 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00169/0.917, allocations: 1.322 MB / 0.6865 GB, free: 100.7 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001219/0.9183, allocations: 0.6348 MB / 0.6871 GB, free: 100.7 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001198/0.9184, allocations: 13.47 kB / 0.6871 GB, free: 100.7 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.686e-05/0.9184, allocations: 46.97 kB / 0.6872 GB, free: 100.6 MB / 490.7 MB Notification: Performance of pre-optimization done (n=99): time 4.619e-06/0.9185, allocations: 0 / 0.6872 GB, free: 100.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=99): time 0.01202/0.9305, allocations: 4.191 MB / 0.6913 GB, free: 100.4 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.247e-05/0.9306, allocations: 140.3 kB / 0.6914 GB, free: 100.2 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001257/0.9318, allocations: 0.8457 MB / 0.6922 GB, free: 99.91 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002607/0.9321, allocations: 41.64 kB / 0.6923 GB, free: 99.87 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002801/0.9324, allocations: 0.511 MB / 0.6928 GB, free: 99.47 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003064/0.9327, allocations: 356.7 kB / 0.6931 GB, free: 99.2 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.923e-05/0.9328, allocations: 19.94 kB / 0.6931 GB, free: 99.18 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.073e-05/0.9329, allocations: 348.5 kB / 0.6934 GB, free: 98.86 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007544/0.9336, allocations: 490.4 kB / 0.6939 GB, free: 98.64 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007849/0.9344, allocations: 0.6102 MB / 0.6945 GB, free: 98.3 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007891/0.9352, allocations: 0.5851 MB / 0.6951 GB, free: 98 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.9352, allocations: 4.031 kB / 0.6951 GB, free: 98 MB / 490.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.01175/0.947, allocations: 4.399 MB / 0.6994 GB, free: 97.01 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002078/0.9472, allocations: 0.9362 MB / 0.7003 GB, free: 96.02 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.9472, allocations: 0 / 0.7003 GB, free: 96.02 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005682/0.9529, allocations: 1.809 MB / 0.7021 GB, free: 95.68 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008745/0.9538, allocations: 163.6 kB / 0.7022 GB, free: 95.67 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01405/0.9679, allocations: 8.627 MB / 0.7106 GB, free: 90.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001659/0.9696, allocations: 204.4 kB / 0.7108 GB, free: 90.23 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001979/0.9698, allocations: 32 kB / 0.7109 GB, free: 90.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.025e-05/0.9698, allocations: 8 kB / 0.7109 GB, free: 90.2 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01167/0.9815, allocations: 4.262 MB / 0.715 GB, free: 86.84 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.809e-05/0.9815, allocations: 6.438 kB / 0.715 GB, free: 86.83 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005673/0.9872, allocations: 1.805 MB / 0.7168 GB, free: 85.41 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008693/0.9881, allocations: 156.7 kB / 0.717 GB, free: 85.28 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01421/1.002, allocations: 8.596 MB / 0.7253 GB, free: 77.24 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00169/1.004, allocations: 198 kB / 0.7255 GB, free: 77.07 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002284/1.004, allocations: 35.28 kB / 0.7256 GB, free: 77.04 MB / 490.7 MB Warning: Assuming fixed start value for the following 2 variables: order6Type2_Inputs_Outputs.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order6Type2_Inputs_Outputs.e2d:VARIABLE(start = order6Type2_Inputs_Outputs.e2d0 unit = "1" ) "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 () * 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.0004157/1.005, allocations: 178.6 kB / 0.7257 GB, free: 76.86 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004504/1.005, allocations: 122.5 kB / 0.7259 GB, free: 76.73 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0116/1.017, allocations: 4.33 MB / 0.7301 GB, free: 73.34 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.04e-05/1.017, allocations: 15.94 kB / 0.7301 GB, free: 73.32 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/1.017, allocations: 3.188 kB / 0.7301 GB, free: 73.32 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.927e-05/1.017, allocations: 3.375 kB / 0.7301 GB, free: 73.32 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01393/1.031, allocations: 6.15 MB / 0.7361 GB, free: 67.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.005e-05/1.031, allocations: 0 / 0.7361 GB, free: 67.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008321/1.032, allocations: 123.8 kB / 0.7362 GB, free: 67.78 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004821/1.037, allocations: 1.678 MB / 0.7379 GB, free: 66.11 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002095/1.037, allocations: 23.98 kB / 0.7379 GB, free: 66.08 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01172/1.048, allocations: 6.335 MB / 0.7441 GB, free: 59.61 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/1.049, allocations: 4 kB / 0.7441 GB, free: 59.61 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01343/1.062, allocations: 5.119 MB / 0.7491 GB, free: 54.46 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007198/1.063, allocations: 223.3 kB / 0.7493 GB, free: 54.22 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007009/1.063, allocations: 16 kB / 0.7493 GB, free: 54.21 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001861/1.065, allocations: 143.9 kB / 0.7494 GB, free: 54.07 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007467/1.066, allocations: 200.6 kB / 0.7496 GB, free: 53.87 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001714/1.066, allocations: 23.94 kB / 0.7497 GB, free: 53.85 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001159/1.067, allocations: 0.6611 MB / 0.7503 GB, free: 53.18 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.5e-07/1.067, allocations: 0 / 0.7503 GB, free: 53.18 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003604/1.071, allocations: 0.7164 MB / 0.751 GB, free: 52.46 MB / 490.7 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 () * 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.0004718/1.072, allocations: 161.8 kB / 0.7512 GB, free: 52.31 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01023/1.082, allocations: 4.185 MB / 0.7553 GB, free: 48.03 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.691e-06/1.082, allocations: 4.125 kB / 0.7553 GB, free: 48.02 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004239/1.086, allocations: 1.584 MB / 0.7568 GB, free: 46.41 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001241/1.087, allocations: 96.95 kB / 0.7569 GB, free: 46.32 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004142/1.092, allocations: 1.878 MB / 0.7587 GB, free: 44.44 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006653/1.092, allocations: 1.169 MB / 0.7599 GB, free: 43.25 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001047/1.093, allocations: 193.4 kB / 0.7601 GB, free: 43.06 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002465/1.094, allocations: 51.44 kB / 0.7601 GB, free: 43.01 MB / 490.7 MB Notification: Performance of SimCode: time 1.122e-06/1.094, allocations: 0 / 0.7601 GB, free: 43.01 MB / 490.7 MB Notification: Performance of Templates: time 0.04683/1.14, allocations: 30.68 MB / 0.7901 GB, free: 12.6 MB / 490.7 MB 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)