Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_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.AVRTypeI_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test") translateModel(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009857/0.0009856, allocations: 99.11 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.319/1.319, allocations: 223.3 MB / 240 MB, free: 5.352 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.00111/0.00111, allocations: 184.5 kB / 291.3 MB, free: 2.023 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5029/0.5029, allocations: 91.92 MB / 434.3 MB, free: 10.27 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003578/0.0003579, allocations: 8 kB / 0.5054 GB, free: 7.238 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3378/0.3381, allocations: 72.47 MB / 0.5762 GB, free: 36.13 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test): time 0.00466/0.3428, allocations: 6.433 MB / 0.5825 GB, free: 32.18 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003535/0.3464, allocations: 2.067 MB / 0.5845 GB, free: 30.72 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008851/0.3473, allocations: 12.66 kB / 0.5845 GB, free: 30.72 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006473/0.348, allocations: 199.4 kB / 0.5847 GB, free: 30.64 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001766/0.3498, allocations: 0.6642 MB / 0.5853 GB, free: 30.2 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001215/0.351, allocations: 0.6449 MB / 0.586 GB, free: 29.85 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001325/0.3523, allocations: 1.517 MB / 0.5874 GB, free: 29.12 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003974/0.3527, allocations: 288 kB / 0.5877 GB, free: 29 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006969/0.3534, allocations: 0.5694 MB / 0.5883 GB, free: 28.74 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007143/0.3542, allocations: 0.7241 MB / 0.589 GB, free: 28.42 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001311/0.3543, allocations: 60.38 kB / 0.589 GB, free: 28.42 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004046/0.3547, allocations: 194.3 kB / 0.5892 GB, free: 28.37 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001973/0.3549, allocations: 259.6 kB / 0.5895 GB, free: 28.22 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003941/0.3553, allocations: 0.6151 MB / 0.5901 GB, free: 27.81 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008754/0.3562, allocations: 1.238 MB / 0.5913 GB, free: 27.44 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.3562, allocations: 1.375 kB / 0.5913 GB, free: 27.44 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.3562, allocations: 0 / 0.5913 GB, free: 27.44 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.154e-05/0.3563, allocations: 0 / 0.5913 GB, free: 27.44 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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.008339/0.3646, allocations: 2.568 MB / 0.5938 GB, free: 26.31 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/0.3647, allocations: 8.75 kB / 0.5938 GB, free: 26.31 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005172/0.3698, allocations: 0.7851 MB / 0.5946 GB, free: 26.16 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001762/0.3716, allocations: 0.8906 MB / 0.5954 GB, free: 25.56 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002361/0.3719, allocations: 234.8 kB / 0.5957 GB, free: 25.36 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000232/0.3721, allocations: 86.5 kB / 0.5957 GB, free: 25.33 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0025/0.3746, allocations: 1.248 MB / 0.597 GB, free: 24.88 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.604e-05/0.3747, allocations: 4 kB / 0.597 GB, free: 24.87 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.987e-05/0.3748, allocations: 32.41 kB / 0.597 GB, free: 24.85 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.756e-05/0.3748, allocations: 17.78 kB / 0.597 GB, free: 24.85 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002415/0.3772, allocations: 1.172 MB / 0.5982 GB, free: 24.47 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.007232/0.3845, allocations: 3.783 MB / 0.6019 GB, free: 22.39 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002637/0.3872, allocations: 1.597 MB / 0.6034 GB, free: 21.38 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001713/0.3889, allocations: 0.8633 MB / 0.6043 GB, free: 21.05 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000109/0.389, allocations: 21.75 kB / 0.6043 GB, free: 21.04 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.2e-05/0.3891, allocations: 56.7 kB / 0.6043 GB, free: 20.98 MB / 430.1 MB Notification: Performance of pre-optimization done (n=99): time 2.856e-06/0.3891, allocations: 0 / 0.6043 GB, free: 20.98 MB / 430.1 MB Notification: Performance of matching and sorting (n=99): time 0.02731/0.4164, allocations: 7.745 MB / 0.6119 GB, free: 19.51 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.122e-05/0.4165, allocations: 140.9 kB / 0.612 GB, free: 19.36 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001823/0.4183, allocations: 1.028 MB / 0.613 GB, free: 18.93 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000318/0.4186, allocations: 42.86 kB / 0.6131 GB, free: 18.89 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003508/0.419, allocations: 0.4962 MB / 0.6136 GB, free: 18.49 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003922/0.4194, allocations: 362.9 kB / 0.6139 GB, free: 18.2 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001935/0.4196, allocations: 120.4 kB / 0.614 GB, free: 18.14 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.197e-05/0.4197, allocations: 357.4 kB / 0.6144 GB, free: 17.81 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001783/0.4215, allocations: 0.8277 MB / 0.6152 GB, free: 17.52 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001853/0.4233, allocations: 0.9695 MB / 0.6161 GB, free: 17.12 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02205/0.4454, allocations: 5.894 MB / 0.6219 GB, free: 14.2 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.123e-05/0.4455, allocations: 4 kB / 0.6219 GB, free: 14.2 MB / 430.1 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.01506/0.4605, allocations: 5.381 MB / 0.6271 GB, free: 8.789 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001207/0.4607, allocations: 213.5 kB / 0.6273 GB, free: 8.531 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.366e-05/0.4607, allocations: 0 / 0.6273 GB, free: 8.531 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007016/0.4677, allocations: 2.178 MB / 0.6295 GB, free: 6.348 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001263/0.469, allocations: 235.6 kB / 0.6297 GB, free: 6.117 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02253/0.4916, allocations: 9.723 MB / 0.6392 GB, free: 12.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002162/0.4938, allocations: 226.8 kB / 0.6394 GB, free: 12.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002877/0.4941, allocations: 39.98 kB / 0.6394 GB, free: 12 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/0.4941, allocations: 4 kB / 0.6394 GB, free: 12 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01646/0.5106, allocations: 5.221 MB / 0.6445 GB, free: 6.754 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.968e-05/0.5107, allocations: 0 / 0.6445 GB, free: 6.754 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007728/0.5184, allocations: 2.175 MB / 0.6467 GB, free: 4.574 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001314/0.5198, allocations: 227.7 kB / 0.6469 GB, free: 4.352 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02385/0.5436, allocations: 9.685 MB / 0.6563 GB, free: 10.52 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001929/0.5456, allocations: 207 kB / 0.6565 GB, free: 10.32 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002875/0.5459, allocations: 43.98 kB / 0.6566 GB, free: 10.27 MB / 462.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (129): * Single equations (assignments): 126 * 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.0009234/0.5468, allocations: 369.4 kB / 0.6569 GB, free: 9.898 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004766/0.5473, allocations: 126.4 kB / 0.6571 GB, free: 9.773 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0153/0.5626, allocations: 4.961 MB / 0.6619 GB, free: 4.797 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.361e-05/0.5627, allocations: 19.92 kB / 0.6619 GB, free: 4.777 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.5627, allocations: 0 / 0.6619 GB, free: 4.777 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.272e-05/0.5628, allocations: 7.969 kB / 0.6619 GB, free: 4.77 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01839/0.5812, allocations: 6.8 MB / 0.6686 GB, free: 13.84 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-05/0.5812, allocations: 0 / 0.6686 GB, free: 13.84 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009126/0.5821, allocations: 119.8 kB / 0.6687 GB, free: 13.72 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006882/0.5891, allocations: 2.053 MB / 0.6707 GB, free: 11.66 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002788/0.5894, allocations: 23.98 kB / 0.6707 GB, free: 11.64 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0201/0.6095, allocations: 8.213 MB / 0.6787 GB, free: 3.277 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.6095, allocations: 4 kB / 0.6787 GB, free: 3.273 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01769/0.6272, allocations: 5.978 MB / 0.6846 GB, free: 13.27 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000512/0.6278, allocations: 219.3 kB / 0.6848 GB, free: 13.03 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004566/0.6282, allocations: 24 kB / 0.6848 GB, free: 13.01 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001577/0.6298, allocations: 147.9 kB / 0.6849 GB, free: 12.86 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006758/0.6305, allocations: 184.7 kB / 0.6851 GB, free: 12.68 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001588/0.6307, allocations: 31.98 kB / 0.6851 GB, free: 12.65 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001217/0.6319, allocations: 0.703 MB / 0.6858 GB, free: 11.94 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6319, allocations: 0 / 0.6858 GB, free: 11.94 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002603/0.6346, allocations: 0.757 MB / 0.6866 GB, free: 11.18 MB / 494.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.firstOrder.y,aVRI.firstOrder2.y,aVRI.transferFunction.x_scaled[1],aVRI.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 1 * 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 {(26,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003501/0.6349, allocations: 139.5 kB / 0.6867 GB, free: 11.04 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01368/0.6486, allocations: 5.05 MB / 0.6916 GB, free: 5.914 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.003e-06/0.6487, allocations: 0 / 0.6916 GB, free: 5.914 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005321/0.654, allocations: 1.841 MB / 0.6934 GB, free: 4.047 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001409/0.6554, allocations: 115.5 kB / 0.6935 GB, free: 3.934 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004869/0.6603, allocations: 2.957 MB / 0.6964 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007901/0.6611, allocations: 1.141 MB / 0.6975 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004433/0.6616, allocations: 75.42 kB / 0.6976 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of SimCode: time 7.81e-07/0.6616, allocations: 7.938 kB / 0.6976 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of Templates: time 0.03269/0.6943, allocations: 22.53 MB / 0.7196 GB, free: 9.156 MB / 0.5137 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.pipe 2>&1)