Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_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.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 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.AVRTypeII_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test") translateModel(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001502/0.001502, allocations: 183.2 kB / 15.98 MB, free: 5.77 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.218/1.218, allocations: 222.9 MB / 239.7 MB, free: 11 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.001013/0.001013, allocations: 106.9 kB / 289.9 MB, free: 10.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4028/0.4028, allocations: 78.51 MB / 418.5 MB, free: 8.543 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001098/0.001098, allocations: 71.88 kB / 497.5 MB, free: 10.3 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2396/0.2407, allocations: 68.15 MB / 0.5524 GB, free: 19.91 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test): time 0.004773/0.2455, allocations: 6.957 MB / 0.5592 GB, free: 12.92 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002396/0.248, allocations: 2.067 MB / 0.5612 GB, free: 10.85 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003136/0.2483, allocations: 16 kB / 0.5612 GB, free: 10.83 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004673/0.2488, allocations: 186.8 kB / 0.5614 GB, free: 10.65 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001096/0.2499, allocations: 0.6859 MB / 0.5621 GB, free: 9.961 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008994/0.2508, allocations: 0.6187 MB / 0.5627 GB, free: 9.352 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008338/0.2516, allocations: 1.557 MB / 0.5642 GB, free: 7.789 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003185/0.252, allocations: 327.7 kB / 0.5645 GB, free: 7.461 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004397/0.2524, allocations: 0.6065 MB / 0.5651 GB, free: 6.852 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005241/0.2529, allocations: 0.7699 MB / 0.5659 GB, free: 6.078 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001146/0.2531, allocations: 72 kB / 0.5659 GB, free: 6.008 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003009/0.2534, allocations: 211.8 kB / 0.5661 GB, free: 5.801 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000163/0.2535, allocations: 274.6 kB / 0.5664 GB, free: 5.531 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000332/0.2539, allocations: 0.6289 MB / 0.567 GB, free: 4.898 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008437/0.2547, allocations: 1.619 MB / 0.5686 GB, free: 3.273 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.2547, allocations: 0 / 0.5686 GB, free: 3.273 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2547, allocations: 0 / 0.5686 GB, free: 3.273 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.073e-05/0.2548, allocations: 7.938 kB / 0.5686 GB, free: 3.266 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: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.00729/0.2621, allocations: 2.762 MB / 0.5713 GB, free: 448 kB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.946e-05/0.2621, allocations: 8.031 kB / 0.5713 GB, free: 440 kB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004276/0.2664, allocations: 0.7865 MB / 0.5721 GB, free: 15.64 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001215/0.2676, allocations: 0.8821 MB / 0.5729 GB, free: 14.7 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000226/0.2678, allocations: 260.1 kB / 0.5732 GB, free: 14.41 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001418/0.268, allocations: 87.91 kB / 0.5733 GB, free: 14.32 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002056/0.2701, allocations: 1.176 MB / 0.5744 GB, free: 13.14 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.705e-05/0.2701, allocations: 4 kB / 0.5744 GB, free: 13.13 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.742e-05/0.2702, allocations: 32 kB / 0.5745 GB, free: 13.1 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.462e-05/0.2702, allocations: 20 kB / 0.5745 GB, free: 13.08 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002064/0.2723, allocations: 1.07 MB / 0.5755 GB, free: 12.01 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.005425/0.2777, allocations: 3.688 MB / 0.5791 GB, free: 8.191 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002274/0.28, allocations: 1.551 MB / 0.5806 GB, free: 6.516 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001482/0.2815, allocations: 0.7891 MB / 0.5814 GB, free: 5.719 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001164/0.2816, allocations: 13 kB / 0.5814 GB, free: 5.707 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001663/0.2833, allocations: 0.8958 MB / 0.5823 GB, free: 4.793 MB / 394.7 MB Notification: Performance of pre-optimization done (n=102): time 2.775e-06/0.2833, allocations: 0 / 0.5823 GB, free: 4.793 MB / 394.7 MB Notification: Performance of matching and sorting (n=102): time 0.02586/0.3092, allocations: 6.96 MB / 0.5891 GB, free: 13.77 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.011e-05/0.3093, allocations: 115.8 kB / 0.5892 GB, free: 13.63 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001456/0.3107, allocations: 1.031 MB / 0.5902 GB, free: 12.59 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001846/0.3109, allocations: 41.7 kB / 0.5903 GB, free: 12.54 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003626/0.3113, allocations: 0.5007 MB / 0.5907 GB, free: 12.03 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003475/0.3116, allocations: 374.7 kB / 0.5911 GB, free: 11.66 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004486/0.3121, allocations: 251.4 kB / 0.5913 GB, free: 11.41 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001249/0.3122, allocations: 357.9 kB / 0.5917 GB, free: 11.05 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001579/0.3138, allocations: 0.7729 MB / 0.5924 GB, free: 10.28 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001644/0.3155, allocations: 0.9116 MB / 0.5933 GB, free: 9.336 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02045/0.3359, allocations: 5.412 MB / 0.5986 GB, free: 3.84 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.533e-06/0.336, allocations: 0 / 0.5986 GB, free: 3.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.01372/0.3497, allocations: 4.507 MB / 0.603 GB, free: 15.3 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.788e-05/0.3498, allocations: 59.41 kB / 0.6031 GB, free: 15.23 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/0.3498, allocations: 0 / 0.6031 GB, free: 15.23 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006623/0.3564, allocations: 1.869 MB / 0.6049 GB, free: 13.36 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001248/0.3577, allocations: 243.7 kB / 0.6051 GB, free: 13.12 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02036/0.3781, allocations: 8.73 MB / 0.6136 GB, free: 4.262 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00175/0.3799, allocations: 198.8 kB / 0.6138 GB, free: 4.066 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001812/0.3801, allocations: 43.98 kB / 0.6139 GB, free: 4.023 MB / 426.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: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (139): * Single equations (assignments): 136 * 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.000556/0.3806, allocations: 288 kB / 0.6142 GB, free: 3.727 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002427/0.3809, allocations: 134.4 kB / 0.6143 GB, free: 3.594 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01357/0.3945, allocations: 4.185 MB / 0.6184 GB, free: 15.38 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-05/0.3945, allocations: 12 kB / 0.6184 GB, free: 15.37 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.3945, allocations: 4 kB / 0.6184 GB, free: 15.37 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.777e-05/0.3946, allocations: 3.984 kB / 0.6184 GB, free: 15.36 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01543/0.41, allocations: 5.976 MB / 0.6242 GB, free: 9.25 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.506e-06/0.41, allocations: 3.938 kB / 0.6242 GB, free: 9.246 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006828/0.4107, allocations: 103.8 kB / 0.6243 GB, free: 9.145 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006078/0.4168, allocations: 1.828 MB / 0.6261 GB, free: 7.309 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001647/0.417, allocations: 23.98 kB / 0.6261 GB, free: 7.285 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01966/0.4367, allocations: 9.398 MB / 0.6353 GB, free: 13.6 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.4367, allocations: 0 / 0.6353 GB, free: 13.6 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1011/0.5378, allocations: 36.4 MB / 0.6709 GB, free: 8.668 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002866/0.5381, allocations: 227.2 kB / 0.6711 GB, free: 8.426 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002023/0.5383, allocations: 23.98 kB / 0.6711 GB, free: 8.402 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00122/0.5396, allocations: 111.9 kB / 0.6712 GB, free: 8.293 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006531/0.5402, allocations: 216.5 kB / 0.6714 GB, free: 8.082 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.387e-05/0.5403, allocations: 28 kB / 0.6714 GB, free: 8.055 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0009904/0.5413, allocations: 0.7032 MB / 0.6721 GB, free: 7.344 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.5414, allocations: 0 / 0.6721 GB, free: 7.344 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001694/0.5431, allocations: 0.6597 MB / 0.6728 GB, free: 6.684 MB / 490.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.ExcitationSystem.x_scaled[1],aVRI.derivativeBlock.x,aVRI.firstOrder2.y,aVRI.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(26,10), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000249/0.5433, allocations: 139.4 kB / 0.6729 GB, free: 6.539 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006897/0.5502, allocations: 2.649 MB / 0.6755 GB, free: 3.863 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.666e-06/0.5502, allocations: 0 / 0.6755 GB, free: 3.863 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004803/0.5551, allocations: 1.755 MB / 0.6772 GB, free: 2.066 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009109/0.556, allocations: 115.2 kB / 0.6773 GB, free: 1.957 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1986/0.7546, allocations: 4.35 MB / 0.6816 GB, free: 115.2 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007839/0.7554, allocations: 1.172 MB / 0.6827 GB, free: 114.5 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0006224/0.756, allocations: 111.1 kB / 0.6828 GB, free: 114.5 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002989/0.7563, allocations: 73.67 kB / 0.6829 GB, free: 114.5 MB / 490.7 MB Notification: Performance of SimCode: time 1.192e-06/0.7564, allocations: 0 / 0.6829 GB, free: 114.5 MB / 490.7 MB Notification: Performance of Templates: time 0.04073/0.7971, allocations: 35.1 MB / 0.7172 GB, free: 90.95 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.sim & ./OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe 2>&1)