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.004989/0.004989, allocations: 173.2 kB / 15.12 MB, free: 5.477 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.243/1.243, allocations: 223.2 MB / 239 MB, free: 15.84 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000802/0.0008021, allocations: 97.45 kB / 290.2 MB, free: 4.684 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4285/0.4285, allocations: 78.58 MB / 419.9 MB, free: 36.34 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003374/0.0003374, allocations: 12 kB / 499.8 MB, free: 7.227 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1557/0.1561, allocations: 69.35 MB / 0.5558 GB, free: 1.812 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test): time 0.008745/0.1649, allocations: 5.729 MB / 0.5614 GB, free: 12.05 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.005722/0.1707, allocations: 2.018 MB / 0.5633 GB, free: 10.04 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001136/0.1718, allocations: 12 kB / 0.5634 GB, free: 10.02 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009592/0.1728, allocations: 170.7 kB / 0.5635 GB, free: 9.855 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002609/0.1755, allocations: 0.6909 MB / 0.5642 GB, free: 9.164 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00215/0.1776, allocations: 0.5675 MB / 0.5648 GB, free: 8.605 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.002009/0.1797, allocations: 1.002 MB / 0.5657 GB, free: 7.602 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006805/0.1804, allocations: 265.7 kB / 0.566 GB, free: 7.332 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00122/0.1816, allocations: 0.5564 MB / 0.5665 GB, free: 6.773 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001377/0.183, allocations: 0.6807 MB / 0.5672 GB, free: 6.09 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002414/0.1833, allocations: 60 kB / 0.5672 GB, free: 6.031 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006445/0.1839, allocations: 171.8 kB / 0.5674 GB, free: 5.863 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003151/0.1842, allocations: 246.9 kB / 0.5676 GB, free: 5.621 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003176/0.1846, allocations: 236.9 kB / 0.5679 GB, free: 5.383 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001778/0.1864, allocations: 1.196 MB / 0.569 GB, free: 4.184 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.584e-06/0.1864, allocations: 0 / 0.569 GB, free: 4.184 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1864, allocations: 0 / 0.569 GB, free: 4.184 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.673e-05/0.1864, allocations: 4 kB / 0.569 GB, free: 4.18 MB / 442.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.01406/0.2005, allocations: 2.572 MB / 0.5716 GB, free: 1.539 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/0.2006, allocations: 8.031 kB / 0.5716 GB, free: 1.531 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008855/0.2094, allocations: 0.7982 MB / 0.5723 GB, free: 0.7305 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2129/0.4224, allocations: 0.835 MB / 0.5732 GB, free: 43.88 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002398/0.4226, allocations: 230.9 kB / 0.5734 GB, free: 43.72 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001707/0.4228, allocations: 86.81 kB / 0.5735 GB, free: 43.72 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002167/0.425, allocations: 1.236 MB / 0.5747 GB, free: 43.64 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.055e-05/0.425, allocations: 2.312 kB / 0.5747 GB, free: 43.64 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.893e-05/0.4251, allocations: 28.61 kB / 0.5747 GB, free: 43.64 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.389e-05/0.4251, allocations: 21.97 kB / 0.5747 GB, free: 43.64 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002057/0.4272, allocations: 1.165 MB / 0.5759 GB, free: 43.63 MB / 442.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.005535/0.4327, allocations: 3.884 MB / 0.5797 GB, free: 42.68 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002136/0.4349, allocations: 1.596 MB / 0.5812 GB, free: 42.06 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.513e-05/0.435, allocations: 18.56 kB / 0.5812 GB, free: 42.06 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.3e-05/0.435, allocations: 44.22 kB / 0.5813 GB, free: 42.02 MB / 442.7 MB Notification: Performance of pre-optimization done (n=99): time 2.394e-06/0.435, allocations: 5.531 kB / 0.5813 GB, free: 42.02 MB / 442.7 MB Notification: Performance of matching and sorting (n=99): time 0.02473/0.4598, allocations: 7.718 MB / 0.5888 GB, free: 41.46 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.101e-05/0.4599, allocations: 143.1 kB / 0.5889 GB, free: 41.31 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001519/0.4614, allocations: 1.014 MB / 0.5899 GB, free: 41.16 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001592/0.4616, allocations: 43.3 kB / 0.59 GB, free: 41.12 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003839/0.4619, allocations: 0.5011 MB / 0.5905 GB, free: 40.96 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002986/0.4622, allocations: 361.9 kB / 0.5908 GB, free: 40.73 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.419e-05/0.4623, allocations: 29.12 kB / 0.5908 GB, free: 40.73 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.181e-05/0.4624, allocations: 361.1 kB / 0.5912 GB, free: 40.42 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001587/0.464, allocations: 0.8247 MB / 0.592 GB, free: 40.13 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00162/0.4657, allocations: 0.9608 MB / 0.5929 GB, free: 39.72 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001571/0.4672, allocations: 0.9328 MB / 0.5938 GB, free: 39.3 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.648e-06/0.4672, allocations: 3.938 kB / 0.5938 GB, free: 39.29 MB / 442.7 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.01366/0.4809, allocations: 5.336 MB / 0.5991 GB, free: 38.04 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002186/0.4812, allocations: 0.934 MB / 0.6 GB, free: 37.04 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/0.4812, allocations: 0.9375 kB / 0.6 GB, free: 37.04 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006809/0.488, allocations: 2.189 MB / 0.6021 GB, free: 36.68 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001194/0.4892, allocations: 230.4 kB / 0.6023 GB, free: 36.66 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02181/0.511, allocations: 11.34 MB / 0.6134 GB, free: 31.05 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001807/0.5129, allocations: 221.9 kB / 0.6136 GB, free: 30.97 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001183/0.513, allocations: 45.39 kB / 0.6137 GB, free: 30.96 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/0.513, allocations: 3.969 kB / 0.6137 GB, free: 30.96 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01499/0.528, allocations: 5.183 MB / 0.6187 GB, free: 29.79 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.179e-05/0.5281, allocations: 6.453 kB / 0.6187 GB, free: 29.79 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007388/0.5355, allocations: 2.185 MB / 0.6209 GB, free: 29.43 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001248/0.5367, allocations: 230.5 kB / 0.6211 GB, free: 29.4 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02383/0.5606, allocations: 11.32 MB / 0.6321 GB, free: 23.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00164/0.5623, allocations: 209.4 kB / 0.6323 GB, free: 23.73 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001016/0.5624, allocations: 49.23 kB / 0.6324 GB, free: 23.72 MB / 442.7 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.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 (130): * Single equations (assignments): 126 * 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.0006742/0.5631, allocations: 356.8 kB / 0.6327 GB, free: 23.41 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002165/0.5633, allocations: 133.2 kB / 0.6329 GB, free: 23.34 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01353/0.5768, allocations: 4.956 MB / 0.6377 GB, free: 19.73 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.117e-06/0.5768, allocations: 8 kB / 0.6377 GB, free: 19.73 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.5769, allocations: 1.5 kB / 0.6377 GB, free: 19.73 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.358e-05/0.5769, allocations: 12.53 kB / 0.6377 GB, free: 19.71 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01461/0.5915, allocations: 6.837 MB / 0.6444 GB, free: 12.75 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/0.5915, allocations: 3.953 kB / 0.6444 GB, free: 12.75 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007106/0.5922, allocations: 123.9 kB / 0.6445 GB, free: 12.62 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005672/0.5979, allocations: 2.048 MB / 0.6465 GB, free: 10.57 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001217/0.598, allocations: 25.17 kB / 0.6465 GB, free: 10.55 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01714/0.6152, allocations: 8.65 MB / 0.655 GB, free: 1.762 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.6152, allocations: 0 / 0.655 GB, free: 1.762 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01602/0.6313, allocations: 5.971 MB / 0.6608 GB, free: 11.75 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004298/0.6317, allocations: 227.2 kB / 0.661 GB, free: 11.51 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001961/0.6319, allocations: 20 kB / 0.6611 GB, free: 11.49 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001243/0.6332, allocations: 147.9 kB / 0.6612 GB, free: 11.35 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005385/0.6337, allocations: 196.7 kB / 0.6614 GB, free: 11.16 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.606e-05/0.6338, allocations: 29.48 kB / 0.6614 GB, free: 11.13 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001042/0.6349, allocations: 0.6913 MB / 0.6621 GB, free: 10.43 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.6349, allocations: 0 / 0.6621 GB, free: 10.43 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002264/0.6372, allocations: 0.7569 MB / 0.6628 GB, free: 9.672 MB / 458.7 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 (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.0003026/0.6375, allocations: 135.4 kB / 0.663 GB, free: 9.535 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01353/0.651, allocations: 5.241 MB / 0.6681 GB, free: 4.211 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.807e-06/0.6511, allocations: 0 / 0.6681 GB, free: 4.211 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005076/0.6561, allocations: 1.844 MB / 0.6699 GB, free: 2.344 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008098/0.657, allocations: 103.3 kB / 0.67 GB, free: 2.246 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004535/0.6615, allocations: 2.843 MB / 0.6727 GB, free: 15.42 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007019/0.6623, allocations: 1.166 MB / 0.6739 GB, free: 14.23 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0006793/0.6629, allocations: 140.3 kB / 0.674 GB, free: 14.09 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002596/0.6632, allocations: 71.42 kB / 0.6741 GB, free: 14.02 MB / 474.7 MB Notification: Performance of SimCode: time 9.02e-07/0.6632, allocations: 0 / 0.6741 GB, free: 14.02 MB / 474.7 MB Notification: Performance of Templates: time 0.0453/0.7085, allocations: 29.32 MB / 0.7027 GB, free: 0.8203 MB / 490.7 MB 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)