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.001321/0.001321, allocations: 108.3 kB / 16.41 MB, free: 6.492 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.449/1.449, allocations: 222.9 MB / 240.1 MB, free: 4.57 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.001791/0.001791, allocations: 188.5 kB / 290.4 MB, free: 2.277 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.6206/0.6206, allocations: 91.91 MB / 432.4 MB, free: 9.172 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001478/0.001478, allocations: 81.09 kB / 0.5734 GB, free: 33.63 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1495/0.151, allocations: 71.27 MB / 0.643 GB, free: 3.625 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test): time 0.007971/0.159, allocations: 6.655 MB / 0.6495 GB, free: 12.93 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004932/0.164, allocations: 2.028 MB / 0.6515 GB, free: 10.9 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001421/0.1655, allocations: 16 kB / 0.6515 GB, free: 10.88 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00116/0.1666, allocations: 241.9 kB / 0.6517 GB, free: 10.64 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003156/0.1699, allocations: 0.7834 MB / 0.6525 GB, free: 9.863 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001917/0.1718, allocations: 0.6605 MB / 0.6531 GB, free: 9.207 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002731/0.1745, allocations: 1.639 MB / 0.6547 GB, free: 7.562 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007448/0.1753, allocations: 348.6 kB / 0.655 GB, free: 7.207 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00136/0.1767, allocations: 0.6691 MB / 0.6557 GB, free: 6.535 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001465/0.1781, allocations: 0.8051 MB / 0.6565 GB, free: 5.727 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004871/0.1786, allocations: 124 kB / 0.6566 GB, free: 5.605 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00092/0.1796, allocations: 267.8 kB / 0.6569 GB, free: 5.344 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004966/0.1801, allocations: 330.6 kB / 0.6572 GB, free: 5.02 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001133/0.1812, allocations: 0.6757 MB / 0.6578 GB, free: 4.34 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002306/0.1836, allocations: 1.697 MB / 0.6595 GB, free: 2.637 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.1836, allocations: 0 / 0.6595 GB, free: 2.637 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1836, allocations: 4 kB / 0.6595 GB, free: 2.633 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.17e-05/0.1836, allocations: 0 / 0.6595 GB, free: 2.633 MB / 462.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.009987/0.1936, allocations: 2.762 MB / 0.6622 GB, free: 15.8 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/0.1937, allocations: 8.031 kB / 0.6622 GB, free: 15.79 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00535/0.199, allocations: 0.7865 MB / 0.663 GB, free: 15.01 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002081/0.2011, allocations: 0.886 MB / 0.6638 GB, free: 14.07 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003047/0.2015, allocations: 260.2 kB / 0.6641 GB, free: 13.77 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002615/0.2017, allocations: 91.91 kB / 0.6642 GB, free: 13.68 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002655/0.2044, allocations: 1.172 MB / 0.6653 GB, free: 12.5 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.029e-05/0.2044, allocations: 0 / 0.6653 GB, free: 12.5 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00011/0.2046, allocations: 32 kB / 0.6653 GB, free: 12.47 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.103e-05/0.2046, allocations: 20 kB / 0.6654 GB, free: 12.45 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002466/0.2071, allocations: 1.074 MB / 0.6664 GB, free: 11.37 MB / 478.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.007332/0.2144, allocations: 3.66 MB / 0.67 GB, free: 7.582 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002714/0.2171, allocations: 1.549 MB / 0.6715 GB, free: 5.906 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001586/0.2188, allocations: 0.7854 MB / 0.6723 GB, free: 5.117 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000103/0.2189, allocations: 17 kB / 0.6723 GB, free: 5.102 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001853/0.2207, allocations: 0.8919 MB / 0.6732 GB, free: 4.191 MB / 478.1 MB Notification: Performance of pre-optimization done (n=102): time 3.487e-06/0.2208, allocations: 0 / 0.6732 GB, free: 4.191 MB / 478.1 MB Notification: Performance of matching and sorting (n=102): time 0.0278/0.2486, allocations: 6.953 MB / 0.6799 GB, free: 13.17 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.137e-05/0.2487, allocations: 119.8 kB / 0.6801 GB, free: 13.03 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001974/0.2507, allocations: 1.035 MB / 0.6811 GB, free: 11.98 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002796/0.251, allocations: 45.7 kB / 0.6811 GB, free: 11.93 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004585/0.2514, allocations: 0.5046 MB / 0.6816 GB, free: 11.42 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005945/0.252, allocations: 370.7 kB / 0.682 GB, free: 11.05 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006324/0.2527, allocations: 243.4 kB / 0.6822 GB, free: 10.81 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.2529, allocations: 357.9 kB / 0.6825 GB, free: 10.45 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001716/0.2546, allocations: 0.7652 MB / 0.6833 GB, free: 9.688 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001821/0.2564, allocations: 0.9155 MB / 0.6842 GB, free: 8.738 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02196/0.2784, allocations: 5.417 MB / 0.6895 GB, free: 3.238 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-05/0.2784, allocations: 0 / 0.6895 GB, free: 3.238 MB / 494.1 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.01549/0.2939, allocations: 4.499 MB / 0.6939 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.535e-05/0.2941, allocations: 63.39 kB / 0.6939 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.621e-05/0.2941, allocations: 0 / 0.6939 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007232/0.3013, allocations: 1.865 MB / 0.6957 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001405/0.3028, allocations: 247.7 kB / 0.696 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02398/0.3268, allocations: 9.468 MB / 0.7052 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002298/0.3291, allocations: 182.8 kB / 0.7054 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003434/0.3295, allocations: 55.97 kB / 0.7055 GB, free: 2.676 MB / 0.4981 GB 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 order6Type2_Inputs_Outputs.delta:VARIABLE(flow=false start = order6Type2_Inputs_Outputs.delta0 unit = "rad" fixed = true ) "Rotor angle" 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 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (139): * Single equations (assignments): 136 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(24,14)} Notification: Performance of prepare postOptimizeDAE: time 0.001015/0.3305, allocations: 298.9 kB / 0.7057 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000502/0.331, allocations: 126.5 kB / 0.7059 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01455/0.3456, allocations: 4.193 MB / 0.71 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.594e-05/0.3457, allocations: 8 kB / 0.71 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.3457, allocations: 0 / 0.71 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-05/0.3457, allocations: 11.92 kB / 0.71 GB, free: 14 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01722/0.363, allocations: 5.965 MB / 0.7158 GB, free: 7.898 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.825e-05/0.3631, allocations: 0 / 0.7158 GB, free: 7.898 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008789/0.364, allocations: 103.8 kB / 0.7159 GB, free: 7.797 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006691/0.3707, allocations: 1.824 MB / 0.7177 GB, free: 5.965 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002376/0.3709, allocations: 23.98 kB / 0.7177 GB, free: 5.941 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02458/0.3955, allocations: 10.31 MB / 0.7278 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.08e-06/0.3956, allocations: 3.938 kB / 0.7278 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01645/0.412, allocations: 5.132 MB / 0.7328 GB, free: 6.164 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005639/0.4126, allocations: 219.3 kB / 0.733 GB, free: 5.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004477/0.4131, allocations: 28.06 kB / 0.733 GB, free: 5.902 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001544/0.4147, allocations: 115.9 kB / 0.7331 GB, free: 5.789 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007877/0.4155, allocations: 212.6 kB / 0.7333 GB, free: 5.582 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001416/0.4156, allocations: 28 kB / 0.7334 GB, free: 5.555 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001326/0.417, allocations: 0.7071 MB / 0.734 GB, free: 4.84 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.8e-07/0.417, allocations: 0 / 0.734 GB, free: 4.84 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001964/0.419, allocations: 479.5 kB / 0.7345 GB, free: 4.371 MB / 0.5294 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 () * 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(26,10), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004137/0.4194, allocations: 147.6 kB / 0.7346 GB, free: 4.219 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007688/0.4271, allocations: 2.682 MB / 0.7373 GB, free: 1.504 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.4271, allocations: 0 / 0.7373 GB, free: 1.504 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005332/0.4325, allocations: 1.787 MB / 0.739 GB, free: 15.67 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00144/0.4339, allocations: 120.4 kB / 0.7391 GB, free: 15.55 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005305/0.4392, allocations: 2.374 MB / 0.7414 GB, free: 13.15 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009141/0.4402, allocations: 1.132 MB / 0.7425 GB, free: 11.98 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004126/0.4406, allocations: 79.41 kB / 0.7426 GB, free: 11.91 MB / 0.545 GB Notification: Performance of SimCode: time 1.572e-06/0.4406, allocations: 0 / 0.7426 GB, free: 11.91 MB / 0.545 GB Notification: Performance of Templates: time 0.03622/0.4768, allocations: 24.21 MB / 0.7663 GB, free: 3.68 MB / 0.5606 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)