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.001578/0.001578, allocations: 174.1 kB / 16.07 MB, free: 5.582 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.498/1.498, allocations: 222.9 MB / 239.7 MB, free: 10.16 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.0007361/0.0007361, allocations: 90.69 kB / 290.5 MB, free: 11 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4529/0.4529, allocations: 78.42 MB / 419.6 MB, free: 9.785 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004569/0.0004569, allocations: 12.2 kB / 499.1 MB, free: 10.65 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2795/0.28, allocations: 68.75 MB / 0.5545 GB, free: 20.21 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test): time 0.005502/0.2856, allocations: 6.879 MB / 0.5612 GB, free: 13.3 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00328/0.2889, allocations: 2.098 MB / 0.5633 GB, free: 11.2 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005744/0.2895, allocations: 15.94 kB / 0.5633 GB, free: 11.19 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005465/0.29, allocations: 194.8 kB / 0.5635 GB, free: 11 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001523/0.2916, allocations: 0.6734 MB / 0.5641 GB, free: 10.32 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001144/0.2928, allocations: 0.6411 MB / 0.5648 GB, free: 9.688 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009827/0.2937, allocations: 1.514 MB / 0.5662 GB, free: 8.168 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003453/0.2941, allocations: 303.3 kB / 0.5665 GB, free: 7.863 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004535/0.2946, allocations: 0.5598 MB / 0.5671 GB, free: 7.301 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005426/0.2951, allocations: 0.7309 MB / 0.5678 GB, free: 6.566 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001174/0.2952, allocations: 60 kB / 0.5679 GB, free: 6.508 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003516/0.2956, allocations: 183.9 kB / 0.568 GB, free: 6.328 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001716/0.2958, allocations: 262.6 kB / 0.5683 GB, free: 6.07 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003346/0.2961, allocations: 0.586 MB / 0.5689 GB, free: 5.48 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007232/0.2969, allocations: 1.243 MB / 0.5701 GB, free: 4.234 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.2969, allocations: 0 / 0.5701 GB, free: 4.234 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2969, allocations: 0 / 0.5701 GB, free: 4.234 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.316e-05/0.2969, allocations: 3.938 kB / 0.5701 GB, free: 4.23 MB / 378.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.007428/0.3043, allocations: 2.497 MB / 0.5725 GB, free: 1.668 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.3044, allocations: 8.031 kB / 0.5725 GB, free: 1.66 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004877/0.3093, allocations: 0.7788 MB / 0.5733 GB, free: 0.8789 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001599/0.3109, allocations: 0.882 MB / 0.5741 GB, free: 15.94 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002468/0.3112, allocations: 226.5 kB / 0.5744 GB, free: 15.68 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001636/0.3113, allocations: 87.91 kB / 0.5744 GB, free: 15.6 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002376/0.3137, allocations: 1.181 MB / 0.5756 GB, free: 14.4 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.449e-05/0.3138, allocations: 7.938 kB / 0.5756 GB, free: 14.39 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.755e-05/0.3139, allocations: 28 kB / 0.5756 GB, free: 14.37 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.001e-05/0.3139, allocations: 20 kB / 0.5756 GB, free: 14.35 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002342/0.3162, allocations: 1.089 MB / 0.5767 GB, free: 13.26 MB / 394.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.006869/0.3231, allocations: 3.738 MB / 0.5804 GB, free: 9.379 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002375/0.3255, allocations: 1.512 MB / 0.5818 GB, free: 7.738 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001526/0.3271, allocations: 0.7861 MB / 0.5826 GB, free: 6.945 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001215/0.3272, allocations: 12.98 kB / 0.5826 GB, free: 6.934 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.897e-05/0.3272, allocations: 51.5 kB / 0.5827 GB, free: 6.875 MB / 394.7 MB Notification: Performance of pre-optimization done (n=99): time 3.216e-06/0.3272, allocations: 0 / 0.5827 GB, free: 6.875 MB / 394.7 MB Notification: Performance of matching and sorting (n=99): time 0.02297/0.3502, allocations: 6.319 MB / 0.5888 GB, free: 0.5156 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001184/0.3504, allocations: 141.5 kB / 0.589 GB, free: 356 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002146/0.3525, allocations: 1.019 MB / 0.59 GB, free: 15.31 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000264/0.3528, allocations: 49.7 kB / 0.59 GB, free: 15.26 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004038/0.3532, allocations: 0.4968 MB / 0.5905 GB, free: 14.75 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003888/0.3536, allocations: 366.8 kB / 0.5908 GB, free: 14.39 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001787/0.3538, allocations: 113.7 kB / 0.591 GB, free: 14.27 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.354, allocations: 361.8 kB / 0.5913 GB, free: 13.91 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001637/0.3556, allocations: 0.7522 MB / 0.592 GB, free: 13.16 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001718/0.3574, allocations: 0.8979 MB / 0.5929 GB, free: 12.23 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02062/0.378, allocations: 5.408 MB / 0.5982 GB, free: 6.746 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.073e-06/0.378, allocations: 0 / 0.5982 GB, free: 6.746 MB / 410.7 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.01346/0.3915, allocations: 4.467 MB / 0.6026 GB, free: 2.25 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001431/0.3917, allocations: 209.5 kB / 0.6028 GB, free: 2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/0.3917, allocations: 4 kB / 0.6028 GB, free: 1.996 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006482/0.3982, allocations: 1.865 MB / 0.6046 GB, free: 128 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001213/0.3994, allocations: 231.6 kB / 0.6048 GB, free: 15.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01942/0.4188, allocations: 8.725 MB / 0.6133 GB, free: 7.039 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001666/0.4205, allocations: 190.8 kB / 0.6135 GB, free: 6.852 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000113/0.4207, allocations: 47.98 kB / 0.6135 GB, free: 6.805 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.895e-06/0.4207, allocations: 0 / 0.6135 GB, free: 6.805 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01302/0.4337, allocations: 4.311 MB / 0.6178 GB, free: 2.473 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.537e-05/0.4338, allocations: 3.938 kB / 0.6178 GB, free: 2.469 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006241/0.44, allocations: 1.87 MB / 0.6196 GB, free: 0.5938 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00115/0.4412, allocations: 223.6 kB / 0.6198 GB, free: 384 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01905/0.4603, allocations: 8.687 MB / 0.6283 GB, free: 7.543 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001508/0.4618, allocations: 167 kB / 0.6284 GB, free: 7.379 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001093/0.4619, allocations: 47.98 kB / 0.6285 GB, free: 7.332 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.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.0005917/0.4625, allocations: 377 kB / 0.6288 GB, free: 6.949 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002496/0.4628, allocations: 122.5 kB / 0.629 GB, free: 6.828 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01289/0.4757, allocations: 4.055 MB / 0.6329 GB, free: 2.758 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.922e-05/0.4757, allocations: 11.94 kB / 0.6329 GB, free: 2.746 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.4757, allocations: 4 kB / 0.6329 GB, free: 2.742 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.211e-05/0.4758, allocations: 3.984 kB / 0.6329 GB, free: 2.738 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01493/0.4907, allocations: 5.894 MB / 0.6387 GB, free: 12.7 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.229e-05/0.4908, allocations: 4 kB / 0.6387 GB, free: 12.7 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007774/0.4915, allocations: 115.8 kB / 0.6388 GB, free: 12.58 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005494/0.4971, allocations: 1.737 MB / 0.6405 GB, free: 10.84 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001539/0.4972, allocations: 24 kB / 0.6405 GB, free: 10.82 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01695/0.5142, allocations: 7.346 MB / 0.6477 GB, free: 3.324 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.5142, allocations: 0 / 0.6477 GB, free: 3.324 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0149/0.5291, allocations: 4.993 MB / 0.6526 GB, free: 14.3 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005027/0.5297, allocations: 223.2 kB / 0.6528 GB, free: 14.06 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002094/0.5299, allocations: 16 kB / 0.6528 GB, free: 14.05 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001162/0.5311, allocations: 111.9 kB / 0.6529 GB, free: 13.94 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006418/0.5317, allocations: 200.5 kB / 0.6531 GB, free: 13.74 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.814e-05/0.5318, allocations: 24 kB / 0.6531 GB, free: 13.72 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001078/0.5329, allocations: 0.6991 MB / 0.6538 GB, free: 13.01 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5329, allocations: 0 / 0.6538 GB, free: 13.01 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001998/0.5349, allocations: 0.7608 MB / 0.6546 GB, free: 12.25 MB / 474.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 (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.0002846/0.5352, allocations: 148.2 kB / 0.6547 GB, free: 12.09 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01203/0.5472, allocations: 4.515 MB / 0.6591 GB, free: 7.512 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.087e-06/0.5473, allocations: 0 / 0.6591 GB, free: 7.512 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004528/0.5518, allocations: 1.608 MB / 0.6607 GB, free: 5.875 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001094/0.5529, allocations: 114.1 kB / 0.6608 GB, free: 5.762 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004587/0.5575, allocations: 2.856 MB / 0.6636 GB, free: 2.867 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000736/0.5583, allocations: 1.141 MB / 0.6647 GB, free: 1.699 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003737/0.5587, allocations: 75.36 kB / 0.6648 GB, free: 1.629 MB / 474.7 MB Notification: Performance of SimCode: time 1.163e-06/0.5587, allocations: 0 / 0.6648 GB, free: 1.629 MB / 474.7 MB Notification: Performance of Templates: time 0.2526/0.8113, allocations: 22.53 MB / 0.6868 GB, free: 116 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)