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.005669/0.005669, allocations: 101.1 kB / 15.88 MB, free: 5.871 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.302/1.302, allocations: 222.9 MB / 239.5 MB, free: 4.82 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.001577/0.001576, allocations: 192.5 kB / 289.8 MB, free: 2.562 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.502/0.502, allocations: 91.89 MB / 431.8 MB, free: 9.504 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001457, allocations: 83.86 kB / 0.5019 GB, free: 8.223 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.333/0.3345, allocations: 71.26 MB / 0.5715 GB, free: 36.32 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test): time 0.00568/0.3402, allocations: 6.979 MB / 0.5783 GB, free: 32.26 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003546/0.3438, allocations: 2.083 MB / 0.5803 GB, free: 30.96 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005993/0.3444, allocations: 16.53 kB / 0.5803 GB, free: 30.96 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006249/0.3451, allocations: 188.3 kB / 0.5805 GB, free: 30.88 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001522/0.3466, allocations: 0.6768 MB / 0.5812 GB, free: 30.44 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001129/0.3478, allocations: 0.6197 MB / 0.5818 GB, free: 30.1 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001124/0.3489, allocations: 1.548 MB / 0.5833 GB, free: 29.36 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003823/0.3493, allocations: 317.4 kB / 0.5836 GB, free: 29.21 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006407/0.3499, allocations: 0.605 MB / 0.5842 GB, free: 28.93 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006062/0.3506, allocations: 0.769 MB / 0.5849 GB, free: 28.57 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001357/0.3507, allocations: 76.62 kB / 0.585 GB, free: 28.57 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004216/0.3511, allocations: 209.1 kB / 0.5852 GB, free: 28.53 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002231/0.3514, allocations: 274 kB / 0.5855 GB, free: 28.37 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004455/0.3518, allocations: 0.6233 MB / 0.5861 GB, free: 27.96 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008416/0.3527, allocations: 1.287 MB / 0.5873 GB, free: 27.46 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.3527, allocations: 4 kB / 0.5873 GB, free: 27.45 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3527, allocations: 1.688 kB / 0.5873 GB, free: 27.45 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.687e-05/0.3527, allocations: 0 / 0.5873 GB, free: 27.45 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.008717/0.3614, allocations: 2.756 MB / 0.59 GB, free: 26.19 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.3615, allocations: 13.16 kB / 0.59 GB, free: 26.18 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004897/0.3664, allocations: 0.7832 MB / 0.5908 GB, free: 26.02 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001392/0.3678, allocations: 0.893 MB / 0.5917 GB, free: 25.42 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002161/0.368, allocations: 253.7 kB / 0.5919 GB, free: 25.2 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001495/0.3682, allocations: 92.31 kB / 0.592 GB, free: 25.16 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002213/0.3704, allocations: 1.177 MB / 0.5931 GB, free: 24.71 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.951e-05/0.3705, allocations: 1.531 kB / 0.5931 GB, free: 24.71 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-05/0.3706, allocations: 30.97 kB / 0.5932 GB, free: 24.68 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.833e-05/0.3706, allocations: 18.56 kB / 0.5932 GB, free: 24.68 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002199/0.3728, allocations: 1.07 MB / 0.5942 GB, free: 24.32 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.00618/0.379, allocations: 3.678 MB / 0.5978 GB, free: 22.3 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002379/0.3814, allocations: 1.551 MB / 0.5993 GB, free: 21.29 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001481/0.3829, allocations: 0.7864 MB / 0.6001 GB, free: 20.97 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001111/0.383, allocations: 17.78 kB / 0.6001 GB, free: 20.96 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001637/0.3846, allocations: 0.8885 MB / 0.601 GB, free: 20.62 MB / 430.1 MB Notification: Performance of pre-optimization done (n=102): time 3.246e-06/0.3846, allocations: 0 / 0.601 GB, free: 20.62 MB / 430.1 MB Notification: Performance of matching and sorting (n=102): time 0.02712/0.4118, allocations: 6.96 MB / 0.6078 GB, free: 19.16 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.003e-05/0.4119, allocations: 115.8 kB / 0.6079 GB, free: 19.04 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001842/0.4137, allocations: 1.027 MB / 0.6089 GB, free: 18.62 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002954/0.4141, allocations: 46.91 kB / 0.609 GB, free: 18.57 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003662/0.4144, allocations: 0.4993 MB / 0.6094 GB, free: 18.17 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000418/0.4149, allocations: 374.2 kB / 0.6098 GB, free: 17.88 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004916/0.4154, allocations: 252.2 kB / 0.61 GB, free: 17.75 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.38e-05/0.4155, allocations: 355.2 kB / 0.6104 GB, free: 17.43 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001638/0.4171, allocations: 0.7659 MB / 0.6111 GB, free: 17.14 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001771/0.4189, allocations: 0.9074 MB / 0.612 GB, free: 16.73 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02157/0.4405, allocations: 5.422 MB / 0.6173 GB, free: 14.59 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.208e-05/0.4405, allocations: 1.219 kB / 0.6173 GB, free: 14.59 MB / 430.1 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.01323/0.4538, allocations: 4.506 MB / 0.6217 GB, free: 10.85 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.215e-05/0.4539, allocations: 63.39 kB / 0.6218 GB, free: 10.77 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.75e-05/0.4539, allocations: 4 kB / 0.6218 GB, free: 10.77 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006082/0.46, allocations: 1.864 MB / 0.6236 GB, free: 8.902 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001289/0.4613, allocations: 247.7 kB / 0.6238 GB, free: 8.66 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01849/0.4798, allocations: 8.724 MB / 0.6323 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002113/0.482, allocations: 202.7 kB / 0.6325 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001935/0.4822, allocations: 47.98 kB / 0.6326 GB, free: 15.56 MB / 446.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 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.0006669/0.4829, allocations: 285.9 kB / 0.6329 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003331/0.4832, allocations: 126.4 kB / 0.633 GB, free: 15.14 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01381/0.497, allocations: 4.196 MB / 0.6371 GB, free: 10.92 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.218e-05/0.4971, allocations: 8 kB / 0.6371 GB, free: 10.91 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.4971, allocations: 0 / 0.6371 GB, free: 10.91 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-05/0.4972, allocations: 11.98 kB / 0.6371 GB, free: 10.9 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01763/0.5148, allocations: 5.973 MB / 0.6429 GB, free: 4.785 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.569e-05/0.5149, allocations: 3.938 kB / 0.6429 GB, free: 4.781 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008165/0.5157, allocations: 107.8 kB / 0.643 GB, free: 4.676 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006331/0.522, allocations: 1.835 MB / 0.6448 GB, free: 2.832 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002867/0.5224, allocations: 20 kB / 0.6448 GB, free: 2.812 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02112/0.5435, allocations: 9.379 MB / 0.654 GB, free: 9.148 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.5435, allocations: 4 kB / 0.654 GB, free: 9.145 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01615/0.5597, allocations: 5.134 MB / 0.659 GB, free: 3.973 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006037/0.5603, allocations: 219.2 kB / 0.6592 GB, free: 3.738 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005254/0.5609, allocations: 28 kB / 0.6593 GB, free: 3.711 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001591/0.5625, allocations: 108 kB / 0.6594 GB, free: 3.605 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008264/0.5633, allocations: 208.6 kB / 0.6596 GB, free: 3.402 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001791/0.5635, allocations: 31.94 kB / 0.6596 GB, free: 3.371 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001361/0.5649, allocations: 0.7032 MB / 0.6603 GB, free: 2.66 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.5649, allocations: 0 / 0.6603 GB, free: 2.66 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002053/0.567, allocations: 479.5 kB / 0.6607 GB, free: 2.191 MB / 462.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 (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.0004089/0.5674, allocations: 147.1 kB / 0.6609 GB, free: 2.039 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007219/0.5746, allocations: 2.637 MB / 0.6634 GB, free: 15.37 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.394e-06/0.5747, allocations: 4 kB / 0.6635 GB, free: 15.36 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005104/0.5798, allocations: 1.75 MB / 0.6652 GB, free: 13.57 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001333/0.5812, allocations: 116.4 kB / 0.6653 GB, free: 13.45 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005176/0.5864, allocations: 2.832 MB / 0.668 GB, free: 10.59 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007738/0.5872, allocations: 1.136 MB / 0.6691 GB, free: 9.426 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003937/0.5876, allocations: 71.42 kB / 0.6692 GB, free: 9.355 MB / 478.1 MB Notification: Performance of SimCode: time 1.663e-06/0.5876, allocations: 4 kB / 0.6692 GB, free: 9.352 MB / 478.1 MB Notification: Performance of Templates: time 0.03441/0.622, allocations: 24.09 MB / 0.6927 GB, free: 1.262 MB / 494.1 MB 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)