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/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.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 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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008883/0.0008883, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.234/1.234, allocations: 223.2 MB / 238.9 MB, free: 5.543 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.00113/0.00113, allocations: 189 kB / 290.2 MB, free: 2.238 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4264/0.4264, allocations: 78.53 MB / 419.8 MB, free: 4.297 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003482/0.0003483, allocations: 8 kB / 499.7 MB, free: 6.387 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1157, allocations: 69.36 MB / 0.5557 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test): time 0.1946/0.3104, allocations: 5.79 MB / 0.5613 GB, free: 37.34 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003319/0.3137, allocations: 1.994 MB / 0.5633 GB, free: 37.07 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008778/0.3146, allocations: 16.19 kB / 0.5633 GB, free: 37.07 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000766/0.3154, allocations: 171.2 kB / 0.5635 GB, free: 37 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00195/0.3174, allocations: 0.6814 MB / 0.5641 GB, free: 36.93 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001173/0.3186, allocations: 0.5561 MB / 0.5647 GB, free: 36.9 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001261/0.3198, allocations: 1.009 MB / 0.5657 GB, free: 36.81 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003734/0.3202, allocations: 278.4 kB / 0.5659 GB, free: 36.76 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006389/0.3209, allocations: 0.5778 MB / 0.5665 GB, free: 36.61 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006569/0.3215, allocations: 0.6924 MB / 0.5672 GB, free: 36.42 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001289/0.3217, allocations: 60.53 kB / 0.5672 GB, free: 36.42 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003635/0.322, allocations: 170.9 kB / 0.5674 GB, free: 36.41 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000172/0.3222, allocations: 247 kB / 0.5676 GB, free: 36.34 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001623/0.3224, allocations: 233.7 kB / 0.5678 GB, free: 36.27 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008296/0.3232, allocations: 1.206 MB / 0.569 GB, free: 36.08 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.3232, allocations: 3.688 kB / 0.569 GB, free: 36.08 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3232, allocations: 0 / 0.569 GB, free: 36.08 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.65e-05/0.3233, allocations: 2.156 kB / 0.569 GB, free: 36.08 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: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.007368/0.3306, allocations: 2.595 MB / 0.5716 GB, free: 35.15 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.02e-05/0.3307, allocations: 11.72 kB / 0.5716 GB, free: 35.15 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004569/0.3353, allocations: 0.7944 MB / 0.5723 GB, free: 35.05 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001266/0.3365, allocations: 0.8388 MB / 0.5732 GB, free: 34.68 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002078/0.3368, allocations: 263 kB / 0.5734 GB, free: 34.49 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001609/0.3369, allocations: 93.25 kB / 0.5735 GB, free: 34.49 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002212/0.3392, allocations: 1.229 MB / 0.5747 GB, free: 34.13 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.982e-05/0.3392, allocations: 0.5 kB / 0.5747 GB, free: 34.13 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.525e-05/0.3393, allocations: 33.53 kB / 0.5747 GB, free: 34.11 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.417e-05/0.3393, allocations: 24.02 kB / 0.5748 GB, free: 34.1 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001988/0.3413, allocations: 1.143 MB / 0.5759 GB, free: 33.73 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.005207/0.3465, allocations: 3.841 MB / 0.5796 GB, free: 31.58 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00215/0.3487, allocations: 1.615 MB / 0.5812 GB, free: 30.57 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001037/0.3488, allocations: 13.55 kB / 0.5812 GB, free: 30.56 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001527/0.3503, allocations: 0.9518 MB / 0.5821 GB, free: 30.21 MB / 430.1 MB Notification: Performance of pre-optimization done (n=102): time 2.505e-06/0.3504, allocations: 0 / 0.5821 GB, free: 30.21 MB / 430.1 MB Notification: Performance of matching and sorting (n=102): time 0.02705/0.3774, allocations: 8.484 MB / 0.5904 GB, free: 28.59 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.499e-05/0.3775, allocations: 117.4 kB / 0.5905 GB, free: 28.46 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001497/0.379, allocations: 1.021 MB / 0.5915 GB, free: 28.04 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001521/0.3792, allocations: 47.28 kB / 0.5916 GB, free: 27.99 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003148/0.3795, allocations: 0.5035 MB / 0.5921 GB, free: 27.59 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003091/0.3798, allocations: 374 kB / 0.5924 GB, free: 27.29 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.857e-05/0.3799, allocations: 27.62 kB / 0.5925 GB, free: 27.27 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.291e-05/0.38, allocations: 358.2 kB / 0.5928 GB, free: 26.95 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001655/0.3816, allocations: 0.825 MB / 0.5936 GB, free: 26.65 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001728/0.3834, allocations: 0.9726 MB / 0.5946 GB, free: 26.23 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001721/0.3851, allocations: 0.9353 MB / 0.5955 GB, free: 25.79 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/0.3851, allocations: 4.609 kB / 0.5955 GB, free: 25.79 MB / 430.1 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.01528/0.4004, allocations: 5.385 MB / 0.6007 GB, free: 24.52 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.893e-05/0.4005, allocations: 63.22 kB / 0.6008 GB, free: 24.46 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.448e-05/0.4005, allocations: 2.469 kB / 0.6008 GB, free: 24.46 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007711/0.4083, allocations: 2.224 MB / 0.603 GB, free: 24.09 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001357/0.4097, allocations: 253.6 kB / 0.6032 GB, free: 24.07 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02312/0.4328, allocations: 10.39 MB / 0.6134 GB, free: 18.78 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001998/0.4348, allocations: 230.4 kB / 0.6136 GB, free: 18.59 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002664/0.4351, allocations: 48.08 kB / 0.6136 GB, free: 18.55 MB / 430.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 aVRI.firstOrder2.y:VARIABLE(flow=false start = aVRI.firstOrder2.y_start fixed = true ) "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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (138): * Single equations (assignments): 135 * 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.0008595/0.436, allocations: 292 kB / 0.6139 GB, free: 18.25 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003386/0.4363, allocations: 130.4 kB / 0.614 GB, free: 18.12 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01342/0.4498, allocations: 5.095 MB / 0.619 GB, free: 13 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-05/0.4498, allocations: 12 kB / 0.619 GB, free: 12.99 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.4498, allocations: 1.453 kB / 0.619 GB, free: 12.99 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.298e-05/0.4498, allocations: 7.969 kB / 0.619 GB, free: 12.98 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01511/0.465, allocations: 6.924 MB / 0.6258 GB, free: 5.914 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.064e-05/0.465, allocations: 3.984 kB / 0.6258 GB, free: 5.91 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006742/0.4657, allocations: 107.8 kB / 0.6259 GB, free: 5.805 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006005/0.4717, allocations: 2.136 MB / 0.628 GB, free: 3.664 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001763/0.4719, allocations: 23.98 kB / 0.628 GB, free: 3.641 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02104/0.4929, allocations: 10.76 MB / 0.6385 GB, free: 8.594 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/0.493, allocations: 3.953 kB / 0.6385 GB, free: 8.59 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01642/0.5094, allocations: 6.102 MB / 0.6445 GB, free: 2.441 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004356/0.5099, allocations: 220.9 kB / 0.6447 GB, free: 2.207 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002982/0.5102, allocations: 23.98 kB / 0.6447 GB, free: 2.184 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001339/0.5115, allocations: 147.9 kB / 0.6448 GB, free: 2.039 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005932/0.5121, allocations: 225.3 kB / 0.6451 GB, free: 1.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.21e-05/0.5122, allocations: 28 kB / 0.6451 GB, free: 1.793 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0009907/0.5132, allocations: 0.6915 MB / 0.6458 GB, free: 1.094 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5133, allocations: 0 / 0.6458 GB, free: 1.094 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001524/0.5148, allocations: 491.5 kB / 0.6462 GB, free: 0.6133 MB / 446.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.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 () * Number of clocked 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.0002677/0.5151, allocations: 136.5 kB / 0.6464 GB, free: 484 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007182/0.5223, allocations: 2.936 MB / 0.6492 GB, free: 13.51 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.5223, allocations: 0 / 0.6492 GB, free: 13.51 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005051/0.5274, allocations: 1.976 MB / 0.6512 GB, free: 11.49 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000932/0.5283, allocations: 101.8 kB / 0.6513 GB, free: 11.39 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004424/0.5327, allocations: 2.801 MB / 0.654 GB, free: 8.629 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006833/0.5335, allocations: 1.159 MB / 0.6551 GB, free: 7.434 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004634/0.5339, allocations: 107.9 kB / 0.6552 GB, free: 7.324 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002387/0.5342, allocations: 65.39 kB / 0.6553 GB, free: 7.262 MB / 462.1 MB Notification: Performance of SimCode: time 6.91e-07/0.5342, allocations: 8 kB / 0.6553 GB, free: 7.254 MB / 462.1 MB Notification: Performance of Templates: time 0.03572/0.5699, allocations: 22.86 MB / 0.6776 GB, free: 0.5547 MB / 478.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: