Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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.AVRTypeI_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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_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.0008351/0.000835, allocations: 87.03 kB / 15.06 MB, free: 1.09 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.299/1.299, allocations: 223.3 MB / 239 MB, free: 5.449 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.001033/0.001033, allocations: 172.6 kB / 290.3 MB, free: 2.145 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4386/0.4386, allocations: 78.56 MB / 419.9 MB, free: 4.328 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004991/0.0004992, allocations: 15.94 kB / 499.8 MB, free: 6.398 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1393, allocations: 69.37 MB / 0.5558 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test): time 0.2285/0.3679, allocations: 6.005 MB / 0.5617 GB, free: 37.29 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003659/0.3716, allocations: 1.971 MB / 0.5636 GB, free: 37.02 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006307/0.3723, allocations: 12.19 kB / 0.5636 GB, free: 37.02 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005696/0.3729, allocations: 179 kB / 0.5638 GB, free: 36.95 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001417/0.3743, allocations: 0.6234 MB / 0.5644 GB, free: 36.68 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001207/0.3755, allocations: 0.5704 MB / 0.565 GB, free: 36.61 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001246/0.3768, allocations: 1.424 MB / 0.5663 GB, free: 36.28 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003877/0.3772, allocations: 271.1 kB / 0.5666 GB, free: 36.23 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000572/0.3777, allocations: 0.5551 MB / 0.5671 GB, free: 36.08 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006718/0.3784, allocations: 0.7083 MB / 0.5678 GB, free: 35.89 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001149/0.3785, allocations: 60.03 kB / 0.5679 GB, free: 35.89 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003915/0.3789, allocations: 180.7 kB / 0.5681 GB, free: 35.88 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002214/0.3792, allocations: 249.4 kB / 0.5683 GB, free: 35.81 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002012/0.3794, allocations: 229.1 kB / 0.5685 GB, free: 35.73 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009052/0.3803, allocations: 1.24 MB / 0.5697 GB, free: 35.53 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.3803, allocations: 0.75 kB / 0.5697 GB, free: 35.53 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3803, allocations: 0 / 0.5697 GB, free: 35.53 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.47e-05/0.3803, allocations: 0.5312 kB / 0.5697 GB, free: 35.53 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.006948/0.3873, allocations: 2.583 MB / 0.5723 GB, free: 34.59 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.3873, allocations: 10.12 kB / 0.5723 GB, free: 34.59 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004533/0.3919, allocations: 0.7908 MB / 0.573 GB, free: 34.5 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001359/0.3933, allocations: 0.8439 MB / 0.5739 GB, free: 34.13 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001786/0.3934, allocations: 231.3 kB / 0.5741 GB, free: 33.97 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001378/0.3936, allocations: 86.81 kB / 0.5742 GB, free: 33.97 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002124/0.3957, allocations: 1.24 MB / 0.5754 GB, free: 33.86 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.552e-05/0.3958, allocations: 6.531 kB / 0.5754 GB, free: 33.86 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.416e-05/0.3959, allocations: 30.23 kB / 0.5754 GB, free: 33.83 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.403e-05/0.3959, allocations: 22.33 kB / 0.5754 GB, free: 33.83 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001981/0.3979, allocations: 1.167 MB / 0.5766 GB, free: 33.46 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.005266/0.4031, allocations: 3.782 MB / 0.5803 GB, free: 31.38 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001958/0.4051, allocations: 1.588 MB / 0.5818 GB, free: 30.38 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001293/0.4064, allocations: 0.8611 MB / 0.5827 GB, free: 30.05 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001112/0.4065, allocations: 20.91 kB / 0.5827 GB, free: 30.05 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.528e-05/0.4066, allocations: 42.62 kB / 0.5827 GB, free: 30 MB / 430.1 MB Notification: Performance of pre-optimization done (n=99): time 3.066e-06/0.4066, allocations: 3.875 kB / 0.5827 GB, free: 30 MB / 430.1 MB Notification: Performance of matching and sorting (n=99): time 0.02212/0.4287, allocations: 7.719 MB / 0.5903 GB, free: 28.54 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.79e-05/0.4288, allocations: 148.3 kB / 0.5904 GB, free: 28.38 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001682/0.4305, allocations: 1.013 MB / 0.5914 GB, free: 27.96 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001986/0.4307, allocations: 42.83 kB / 0.5914 GB, free: 27.91 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003025/0.431, allocations: 0.504 MB / 0.5919 GB, free: 27.51 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003013/0.4313, allocations: 359.5 kB / 0.5923 GB, free: 27.23 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.852e-05/0.4314, allocations: 25.12 kB / 0.5923 GB, free: 27.21 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.184e-05/0.4315, allocations: 358.3 kB / 0.5926 GB, free: 26.88 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001599/0.4331, allocations: 0.8186 MB / 0.5934 GB, free: 26.59 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001667/0.4348, allocations: 0.968 MB / 0.5944 GB, free: 26.18 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001648/0.4365, allocations: 0.9364 MB / 0.5953 GB, free: 25.75 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/0.4365, allocations: 0 / 0.5953 GB, free: 25.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.01411/0.4506, allocations: 5.343 MB / 0.6005 GB, free: 24.49 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001134/0.4507, allocations: 211.7 kB / 0.6007 GB, free: 24.25 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.329e-05/0.4508, allocations: 3.109 kB / 0.6007 GB, free: 24.25 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006931/0.4577, allocations: 2.189 MB / 0.6029 GB, free: 23.89 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001251/0.459, allocations: 236.9 kB / 0.6031 GB, free: 23.86 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02103/0.48, allocations: 10.88 MB / 0.6137 GB, free: 18 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001866/0.4819, allocations: 222.2 kB / 0.6139 GB, free: 17.82 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002603/0.4822, allocations: 44.08 kB / 0.614 GB, free: 17.78 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.919e-06/0.4822, allocations: 4 kB / 0.614 GB, free: 17.77 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01275/0.495, allocations: 5.187 MB / 0.619 GB, free: 12.96 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.754e-05/0.495, allocations: 0 / 0.619 GB, free: 12.96 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005969/0.501, allocations: 2.186 MB / 0.6212 GB, free: 10.77 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0012/0.5023, allocations: 228.2 kB / 0.6214 GB, free: 10.55 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01907/0.5213, allocations: 10.86 MB / 0.632 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001682/0.5231, allocations: 215.8 kB / 0.6322 GB, free: 15.22 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002242/0.5233, allocations: 39.98 kB / 0.6322 GB, free: 15.18 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.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.0007928/0.5241, allocations: 364 kB / 0.6326 GB, free: 14.81 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003447/0.5245, allocations: 123.9 kB / 0.6327 GB, free: 14.69 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01304/0.5375, allocations: 4.961 MB / 0.6375 GB, free: 9.707 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.488e-05/0.5376, allocations: 8 kB / 0.6375 GB, free: 9.699 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.5376, allocations: 1 kB / 0.6375 GB, free: 9.699 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.384e-05/0.5376, allocations: 7.938 kB / 0.6376 GB, free: 9.691 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01587/0.5535, allocations: 6.785 MB / 0.6442 GB, free: 2.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-05/0.5536, allocations: 0.5625 kB / 0.6442 GB, free: 2.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000831/0.5544, allocations: 131.8 kB / 0.6443 GB, free: 2.641 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005836/0.5603, allocations: 2.048 MB / 0.6463 GB, free: 0.5898 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000252/0.5605, allocations: 24.94 kB / 0.6463 GB, free: 0.5664 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01777/0.5783, allocations: 8.208 MB / 0.6543 GB, free: 8.223 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.5784, allocations: 0 / 0.6543 GB, free: 8.223 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01533/0.5937, allocations: 5.97 MB / 0.6602 GB, free: 2.223 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005152/0.5943, allocations: 223.8 kB / 0.6604 GB, free: 1.984 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003766/0.5947, allocations: 20.7 kB / 0.6604 GB, free: 1.965 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00131/0.596, allocations: 147.9 kB / 0.6606 GB, free: 1.82 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006415/0.5966, allocations: 201.6 kB / 0.6607 GB, free: 1.621 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001016/0.5968, allocations: 24 kB / 0.6608 GB, free: 1.598 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001207/0.598, allocations: 0.6952 MB / 0.6614 GB, free: 0.8945 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.598, allocations: 1.969 kB / 0.6614 GB, free: 0.8945 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002626/0.6006, allocations: 0.7568 MB / 0.6622 GB, free: 140 kB / 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.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.0003261/0.6009, allocations: 140.2 kB / 0.6623 GB, free: 15.98 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01235/0.6133, allocations: 5.249 MB / 0.6674 GB, free: 10.65 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.68e-06/0.6134, allocations: 0.5625 kB / 0.6674 GB, free: 10.65 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004591/0.618, allocations: 1.832 MB / 0.6692 GB, free: 8.801 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00129/0.6193, allocations: 108.9 kB / 0.6693 GB, free: 8.691 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004567/0.6239, allocations: 2.815 MB / 0.6721 GB, free: 5.906 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007778/0.6247, allocations: 1.137 MB / 0.6732 GB, free: 4.738 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.000665/0.6253, allocations: 142.9 kB / 0.6733 GB, free: 4.598 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000278/0.6256, allocations: 67.42 kB / 0.6734 GB, free: 4.531 MB / 478.1 MB Notification: Performance of SimCode: time 1.954e-06/0.6256, allocations: 0 / 0.6734 GB, free: 4.531 MB / 478.1 MB Notification: Performance of Templates: time 0.04702/0.6727, allocations: 29.35 MB / 0.7021 GB, free: 7.297 MB / 0.4981 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.makefile Environment - environmentSimulation: (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.sim & ./OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.pipe 2>&1) Environment - environmentSimulation: