Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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_release_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_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005838/0.005838, allocations: 172 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.295/1.295, allocations: 223.2 MB / 239 MB, free: 1.797 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008327/0.0008328, allocations: 100.2 kB / 290.2 MB, free: 13.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4328/0.4328, allocations: 78.58 MB / 419.9 MB, free: 44.22 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003126/0.0003126, allocations: 12 kB / 499.8 MB, free: 2.957 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3149/0.3153, allocations: 69.34 MB / 0.5558 GB, free: 38.6 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1165/0.4318, allocations: 100.5 MB / 0.6539 GB, free: 6.07 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002506/0.4321, allocations: 87.94 kB / 0.654 GB, free: 5.984 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07227/0.5044, allocations: 28.73 MB / 0.682 GB, free: 9.109 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.5044, allocations: 0 / 0.682 GB, free: 9.109 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.493e-05/0.5045, allocations: 23.98 kB / 0.682 GB, free: 9.086 MB / 490.7 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.005291/0.5098, allocations: 2.142 MB / 0.6841 GB, free: 6.879 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.5098, allocations: 8.031 kB / 0.6841 GB, free: 6.871 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003122/0.513, allocations: 0.5719 MB / 0.6847 GB, free: 6.297 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001722/0.5147, allocations: 0.8614 MB / 0.6855 GB, free: 5.379 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002097/0.5149, allocations: 238.4 kB / 0.6858 GB, free: 5.117 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001487/0.5151, allocations: 84 kB / 0.6859 GB, free: 5.035 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002345/0.5174, allocations: 1.236 MB / 0.6871 GB, free: 3.781 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.165e-05/0.5175, allocations: 0 / 0.6871 GB, free: 3.781 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001007/0.5176, allocations: 32 kB / 0.6871 GB, free: 3.75 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.578e-05/0.5176, allocations: 24 kB / 0.6871 GB, free: 3.727 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00233/0.5199, allocations: 1.156 MB / 0.6882 GB, free: 2.57 MB / 490.7 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.006706/0.5267, allocations: 3.804 MB / 0.692 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002322/0.529, allocations: 1.574 MB / 0.6935 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.286e-05/0.5291, allocations: 13 kB / 0.6935 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.088e-05/0.5292, allocations: 51.55 kB / 0.6936 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=99): time 2.715e-06/0.5292, allocations: 0 / 0.6936 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of matching and sorting (n=99): time 0.02662/0.5558, allocations: 8.14 MB / 0.7015 GB, free: 4.668 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.612e-05/0.5559, allocations: 145.5 kB / 0.7016 GB, free: 4.496 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001443/0.5574, allocations: 0.8804 MB / 0.7025 GB, free: 3.602 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001754/0.5575, allocations: 45.7 kB / 0.7025 GB, free: 3.551 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003501/0.5579, allocations: 0.5128 MB / 0.703 GB, free: 3.031 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003387/0.5582, allocations: 350.8 kB / 0.7034 GB, free: 2.684 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.299e-05/0.5583, allocations: 20 kB / 0.7034 GB, free: 2.664 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001121/0.5584, allocations: 345.9 kB / 0.7037 GB, free: 2.32 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001449/0.5599, allocations: 0.7125 MB / 0.7044 GB, free: 1.609 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001485/0.5614, allocations: 0.8242 MB / 0.7052 GB, free: 0.75 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001488/0.5629, allocations: 0.8117 MB / 0.706 GB, free: 15.93 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.5629, allocations: 0 / 0.706 GB, free: 15.93 MB / 0.5105 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.01402/0.5769, allocations: 5.043 MB / 0.711 GB, free: 10.85 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003196/0.5773, allocations: 0.9411 MB / 0.7119 GB, free: 9.836 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.926e-06/0.5773, allocations: 0 / 0.7119 GB, free: 9.836 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006944/0.5842, allocations: 2.174 MB / 0.714 GB, free: 7.66 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009431/0.5852, allocations: 171.7 kB / 0.7142 GB, free: 7.492 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02235/0.6076, allocations: 11.35 MB / 0.7252 GB, free: 11.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001554/0.6092, allocations: 199.1 kB / 0.7254 GB, free: 11.68 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.268e-05/0.6093, allocations: 32 kB / 0.7255 GB, free: 11.65 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 8.476e-06/0.6093, allocations: 4 kB / 0.7255 GB, free: 11.64 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01403/0.6233, allocations: 4.883 MB / 0.7302 GB, free: 6.738 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/0.6234, allocations: 4 kB / 0.7302 GB, free: 6.734 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006962/0.6303, allocations: 2.173 MB / 0.7324 GB, free: 4.555 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008939/0.6312, allocations: 163.7 kB / 0.7325 GB, free: 4.395 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02287/0.6541, allocations: 11.32 MB / 0.7436 GB, free: 8.805 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001621/0.6558, allocations: 191.1 kB / 0.7438 GB, free: 8.617 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000104/0.6559, allocations: 32 kB / 0.7438 GB, free: 8.586 MB / 0.5417 GB Warning: Assuming fixed start value for the following 2 variables: order6Type2_Inputs_Outputs.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order6Type2_Inputs_Outputs.e2d:VARIABLE(start = order6Type2_Inputs_Outputs.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" 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 (89): * Single equations (assignments): 85 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {24 12} Notification: Performance of prepare postOptimizeDAE: time 0.000631/0.6565, allocations: 355.6 kB / 0.7441 GB, free: 8.223 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002752/0.6568, allocations: 126.5 kB / 0.7442 GB, free: 8.098 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01401/0.6708, allocations: 4.965 MB / 0.7491 GB, free: 3.113 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-05/0.6709, allocations: 15.94 kB / 0.7491 GB, free: 3.098 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.6709, allocations: 3.984 kB / 0.7491 GB, free: 3.094 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.569e-05/0.6709, allocations: 7.938 kB / 0.7491 GB, free: 3.086 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01619/0.6871, allocations: 6.78 MB / 0.7557 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.044e-05/0.6872, allocations: 0 / 0.7557 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008669/0.688, allocations: 119.9 kB / 0.7559 GB, free: 12.05 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006078/0.6941, allocations: 2.054 MB / 0.7579 GB, free: 9.996 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001905/0.6943, allocations: 31.94 kB / 0.7579 GB, free: 9.965 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01816/0.7125, allocations: 8.659 MB / 0.7663 GB, free: 1.164 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.7126, allocations: 0 / 0.7663 GB, free: 1.164 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2534/0.966, allocations: 5.97 MB / 0.7722 GB, free: 144.6 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005075/0.9665, allocations: 220.9 kB / 0.7724 GB, free: 144.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001886/0.9667, allocations: 25.23 kB / 0.7724 GB, free: 144.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001268/0.968, allocations: 141.9 kB / 0.7725 GB, free: 144.6 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005795/0.9686, allocations: 202.6 kB / 0.7727 GB, free: 144.6 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.776e-05/0.9687, allocations: 27.56 kB / 0.7728 GB, free: 144.6 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001054/0.9697, allocations: 0.6886 MB / 0.7734 GB, free: 144.4 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9697, allocations: 1.219 kB / 0.7734 GB, free: 144.4 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001806/0.9715, allocations: 0.7215 MB / 0.7741 GB, free: 144.4 MB / 0.5573 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.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 (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 {26 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002474/0.9718, allocations: 159.1 kB / 0.7743 GB, free: 144.4 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01117/0.983, allocations: 4.847 MB / 0.779 GB, free: 143.5 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.983, allocations: 0 / 0.779 GB, free: 143.5 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.004451/0.9875, allocations: 1.836 MB / 0.7808 GB, free: 143.3 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008073/0.9883, allocations: 103 kB / 0.7809 GB, free: 143.3 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003615/0.9919, allocations: 2.832 MB / 0.7837 GB, free: 142 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005527/0.9925, allocations: 1.156 MB / 0.7848 GB, free: 141.3 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0005291/0.993, allocations: 115.4 kB / 0.7849 GB, free: 141.2 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002252/0.9933, allocations: 59.84 kB / 0.785 GB, free: 141.2 MB / 0.5573 GB Notification: Performance of SimCode: time 1.253e-06/0.9933, allocations: 0 / 0.785 GB, free: 141.2 MB / 0.5573 GB Notification: Performance of Templates: time 0.04159/1.035, allocations: 28.81 MB / 0.8131 GB, free: 139.6 MB / 0.5573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.sim & ./OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.pipe 2>&1)