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.00103/0.00103, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.297/1.297, allocations: 222.9 MB / 239 MB, free: 4.762 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.001201/0.001201, allocations: 192.5 kB / 289.3 MB, free: 2.496 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4605/0.4605, allocations: 78.51 MB / 417.9 MB, free: 3.352 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 75.88 kB / 496.9 MB, free: 6.742 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.1319, allocations: 68.19 MB / 0.5519 GB, free: 2.516 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test): time 0.2581/0.3901, allocations: 6.946 MB / 0.5587 GB, free: 35.83 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004001/0.3941, allocations: 2.052 MB / 0.5607 GB, free: 35.27 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006912/0.3948, allocations: 16.53 kB / 0.5607 GB, free: 35.27 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007504/0.3956, allocations: 192.1 kB / 0.5609 GB, free: 35.25 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001631/0.3973, allocations: 0.6675 MB / 0.5615 GB, free: 35.11 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001304/0.3986, allocations: 0.6154 MB / 0.5621 GB, free: 35.03 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001798/0.4004, allocations: 1.633 MB / 0.5637 GB, free: 34.95 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005515/0.401, allocations: 345.6 kB / 0.5641 GB, free: 34.9 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001164/0.4021, allocations: 0.674 MB / 0.5647 GB, free: 34.73 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008799/0.403, allocations: 0.8147 MB / 0.5655 GB, free: 34.52 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001955/0.4032, allocations: 126.2 kB / 0.5656 GB, free: 34.52 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006229/0.4039, allocations: 261.5 kB / 0.5659 GB, free: 34.51 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002778/0.4041, allocations: 324 kB / 0.5662 GB, free: 34.43 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005937/0.4047, allocations: 0.6792 MB / 0.5668 GB, free: 34.18 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001999/0.4068, allocations: 1.678 MB / 0.5685 GB, free: 33.8 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.4068, allocations: 2.969 kB / 0.5685 GB, free: 33.8 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.4068, allocations: 2.562 kB / 0.5685 GB, free: 33.8 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.027e-05/0.4068, allocations: 0 / 0.5685 GB, free: 33.8 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.008835/0.4157, allocations: 2.764 MB / 0.5712 GB, free: 32.82 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.4157, allocations: 10.78 kB / 0.5712 GB, free: 32.82 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0045/0.4202, allocations: 0.7811 MB / 0.572 GB, free: 32.73 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001305/0.4215, allocations: 0.8846 MB / 0.5728 GB, free: 32.31 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002095/0.4218, allocations: 254.6 kB / 0.5731 GB, free: 32.12 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001471/0.4219, allocations: 87.78 kB / 0.5732 GB, free: 32.12 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002/0.4239, allocations: 1.176 MB / 0.5743 GB, free: 32.04 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.047e-05/0.424, allocations: 0.6094 kB / 0.5743 GB, free: 32.04 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.546e-05/0.4241, allocations: 37.08 kB / 0.5743 GB, free: 32.04 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.471e-05/0.4241, allocations: 22.31 kB / 0.5744 GB, free: 32.03 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001873/0.426, allocations: 1.07 MB / 0.5754 GB, free: 32.02 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.005267/0.4312, allocations: 3.691 MB / 0.579 GB, free: 30.43 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001992/0.4332, allocations: 1.556 MB / 0.5805 GB, free: 29.42 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001284/0.4345, allocations: 0.7769 MB / 0.5813 GB, free: 29.11 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001169/0.4347, allocations: 11.3 kB / 0.5813 GB, free: 29.11 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001701/0.4364, allocations: 0.8975 MB / 0.5822 GB, free: 28.76 MB / 430.1 MB Notification: Performance of pre-optimization done (n=102): time 3.176e-06/0.4364, allocations: 0 / 0.5822 GB, free: 28.76 MB / 430.1 MB Notification: Performance of matching and sorting (n=102): time 0.02576/0.4622, allocations: 6.96 MB / 0.589 GB, free: 27.3 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.057e-05/0.4623, allocations: 114.5 kB / 0.5891 GB, free: 27.18 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002006/0.4643, allocations: 1.032 MB / 0.5901 GB, free: 26.75 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003191/0.4646, allocations: 41.92 kB / 0.5901 GB, free: 26.71 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003803/0.465, allocations: 0.5051 MB / 0.5906 GB, free: 26.3 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004139/0.4654, allocations: 370.1 kB / 0.591 GB, free: 26.02 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005439/0.466, allocations: 251.3 kB / 0.5912 GB, free: 25.89 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.436e-05/0.4661, allocations: 357.7 kB / 0.5916 GB, free: 25.57 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001597/0.4677, allocations: 0.7638 MB / 0.5923 GB, free: 25.28 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001752/0.4695, allocations: 0.913 MB / 0.5932 GB, free: 24.88 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02212/0.4916, allocations: 5.432 MB / 0.5985 GB, free: 23.17 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.214e-05/0.4916, allocations: 2 kB / 0.5985 GB, free: 23.17 MB / 430.1 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.01448/0.5061, allocations: 4.506 MB / 0.6029 GB, free: 21.99 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.729e-05/0.5062, allocations: 59.97 kB / 0.603 GB, free: 21.93 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.65e-05/0.5063, allocations: 2.031 kB / 0.603 GB, free: 21.93 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006858/0.5131, allocations: 1.865 MB / 0.6048 GB, free: 21.6 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001371/0.5145, allocations: 247.9 kB / 0.605 GB, free: 21.58 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01996/0.5345, allocations: 9.479 MB / 0.6143 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002074/0.5366, allocations: 202.7 kB / 0.6145 GB, free: 15.01 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000115/0.5367, allocations: 47.98 kB / 0.6145 GB, free: 14.96 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 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.0006147/0.5374, allocations: 286.3 kB / 0.6148 GB, free: 14.67 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002254/0.5376, allocations: 130.4 kB / 0.6149 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01171/0.5493, allocations: 4.187 MB / 0.619 GB, free: 10.33 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.634e-05/0.5494, allocations: 12.7 kB / 0.619 GB, free: 10.32 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.5494, allocations: 4 kB / 0.619 GB, free: 10.31 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.584e-05/0.5494, allocations: 7.922 kB / 0.619 GB, free: 10.3 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01349/0.5629, allocations: 5.978 MB / 0.6249 GB, free: 4.191 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.401e-05/0.563, allocations: 1.312 kB / 0.6249 GB, free: 4.191 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007738/0.5638, allocations: 103.9 kB / 0.625 GB, free: 4.09 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005296/0.5691, allocations: 1.831 MB / 0.6267 GB, free: 2.254 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002232/0.5693, allocations: 28.56 kB / 0.6268 GB, free: 2.227 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01974/0.5891, allocations: 10.31 MB / 0.6368 GB, free: 7.621 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.109e-06/0.5891, allocations: 5.297 kB / 0.6369 GB, free: 7.617 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01466/0.6038, allocations: 5.13 MB / 0.6419 GB, free: 2.449 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006945/0.6045, allocations: 223.2 kB / 0.6421 GB, free: 2.211 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002267/0.6048, allocations: 23.94 kB / 0.6421 GB, free: 2.188 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001282/0.606, allocations: 115.9 kB / 0.6422 GB, free: 2.074 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007774/0.6068, allocations: 208.7 kB / 0.6424 GB, free: 1.871 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.965e-05/0.6069, allocations: 32.86 kB / 0.6424 GB, free: 1.84 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001075/0.608, allocations: 0.7055 MB / 0.6431 GB, free: 1.129 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.608, allocations: 0 / 0.6431 GB, free: 1.129 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001403/0.6094, allocations: 479.5 kB / 0.6436 GB, free: 0.6602 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 (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.0002923/0.6097, allocations: 131.8 kB / 0.6437 GB, free: 0.5234 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007161/0.6169, allocations: 2.725 MB / 0.6464 GB, free: 13.77 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.6169, allocations: 0 / 0.6464 GB, free: 13.77 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004562/0.6215, allocations: 1.8 MB / 0.6481 GB, free: 11.94 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001095/0.6226, allocations: 112.9 kB / 0.6482 GB, free: 11.83 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004276/0.6269, allocations: 2.805 MB / 0.651 GB, free: 9.039 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006246/0.6275, allocations: 1.128 MB / 0.6521 GB, free: 7.883 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004792/0.628, allocations: 109.9 kB / 0.6522 GB, free: 7.773 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002449/0.6283, allocations: 71.42 kB / 0.6523 GB, free: 7.703 MB / 462.1 MB Notification: Performance of SimCode: time 7.21e-07/0.6283, allocations: 0 / 0.6523 GB, free: 7.703 MB / 462.1 MB Notification: Performance of Templates: time 0.03548/0.6638, allocations: 25.36 MB / 0.677 GB, free: 14.53 MB / 494.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.makefile (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)