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.0008962/0.000896, allocations: 90.36 kB / 15.36 MB, free: 0.7383 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.437/1.437, allocations: 223.3 MB / 239.4 MB, free: 5.535 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.001374/0.001374, allocations: 180.5 kB / 290.6 MB, free: 2.203 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5053/0.5053, allocations: 78.55 MB / 420.3 MB, free: 4.309 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003905/0.0003907, allocations: 8 kB / 0.4887 GB, free: 6.051 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.148, allocations: 69.36 MB / 0.5564 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test): time 0.2956/0.4437, allocations: 6.403 MB / 0.5627 GB, free: 36.8 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004448/0.4482, allocations: 2.069 MB / 0.5647 GB, free: 35.99 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001257/0.4495, allocations: 14.31 kB / 0.5647 GB, free: 35.99 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007911/0.4503, allocations: 190.3 kB / 0.5649 GB, free: 35.92 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002126/0.4525, allocations: 0.6624 MB / 0.5655 GB, free: 35.61 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001461/0.4539, allocations: 0.6412 MB / 0.5661 GB, free: 35.51 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001596/0.4555, allocations: 1.519 MB / 0.5676 GB, free: 35.17 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004339/0.456, allocations: 293.5 kB / 0.5679 GB, free: 35.13 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008031/0.4568, allocations: 0.5602 MB / 0.5685 GB, free: 34.96 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007046/0.4575, allocations: 0.7218 MB / 0.5692 GB, free: 34.75 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001272/0.4576, allocations: 60.75 kB / 0.5692 GB, free: 34.75 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004977/0.4581, allocations: 192.5 kB / 0.5694 GB, free: 34.75 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002275/0.4584, allocations: 263.1 kB / 0.5697 GB, free: 34.66 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004371/0.4588, allocations: 0.6129 MB / 0.5703 GB, free: 34.39 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001247/0.4601, allocations: 1.575 MB / 0.5718 GB, free: 34.01 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.4601, allocations: 0 / 0.5718 GB, free: 34.01 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.4601, allocations: 2.625 kB / 0.5718 GB, free: 34.01 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.002e-05/0.4601, allocations: 0 / 0.5718 GB, free: 34.01 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.008506/0.4686, allocations: 2.561 MB / 0.5743 GB, free: 33.07 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.4687, allocations: 10.81 kB / 0.5743 GB, free: 33.07 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00525/0.474, allocations: 0.7889 MB / 0.5751 GB, free: 32.98 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001631/0.4756, allocations: 0.8862 MB / 0.5759 GB, free: 32.56 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002199/0.4759, allocations: 230.8 kB / 0.5762 GB, free: 32.4 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001771/0.476, allocations: 88.3 kB / 0.5762 GB, free: 32.39 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00253/0.4786, allocations: 1.257 MB / 0.5775 GB, free: 32.29 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.003e-05/0.4786, allocations: 0 / 0.5775 GB, free: 32.29 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001046/0.4787, allocations: 32.56 kB / 0.5775 GB, free: 32.29 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.995e-05/0.4788, allocations: 21 kB / 0.5775 GB, free: 32.29 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002531/0.4813, allocations: 1.164 MB / 0.5787 GB, free: 32.27 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.006493/0.4878, allocations: 3.793 MB / 0.5824 GB, free: 30.51 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002367/0.4902, allocations: 1.59 MB / 0.5839 GB, free: 29.52 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001516/0.4917, allocations: 0.859 MB / 0.5848 GB, free: 29.19 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001025/0.4918, allocations: 23.92 kB / 0.5848 GB, free: 29.18 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.198e-05/0.4919, allocations: 48.12 kB / 0.5848 GB, free: 29.13 MB / 430.1 MB Notification: Performance of pre-optimization done (n=99): time 2.996e-06/0.4919, allocations: 0 / 0.5848 GB, free: 29.13 MB / 430.1 MB Notification: Performance of matching and sorting (n=99): time 0.02806/0.52, allocations: 7.749 MB / 0.5924 GB, free: 27.66 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.886e-05/0.5201, allocations: 148.4 kB / 0.5925 GB, free: 27.5 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002371/0.5225, allocations: 1.02 MB / 0.5935 GB, free: 27.08 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003233/0.5228, allocations: 46.27 kB / 0.5936 GB, free: 27.03 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004586/0.5233, allocations: 0.4965 MB / 0.5941 GB, free: 26.63 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006301/0.5239, allocations: 364.8 kB / 0.5944 GB, free: 26.35 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004046/0.5243, allocations: 115.7 kB / 0.5945 GB, free: 26.29 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001282/0.5245, allocations: 365.8 kB / 0.5949 GB, free: 25.95 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002192/0.5267, allocations: 0.8224 MB / 0.5957 GB, free: 25.67 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00214/0.5288, allocations: 0.973 MB / 0.5966 GB, free: 25.25 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02472/0.5536, allocations: 5.895 MB / 0.6024 GB, free: 23.54 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.748e-05/0.5537, allocations: 5.062 kB / 0.6024 GB, free: 23.54 MB / 430.1 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.0189/0.5726, allocations: 5.38 MB / 0.6076 GB, free: 22.27 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001594/0.5728, allocations: 209.7 kB / 0.6078 GB, free: 22.03 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.701e-05/0.5728, allocations: 3.094 kB / 0.6078 GB, free: 22.03 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008391/0.5812, allocations: 2.178 MB / 0.61 GB, free: 21.67 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001561/0.5828, allocations: 228.7 kB / 0.6102 GB, free: 21.65 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02213/0.605, allocations: 9.714 MB / 0.6197 GB, free: 12.78 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002095/0.6071, allocations: 226.8 kB / 0.6199 GB, free: 12.55 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002495/0.6074, allocations: 48.53 kB / 0.6199 GB, free: 12.51 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.448e-06/0.6074, allocations: 5.875 kB / 0.6199 GB, free: 12.5 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01474/0.6222, allocations: 5.217 MB / 0.625 GB, free: 7.266 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.388e-05/0.6222, allocations: 4 kB / 0.625 GB, free: 7.262 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006824/0.6291, allocations: 2.177 MB / 0.6272 GB, free: 5.082 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001265/0.6304, allocations: 219.7 kB / 0.6274 GB, free: 4.867 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02271/0.6531, allocations: 9.693 MB / 0.6368 GB, free: 11.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002684/0.6558, allocations: 207 kB / 0.637 GB, free: 10.85 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000398/0.6563, allocations: 44 kB / 0.6371 GB, free: 10.8 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.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.001245/0.6575, allocations: 373 kB / 0.6374 GB, free: 10.43 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007307/0.6583, allocations: 122.5 kB / 0.6375 GB, free: 10.31 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01561/0.6739, allocations: 4.953 MB / 0.6424 GB, free: 5.34 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.586e-05/0.674, allocations: 15.94 kB / 0.6424 GB, free: 5.324 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.674, allocations: 4 kB / 0.6424 GB, free: 5.32 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.675e-05/0.674, allocations: 7.969 kB / 0.6424 GB, free: 5.312 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01861/0.6926, allocations: 6.799 MB / 0.6491 GB, free: 14.38 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.216e-05/0.6927, allocations: 4.031 kB / 0.6491 GB, free: 14.38 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008495/0.6936, allocations: 123.8 kB / 0.6492 GB, free: 14.25 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006549/0.7001, allocations: 2.045 MB / 0.6512 GB, free: 12.21 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000213/0.7004, allocations: 31.92 kB / 0.6512 GB, free: 12.18 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0202/0.7206, allocations: 8.216 MB / 0.6592 GB, free: 3.816 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/0.7206, allocations: 0.8125 kB / 0.6592 GB, free: 3.816 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01776/0.7384, allocations: 5.977 MB / 0.6651 GB, free: 13.81 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005276/0.739, allocations: 225.1 kB / 0.6653 GB, free: 13.57 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004647/0.7394, allocations: 20 kB / 0.6653 GB, free: 13.55 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001629/0.7411, allocations: 147.9 kB / 0.6654 GB, free: 13.41 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006539/0.7418, allocations: 196.5 kB / 0.6656 GB, free: 13.21 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.016e-05/0.7419, allocations: 24 kB / 0.6656 GB, free: 13.19 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001112/0.743, allocations: 0.7069 MB / 0.6663 GB, free: 12.48 MB / 478.1 MB Notification: Performance of sort global known variables: time 5.41e-07/0.743, allocations: 4 kB / 0.6663 GB, free: 12.47 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002348/0.7453, allocations: 0.753 MB / 0.6671 GB, free: 11.72 MB / 478.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.0003002/0.7457, allocations: 136.5 kB / 0.6672 GB, free: 11.57 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01385/0.7595, allocations: 5.048 MB / 0.6721 GB, free: 6.469 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.295e-06/0.7596, allocations: 0 / 0.6721 GB, free: 6.469 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00542/0.765, allocations: 1.84 MB / 0.6739 GB, free: 4.605 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001295/0.7663, allocations: 116 kB / 0.674 GB, free: 4.492 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004649/0.771, allocations: 2.929 MB / 0.6769 GB, free: 1.582 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007305/0.7717, allocations: 1.137 MB / 0.678 GB, free: 428 kB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0006253/0.7724, allocations: 142.6 kB / 0.6782 GB, free: 288 kB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000256/0.7726, allocations: 71.42 kB / 0.6782 GB, free: 216 kB / 478.1 MB Notification: Performance of SimCode: time 4.71e-07/0.7726, allocations: 0 / 0.6782 GB, free: 216 kB / 478.1 MB Notification: Performance of Templates: time 0.04626/0.8189, allocations: 30.18 MB / 0.7077 GB, free: 2.164 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: