Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.AVRTypeII_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test") translateModel(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009199/0.0009199, allocations: 176.2 kB / 7.643 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.367/1.367, allocations: 221.5 MB / 229.6 MB, free: 7.578 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008603/0.0008604, allocations: 94.92 kB / 280.5 MB, free: 5.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5192/0.5192, allocations: 78.06 MB / 409.3 MB, free: 6.363 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.764e-05/2.765e-05, allocations: 3.984 kB / 484.9 MB, free: 12.3 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1522/0.1523, allocations: 69.36 MB / 0.5413 GB, free: 6.867 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4873/0.6396, allocations: 100.1 MB / 0.639 GB, free: 15.51 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000219/0.6399, allocations: 92.73 kB / 0.6391 GB, free: 15.42 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08123/0.7211, allocations: 29.58 MB / 0.668 GB, free: 1.898 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.7212, allocations: 0 / 0.668 GB, free: 1.898 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.152e-05/0.7213, allocations: 24 kB / 0.668 GB, free: 1.875 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: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.00506/0.7263, allocations: 1.878 MB / 0.6699 GB, free: 15.94 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.548e-05/0.7264, allocations: 8.031 kB / 0.6699 GB, free: 15.93 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003441/0.7298, allocations: 0.5602 MB / 0.6704 GB, free: 15.37 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00184/0.7317, allocations: 0.8304 MB / 0.6712 GB, free: 14.49 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003162/0.732, allocations: 224.2 kB / 0.6714 GB, free: 14.23 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001537/0.7322, allocations: 52 kB / 0.6715 GB, free: 14.18 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001713/0.7339, allocations: 0.8592 MB / 0.6723 GB, free: 13.32 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001624/0.7356, allocations: 0.8993 MB / 0.6732 GB, free: 12.41 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.199e-05/0.7356, allocations: 3.938 kB / 0.6732 GB, free: 12.41 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.856e-05/0.7357, allocations: 4 kB / 0.6732 GB, free: 12.4 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.003e-05/0.7357, allocations: 16 kB / 0.6732 GB, free: 12.39 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00659/0.7423, allocations: 3.603 MB / 0.6767 GB, free: 8.668 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001764/0.7441, allocations: 1.349 MB / 0.6781 GB, free: 7.195 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008489/0.745, allocations: 0.6029 MB / 0.6787 GB, free: 6.59 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001189/0.7451, allocations: 21.23 kB / 0.6787 GB, free: 6.57 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001127/0.7462, allocations: 0.7035 MB / 0.6794 GB, free: 5.844 MB / 490.7 MB Notification: Performance of pre-optimization done (n=102): time 2.936e-06/0.7462, allocations: 8 kB / 0.6794 GB, free: 5.836 MB / 490.7 MB Notification: Performance of matching and sorting (n=102): time 0.01266/0.7589, allocations: 4.235 MB / 0.6835 GB, free: 1.582 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.955e-05/0.759, allocations: 120.1 kB / 0.6836 GB, free: 1.441 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001275/0.7603, allocations: 0.7865 MB / 0.6844 GB, free: 0.6406 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002182/0.7605, allocations: 29.7 kB / 0.6844 GB, free: 0.6055 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000386/0.7609, allocations: 0.5088 MB / 0.6849 GB, free: 92 kB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003861/0.7613, allocations: 350.9 kB / 0.6852 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.32e-05/0.7614, allocations: 0 / 0.6852 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001521/0.7615, allocations: 341.9 kB / 0.6856 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008262/0.7624, allocations: 0.4909 MB / 0.6861 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008709/0.7633, allocations: 0.5863 MB / 0.6866 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008578/0.7641, allocations: 0.5308 MB / 0.6871 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.7641, allocations: 0 / 0.6871 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01268/0.7768, allocations: 4.337 MB / 0.6914 GB, free: 9.41 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.301e-05/0.7769, allocations: 59.41 kB / 0.6914 GB, free: 9.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.562e-05/0.777, allocations: 4 kB / 0.6914 GB, free: 9.336 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006272/0.7832, allocations: 1.803 MB / 0.6932 GB, free: 7.531 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001093/0.7843, allocations: 183.8 kB / 0.6934 GB, free: 7.352 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01552/0.7999, allocations: 7.449 MB / 0.7007 GB, free: 15.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001781/0.8017, allocations: 191 kB / 0.7008 GB, free: 15.59 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001062/0.8018, allocations: 35.66 kB / 0.7009 GB, free: 15.55 MB / 0.5105 GB Warning: Assuming fixed start value for the following 2 variables: order6Type2_Inputs_Outputs.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real aVRI.firstOrder2.y:VARIABLE(start = aVRI.firstOrder2.y_start ) "Connector of Real output signal" 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: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 94 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {25 14} Notification: Performance of prepare postOptimizeDAE: time 0.0003522/0.8022, allocations: 154.5 kB / 0.701 GB, free: 15.39 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000236/0.8024, allocations: 126.5 kB / 0.7011 GB, free: 15.27 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01283/0.8153, allocations: 4.355 MB / 0.7054 GB, free: 10.89 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.938e-05/0.8153, allocations: 12 kB / 0.7054 GB, free: 10.88 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.8153, allocations: 4 kB / 0.7054 GB, free: 10.88 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.461e-05/0.8154, allocations: 3.984 kB / 0.7054 GB, free: 10.88 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01513/0.8305, allocations: 5.999 MB / 0.7113 GB, free: 4.754 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.636e-05/0.8306, allocations: 0 / 0.7113 GB, free: 4.754 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008934/0.8315, allocations: 111.8 kB / 0.7114 GB, free: 4.645 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005851/0.8373, allocations: 1.753 MB / 0.7131 GB, free: 2.887 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002522/0.8376, allocations: 9.875 kB / 0.7131 GB, free: 2.879 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01629/0.8539, allocations: 8.116 MB / 0.721 GB, free: 10.52 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.396e-06/0.854, allocations: 4 kB / 0.721 GB, free: 10.52 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01537/0.8694, allocations: 5.159 MB / 0.7261 GB, free: 5.328 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006518/0.8701, allocations: 219.3 kB / 0.7263 GB, free: 5.094 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005428/0.8706, allocations: 9 kB / 0.7263 GB, free: 5.086 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001567/0.8722, allocations: 135.9 kB / 0.7264 GB, free: 4.953 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007022/0.8729, allocations: 216.9 kB / 0.7266 GB, free: 4.738 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.291e-05/0.873, allocations: 24 kB / 0.7266 GB, free: 4.715 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0009426/0.874, allocations: 0.5976 MB / 0.7272 GB, free: 4.109 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2e-07/0.874, allocations: 0 / 0.7272 GB, free: 4.109 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001674/0.8757, allocations: 419.5 kB / 0.7276 GB, free: 3.699 MB / 0.5261 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.ExcitationSystem.x_scaled[1],aVRI.derivativeBlock.x,aVRI.firstOrder2.y,aVRI.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 61 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {26 10,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003472/0.876, allocations: 135.1 kB / 0.7278 GB, free: 3.559 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.005713/0.8817, allocations: 2.22 MB / 0.7299 GB, free: 1.305 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/0.8818, allocations: 0 / 0.7299 GB, free: 1.305 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004696/0.8865, allocations: 1.688 MB / 0.7316 GB, free: 15.59 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001011/0.8875, allocations: 85.38 kB / 0.7317 GB, free: 15.5 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003675/0.8912, allocations: 1.785 MB / 0.7334 GB, free: 13.7 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008219/0.8921, allocations: 1.151 MB / 0.7345 GB, free: 12.52 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0004954/0.8926, allocations: 86.69 kB / 0.7346 GB, free: 12.43 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002355/0.8928, allocations: 55.44 kB / 0.7347 GB, free: 12.38 MB / 0.5417 GB Notification: Performance of SimCode: time 1.183e-06/0.8928, allocations: 0 / 0.7347 GB, free: 12.38 MB / 0.5417 GB Notification: Performance of Templates: time 0.03384/0.9267, allocations: 20.83 MB / 0.755 GB, free: 7.789 MB / 0.5573 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.sim & ./OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe 2>&1)