Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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.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.AVRTypeII_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_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_release_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.007183/0.007183, allocations: 169.3 kB / 15.13 MB, free: 6.023 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.333/1.333, allocations: 223.3 MB / 239.1 MB, free: 15.97 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.0007914/0.0007916, allocations: 110.5 kB / 290.3 MB, free: 4.547 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4421/0.4421, allocations: 78.63 MB / 420 MB, free: 36.51 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003934/0.0003932, allocations: 12 kB / 499.9 MB, free: 7.238 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.1057, allocations: 69.35 MB / 0.5559 GB, free: 1.828 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test): time 0.005241/0.111, allocations: 6.083 MB / 0.5619 GB, free: 11.71 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.003221/0.1143, allocations: 1.951 MB / 0.5638 GB, free: 9.762 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004503/0.1147, allocations: 12 kB / 0.5638 GB, free: 9.75 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004875/0.1152, allocations: 178.7 kB / 0.5639 GB, free: 9.574 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001292/0.1165, allocations: 0.633 MB / 0.5646 GB, free: 8.938 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001082/0.1176, allocations: 0.5595 MB / 0.5651 GB, free: 8.387 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001157/0.1188, allocations: 1.452 MB / 0.5665 GB, free: 6.93 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003596/0.1192, allocations: 286 kB / 0.5668 GB, free: 6.637 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005301/0.1197, allocations: 0.5677 MB / 0.5673 GB, free: 6.066 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006703/0.1204, allocations: 0.7116 MB / 0.568 GB, free: 5.352 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001165/0.1205, allocations: 60 kB / 0.5681 GB, free: 5.293 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003349/0.1209, allocations: 187.9 kB / 0.5683 GB, free: 5.109 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001953/0.1211, allocations: 242.8 kB / 0.5685 GB, free: 4.871 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001771/0.1212, allocations: 237 kB / 0.5687 GB, free: 4.633 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009665/0.1222, allocations: 1.254 MB / 0.57 GB, free: 3.375 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.1222, allocations: 0 / 0.57 GB, free: 3.375 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1222, allocations: 0 / 0.57 GB, free: 3.375 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.164e-05/0.1223, allocations: 0 / 0.57 GB, free: 3.375 MB / 442.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.007912/0.1302, allocations: 2.595 MB / 0.5725 GB, free: 0.7109 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.24e-05/0.1302, allocations: 12.03 kB / 0.5725 GB, free: 0.6992 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.197/0.3272, allocations: 0.7869 MB / 0.5733 GB, free: 44.17 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001691/0.3289, allocations: 0.8453 MB / 0.5741 GB, free: 43.91 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002154/0.3291, allocations: 263.7 kB / 0.5744 GB, free: 43.73 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001451/0.3293, allocations: 84.38 kB / 0.5744 GB, free: 43.73 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002249/0.3316, allocations: 1.234 MB / 0.5756 GB, free: 43.65 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.677e-05/0.3316, allocations: 1.469 kB / 0.5756 GB, free: 43.65 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.773e-05/0.3317, allocations: 32.75 kB / 0.5757 GB, free: 43.65 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.959e-05/0.3317, allocations: 25.39 kB / 0.5757 GB, free: 43.64 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00212/0.3338, allocations: 1.144 MB / 0.5768 GB, free: 43.63 MB / 442.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.005406/0.3393, allocations: 3.741 MB / 0.5805 GB, free: 42.8 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002306/0.3416, allocations: 1.622 MB / 0.5821 GB, free: 42.17 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001547/0.3431, allocations: 0.8434 MB / 0.5829 GB, free: 42.15 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.717e-05/0.3432, allocations: 17.75 kB / 0.5829 GB, free: 42.15 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001761/0.345, allocations: 0.9524 MB / 0.5838 GB, free: 42.07 MB / 442.7 MB Notification: Performance of pre-optimization done (n=102): time 2.615e-06/0.345, allocations: 2.406 kB / 0.5838 GB, free: 42.07 MB / 442.7 MB Notification: Performance of matching and sorting (n=102): time 0.02798/0.373, allocations: 8.485 MB / 0.5921 GB, free: 41.2 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.035e-05/0.3731, allocations: 118.9 kB / 0.5922 GB, free: 41.07 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001311/0.3744, allocations: 1.018 MB / 0.5932 GB, free: 40.65 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000117/0.3745, allocations: 44.7 kB / 0.5933 GB, free: 40.6 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002667/0.3748, allocations: 0.5062 MB / 0.5938 GB, free: 40.2 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002627/0.3751, allocations: 368.6 kB / 0.5941 GB, free: 39.92 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.835e-05/0.3752, allocations: 25.62 kB / 0.5941 GB, free: 39.9 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.204e-05/0.3753, allocations: 358.8 kB / 0.5945 GB, free: 39.57 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001512/0.3768, allocations: 0.8255 MB / 0.5953 GB, free: 39.28 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00157/0.3784, allocations: 0.9748 MB / 0.5962 GB, free: 38.86 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001594/0.38, allocations: 0.9391 MB / 0.5971 GB, free: 38.42 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.38, allocations: 3.219 kB / 0.5972 GB, free: 38.42 MB / 442.7 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.01417/0.3941, allocations: 5.385 MB / 0.6024 GB, free: 37.15 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.169e-05/0.3942, allocations: 65.91 kB / 0.6025 GB, free: 37.09 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.415e-05/0.3943, allocations: 3.062 kB / 0.6025 GB, free: 37.09 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007035/0.4013, allocations: 2.228 MB / 0.6047 GB, free: 36.72 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001252/0.4026, allocations: 248.5 kB / 0.6049 GB, free: 36.7 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02091/0.4235, allocations: 9.906 MB / 0.6146 GB, free: 32.43 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001818/0.4254, allocations: 238.1 kB / 0.6148 GB, free: 32.35 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001136/0.4255, allocations: 47.66 kB / 0.6148 GB, free: 32.34 MB / 442.7 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.0005535/0.426, allocations: 287.2 kB / 0.6151 GB, free: 32.1 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001883/0.4262, allocations: 133 kB / 0.6152 GB, free: 32.03 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01486/0.4411, allocations: 5.091 MB / 0.6202 GB, free: 30.89 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.532e-05/0.4412, allocations: 10.5 kB / 0.6202 GB, free: 30.89 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.4412, allocations: 5.094 kB / 0.6202 GB, free: 30.89 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.621e-05/0.4412, allocations: 6.547 kB / 0.6202 GB, free: 30.89 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01743/0.4586, allocations: 6.876 MB / 0.6269 GB, free: 28.63 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.541e-05/0.4587, allocations: 0 / 0.6269 GB, free: 28.63 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008046/0.4595, allocations: 106.3 kB / 0.627 GB, free: 28.62 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006197/0.4657, allocations: 2.146 MB / 0.6291 GB, free: 28.26 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001686/0.4659, allocations: 19.94 kB / 0.6292 GB, free: 28.25 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01872/0.4846, allocations: 10.28 MB / 0.6392 GB, free: 18.63 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.4847, allocations: 0 / 0.6392 GB, free: 18.63 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01491/0.4996, allocations: 6.099 MB / 0.6452 GB, free: 12.5 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005389/0.5002, allocations: 223.2 kB / 0.6454 GB, free: 12.27 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001711/0.5004, allocations: 20 kB / 0.6454 GB, free: 12.25 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001184/0.5016, allocations: 151.9 kB / 0.6455 GB, free: 12.1 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006551/0.5022, allocations: 208.6 kB / 0.6457 GB, free: 11.89 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.811e-05/0.5023, allocations: 35.08 kB / 0.6458 GB, free: 11.86 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000876/0.5032, allocations: 0.6954 MB / 0.6464 GB, free: 11.16 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.5032, allocations: 0 / 0.6464 GB, free: 11.16 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001381/0.5046, allocations: 486.2 kB / 0.6469 GB, free: 10.68 MB / 442.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.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.0002532/0.5048, allocations: 138.2 kB / 0.647 GB, free: 10.54 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006512/0.5114, allocations: 2.929 MB / 0.6499 GB, free: 7.586 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.5114, allocations: 4.188 kB / 0.6499 GB, free: 7.582 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004492/0.5159, allocations: 1.99 MB / 0.6518 GB, free: 5.566 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009352/0.5169, allocations: 112.4 kB / 0.652 GB, free: 5.453 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003374/0.5202, allocations: 2.764 MB / 0.6546 GB, free: 2.707 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004053/0.5207, allocations: 1.128 MB / 0.6558 GB, free: 1.551 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003716/0.521, allocations: 110.4 kB / 0.6559 GB, free: 1.441 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002235/0.5213, allocations: 67.42 kB / 0.6559 GB, free: 1.379 MB / 442.7 MB Notification: Performance of SimCode: time 6.21e-07/0.5213, allocations: 0 / 0.6559 GB, free: 1.379 MB / 442.7 MB Notification: Performance of Templates: time 0.03354/0.5548, allocations: 22.92 MB / 0.6783 GB, free: 10.62 MB / 474.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.sim & ./OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe 2>&1)