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.001425/0.001425, allocations: 169.2 kB / 7.64 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.335/1.335, allocations: 205.3 MB / 213.4 MB, free: 13.76 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.0008265/0.0008265, allocations: 93.25 kB / 261.4 MB, free: 13.45 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06784/0.06784, allocations: 12.6 MB / 321.9 MB, free: 0.7969 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2878/0.2878, allocations: 78.06 MB / 450.8 MB, free: 3.027 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.034e-05/1.036e-05, allocations: 0 / 0.5147 GB, free: 29.6 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.105, allocations: 69.32 MB / 0.5824 GB, free: 8.387 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.356/0.4611, allocations: 101.3 MB / 0.6814 GB, free: 6.641 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001965/0.4613, allocations: 92.75 kB / 0.6815 GB, free: 6.59 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07007/0.5314, allocations: 27.52 MB / 0.7083 GB, free: 15.9 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.5314, allocations: 0 / 0.7083 GB, free: 15.9 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.195e-05/0.5315, allocations: 20 kB / 0.7083 GB, free: 15.88 MB / 458.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.004875/0.5364, allocations: 1.866 MB / 0.7102 GB, free: 14.08 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.5364, allocations: 8.031 kB / 0.7102 GB, free: 14.07 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003362/0.5398, allocations: 0.5622 MB / 0.7107 GB, free: 13.56 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001881/0.5417, allocations: 0.8303 MB / 0.7115 GB, free: 12.86 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002115/0.5419, allocations: 198.5 kB / 0.7117 GB, free: 12.63 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001436/0.5421, allocations: 51.98 kB / 0.7118 GB, free: 12.58 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001521/0.5436, allocations: 0.857 MB / 0.7126 GB, free: 12.06 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001473/0.5451, allocations: 0.9075 MB / 0.7135 GB, free: 11.43 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.176e-05/0.5451, allocations: 0 / 0.7135 GB, free: 11.43 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.67e-05/0.5452, allocations: 4 kB / 0.7135 GB, free: 11.43 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.498e-05/0.5453, allocations: 16 kB / 0.7135 GB, free: 11.41 MB / 458.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.006401/0.5517, allocations: 3.665 MB / 0.7171 GB, free: 8.598 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001421/0.5531, allocations: 1.303 MB / 0.7184 GB, free: 7.527 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007768/0.5539, allocations: 0.6027 MB / 0.719 GB, free: 7.195 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001188/0.554, allocations: 12.78 kB / 0.719 GB, free: 7.184 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.136e-05/0.5541, allocations: 45.28 kB / 0.719 GB, free: 7.137 MB / 458.7 MB Notification: Performance of pre-optimization done (n=99): time 2.956e-06/0.5541, allocations: 3.938 kB / 0.719 GB, free: 7.133 MB / 458.7 MB Notification: Performance of matching and sorting (n=99): time 0.01221/0.5663, allocations: 4.1 MB / 0.723 GB, free: 3.586 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.871e-05/0.5664, allocations: 141.3 kB / 0.7232 GB, free: 3.418 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001085/0.5675, allocations: 0.7875 MB / 0.7239 GB, free: 2.832 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001626/0.5676, allocations: 25.7 kB / 0.7239 GB, free: 2.801 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000315/0.568, allocations: 0.5148 MB / 0.7244 GB, free: 2.512 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003447/0.5683, allocations: 346.6 kB / 0.7248 GB, free: 2.211 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.404e-05/0.5684, allocations: 0 / 0.7248 GB, free: 2.211 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.5686, allocations: 343.1 kB / 0.7251 GB, free: 1.883 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007162/0.5693, allocations: 475.9 kB / 0.7256 GB, free: 1.637 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000783/0.5701, allocations: 0.5807 MB / 0.7261 GB, free: 1.262 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007669/0.5708, allocations: 0.5221 MB / 0.7266 GB, free: 0.9648 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.5709, allocations: 0 / 0.7266 GB, free: 0.9648 MB / 458.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.01259/0.5834, allocations: 4.267 MB / 0.7308 GB, free: 13.27 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003874/0.5839, allocations: 0.9383 MB / 0.7317 GB, free: 12.27 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.5839, allocations: 3.938 kB / 0.7317 GB, free: 12.27 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006069/0.59, allocations: 1.754 MB / 0.7334 GB, free: 10.74 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009622/0.5909, allocations: 171 kB / 0.7336 GB, free: 10.58 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0155/0.6065, allocations: 8.356 MB / 0.7418 GB, free: 3.02 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001696/0.6082, allocations: 183.1 kB / 0.7419 GB, free: 2.84 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002601/0.6085, allocations: 32 kB / 0.742 GB, free: 2.809 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.6085, allocations: 4 kB / 0.742 GB, free: 2.805 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01256/0.6211, allocations: 4.11 MB / 0.746 GB, free: 14.68 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.401e-05/0.6211, allocations: 4 kB / 0.746 GB, free: 14.68 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005921/0.6271, allocations: 1.75 MB / 0.7477 GB, free: 12.92 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008878/0.628, allocations: 159.8 kB / 0.7478 GB, free: 12.77 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01523/0.6432, allocations: 8.35 MB / 0.756 GB, free: 4.172 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001649/0.6449, allocations: 171.1 kB / 0.7562 GB, free: 4.004 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002411/0.6452, allocations: 35.98 kB / 0.7562 GB, free: 3.969 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.0005241/0.6457, allocations: 152.8 kB / 0.7563 GB, free: 3.809 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00044/0.6462, allocations: 122.5 kB / 0.7565 GB, free: 3.688 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01239/0.6586, allocations: 4.233 MB / 0.7606 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.158e-05/0.6586, allocations: 8 kB / 0.7606 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.6587, allocations: 4 kB / 0.7606 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.503e-05/0.6587, allocations: 3.984 kB / 0.7606 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01681/0.6755, allocations: 5.942 MB / 0.7664 GB, free: 9.367 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.365e-05/0.6756, allocations: 0 / 0.7664 GB, free: 9.367 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008966/0.6765, allocations: 131.8 kB / 0.7665 GB, free: 9.238 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005314/0.6818, allocations: 1.66 MB / 0.7682 GB, free: 7.57 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000231/0.6821, allocations: 8 kB / 0.7682 GB, free: 7.562 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01276/0.6948, allocations: 6.214 MB / 0.7742 GB, free: 1.227 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.6949, allocations: 0 / 0.7742 GB, free: 1.227 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01393/0.7088, allocations: 5.01 MB / 0.7791 GB, free: 12.18 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004879/0.7094, allocations: 215.7 kB / 0.7793 GB, free: 11.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003912/0.7098, allocations: 11.94 kB / 0.7793 GB, free: 11.94 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001446/0.7112, allocations: 131.8 kB / 0.7795 GB, free: 11.81 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006211/0.7119, allocations: 204.9 kB / 0.7797 GB, free: 11.61 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001205/0.712, allocations: 24 kB / 0.7797 GB, free: 11.59 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001065/0.7131, allocations: 0.5976 MB / 0.7803 GB, free: 10.98 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7131, allocations: 0 / 0.7803 GB, free: 10.98 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00259/0.7157, allocations: 0.6552 MB / 0.7809 GB, free: 10.32 MB / 0.5105 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 () * 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.0003675/0.7161, allocations: 135 kB / 0.781 GB, free: 10.18 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01055/0.7266, allocations: 4.055 MB / 0.785 GB, free: 6.047 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/0.7267, allocations: 0 / 0.785 GB, free: 6.047 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004351/0.731, allocations: 1.553 MB / 0.7865 GB, free: 4.469 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009421/0.732, allocations: 100.3 kB / 0.7866 GB, free: 4.367 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003824/0.7358, allocations: 1.816 MB / 0.7884 GB, free: 2.516 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008479/0.7367, allocations: 1.17 MB / 0.7895 GB, free: 1.32 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0009602/0.7377, allocations: 181.7 kB / 0.7897 GB, free: 1.137 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002093/0.7379, allocations: 47.44 kB / 0.7898 GB, free: 1.09 MB / 0.5105 GB Notification: Performance of SimCode: time 1.142e-06/0.7379, allocations: 4 kB / 0.7898 GB, free: 1.086 MB / 0.5105 GB Notification: Performance of Templates: time 0.04408/0.782, allocations: 28.41 MB / 0.8175 GB, free: 4.668 MB / 0.5417 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)