Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.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 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_dev_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_dev_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.001171/0.001171, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.374/1.374, allocations: 223.2 MB / 239 MB, free: 5.441 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.0009237/0.0009237, allocations: 176.5 kB / 290.3 MB, free: 2.129 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.493/0.493, allocations: 91.92 MB / 433.3 MB, free: 10.36 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003432/0.0003434, allocations: 15.94 kB / 0.5042 GB, free: 7.629 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2982/0.2985, allocations: 72.47 MB / 0.5749 GB, free: 36.43 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test): time 0.004502/0.3031, allocations: 6.1 MB / 0.5809 GB, free: 32.61 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003188/0.3063, allocations: 1.958 MB / 0.5828 GB, free: 31.22 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005775/0.3069, allocations: 15.5 kB / 0.5828 GB, free: 31.22 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005064/0.3074, allocations: 172 kB / 0.583 GB, free: 31.14 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001373/0.3088, allocations: 0.631 MB / 0.5836 GB, free: 30.73 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001043/0.3099, allocations: 0.5435 MB / 0.5841 GB, free: 30.46 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001055/0.3109, allocations: 1.462 MB / 0.5856 GB, free: 29.71 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003557/0.3113, allocations: 282.1 kB / 0.5858 GB, free: 29.6 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005571/0.3119, allocations: 0.5681 MB / 0.5864 GB, free: 29.36 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006686/0.3125, allocations: 0.7139 MB / 0.5871 GB, free: 29.04 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001449/0.3127, allocations: 61.53 kB / 0.5871 GB, free: 29.04 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003733/0.3131, allocations: 186.3 kB / 0.5873 GB, free: 29 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001641/0.3133, allocations: 248.2 kB / 0.5876 GB, free: 28.86 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001757/0.3134, allocations: 226.7 kB / 0.5878 GB, free: 28.71 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007997/0.3142, allocations: 1.255 MB / 0.589 GB, free: 28.34 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.3143, allocations: 0 / 0.589 GB, free: 28.34 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.3143, allocations: 0 / 0.589 GB, free: 28.34 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.028e-05/0.3143, allocations: 4.781 kB / 0.589 GB, free: 28.34 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.007384/0.3217, allocations: 2.594 MB / 0.5915 GB, free: 27.22 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.3217, allocations: 13.28 kB / 0.5916 GB, free: 27.21 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004789/0.3265, allocations: 0.7974 MB / 0.5923 GB, free: 27.05 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001395/0.3279, allocations: 0.8381 MB / 0.5931 GB, free: 26.5 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002388/0.3282, allocations: 261.6 kB / 0.5934 GB, free: 26.28 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001835/0.3284, allocations: 87.69 kB / 0.5935 GB, free: 26.25 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002302/0.3307, allocations: 1.23 MB / 0.5947 GB, free: 25.8 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.792e-05/0.3307, allocations: 1.375 kB / 0.5947 GB, free: 25.8 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.292e-05/0.3308, allocations: 37.03 kB / 0.5947 GB, free: 25.77 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.789e-05/0.3309, allocations: 23.52 kB / 0.5947 GB, free: 25.77 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002166/0.333, allocations: 1.139 MB / 0.5959 GB, free: 25.39 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.005893/0.3389, allocations: 3.751 MB / 0.5995 GB, free: 23.35 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00218/0.3411, allocations: 1.613 MB / 0.6011 GB, free: 22.33 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001465/0.3426, allocations: 0.8469 MB / 0.6019 GB, free: 22.01 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001111/0.3427, allocations: 12.94 kB / 0.6019 GB, free: 22.01 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001701/0.3444, allocations: 0.9558 MB / 0.6029 GB, free: 21.65 MB / 430.1 MB Notification: Performance of pre-optimization done (n=102): time 2.475e-06/0.3445, allocations: 0 / 0.6029 GB, free: 21.65 MB / 430.1 MB Notification: Performance of matching and sorting (n=102): time 0.02608/0.3705, allocations: 8.49 MB / 0.6112 GB, free: 20.03 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.497e-05/0.3706, allocations: 119.9 kB / 0.6113 GB, free: 19.9 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00155/0.3722, allocations: 1.02 MB / 0.6123 GB, free: 19.48 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002258/0.3724, allocations: 46.56 kB / 0.6123 GB, free: 19.43 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003109/0.3727, allocations: 0.4991 MB / 0.6128 GB, free: 19.03 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003462/0.3731, allocations: 378.6 kB / 0.6132 GB, free: 18.73 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.314e-05/0.3732, allocations: 26.44 kB / 0.6132 GB, free: 18.71 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.091e-05/0.3733, allocations: 357.8 kB / 0.6135 GB, free: 18.38 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001601/0.3749, allocations: 0.8292 MB / 0.6143 GB, free: 18.09 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001714/0.3766, allocations: 0.9777 MB / 0.6153 GB, free: 17.66 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001663/0.3783, allocations: 0.9306 MB / 0.6162 GB, free: 17.23 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.653e-06/0.3783, allocations: 1.969 kB / 0.6162 GB, free: 17.23 MB / 430.1 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.01303/0.3913, allocations: 5.391 MB / 0.6215 GB, free: 13.65 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.83e-05/0.3914, allocations: 63.36 kB / 0.6215 GB, free: 13.57 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/0.3914, allocations: 4 kB / 0.6215 GB, free: 13.57 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005988/0.3974, allocations: 2.22 MB / 0.6237 GB, free: 11.35 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001177/0.3986, allocations: 251.7 kB / 0.6239 GB, free: 11.1 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01796/0.4166, allocations: 9.921 MB / 0.6336 GB, free: 1.043 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001677/0.4183, allocations: 234.8 kB / 0.6339 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000128/0.4185, allocations: 51.97 kB / 0.6339 GB, free: 0.7617 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.0004894/0.419, allocations: 290.2 kB / 0.6342 GB, free: 476 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00019/0.4192, allocations: 130.4 kB / 0.6343 GB, free: 344 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01359/0.4327, allocations: 5.095 MB / 0.6393 GB, free: 11.21 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.672e-05/0.4328, allocations: 12 kB / 0.6393 GB, free: 11.2 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.4328, allocations: 0 / 0.6393 GB, free: 11.2 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.637e-05/0.4328, allocations: 7.969 kB / 0.6393 GB, free: 11.2 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01591/0.4488, allocations: 6.879 MB / 0.646 GB, free: 4.176 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-05/0.4488, allocations: 0 / 0.646 GB, free: 4.176 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007369/0.4495, allocations: 111.8 kB / 0.6461 GB, free: 4.066 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006167/0.4557, allocations: 2.132 MB / 0.6482 GB, free: 1.926 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002221/0.456, allocations: 31.98 kB / 0.6482 GB, free: 1.895 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02049/0.4765, allocations: 10.27 MB / 0.6583 GB, free: 7.34 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.4765, allocations: 0 / 0.6583 GB, free: 7.34 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01551/0.492, allocations: 6.099 MB / 0.6642 GB, free: 1.207 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005471/0.4926, allocations: 219.2 kB / 0.6644 GB, free: 0.9727 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000462/0.4931, allocations: 24 kB / 0.6645 GB, free: 0.9492 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001367/0.4945, allocations: 151.9 kB / 0.6646 GB, free: 0.8008 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006952/0.4952, allocations: 212.6 kB / 0.6648 GB, free: 0.5898 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001378/0.4953, allocations: 31.98 kB / 0.6648 GB, free: 0.5586 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00117/0.4965, allocations: 0.6915 MB / 0.6655 GB, free: 15.86 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.863e-06/0.4965, allocations: 0 / 0.6655 GB, free: 15.86 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001805/0.4983, allocations: 483.5 kB / 0.666 GB, free: 15.39 MB / 478.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.000309/0.4987, allocations: 143.4 kB / 0.6661 GB, free: 15.24 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007001/0.5057, allocations: 2.934 MB / 0.669 GB, free: 12.27 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/0.5057, allocations: 0 / 0.669 GB, free: 12.27 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004898/0.5106, allocations: 1.976 MB / 0.6709 GB, free: 10.25 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001211/0.5119, allocations: 118.6 kB / 0.671 GB, free: 10.14 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004485/0.5164, allocations: 2.773 MB / 0.6737 GB, free: 7.344 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006624/0.5171, allocations: 1.132 MB / 0.6748 GB, free: 6.18 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004834/0.5175, allocations: 103.9 kB / 0.6749 GB, free: 6.074 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002749/0.5178, allocations: 63.42 kB / 0.675 GB, free: 6.012 MB / 478.1 MB Notification: Performance of SimCode: time 6.11e-07/0.5178, allocations: 0 / 0.675 GB, free: 6.012 MB / 478.1 MB Notification: Performance of Templates: time 0.03749/0.5553, allocations: 22.91 MB / 0.6974 GB, free: 15.14 MB / 0.4981 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe 2>&1)