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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0054/0.0054, allocations: 100.2 kB / 15.73 MB, free: 6.062 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.342/1.342, allocations: 222.9 MB / 239.4 MB, free: 4.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.001466/0.001466, allocations: 187.8 kB / 289.7 MB, free: 2.246 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.456/0.456, allocations: 78.52 MB / 418.4 MB, free: 3.074 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001516/0.001516, allocations: 75.88 kB / 0.5536 GB, free: 0.918 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3255/0.3271, allocations: 68.17 MB / 0.6202 GB, free: 9.613 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test): time 0.005686/0.3328, allocations: 6.619 MB / 0.6266 GB, free: 3.547 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003887/0.3367, allocations: 2.028 MB / 0.6286 GB, free: 1.516 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009292/0.3377, allocations: 15.94 kB / 0.6286 GB, free: 1.5 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007084/0.3384, allocations: 241.9 kB / 0.6289 GB, free: 1.262 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001715/0.3402, allocations: 0.8102 MB / 0.6297 GB, free: 460 kB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001259/0.3414, allocations: 0.6769 MB / 0.6303 GB, free: 15.78 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001562/0.343, allocations: 1.639 MB / 0.6319 GB, free: 14.14 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005089/0.3435, allocations: 348.6 kB / 0.6323 GB, free: 13.78 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008288/0.3444, allocations: 0.673 MB / 0.6329 GB, free: 13.11 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008486/0.3452, allocations: 0.8167 MB / 0.6337 GB, free: 12.29 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001579/0.3454, allocations: 128 kB / 0.6338 GB, free: 12.16 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004817/0.3459, allocations: 255.9 kB / 0.6341 GB, free: 11.91 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003089/0.3462, allocations: 330.6 kB / 0.6344 GB, free: 11.59 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005696/0.3468, allocations: 0.6719 MB / 0.635 GB, free: 10.91 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001702/0.3485, allocations: 1.707 MB / 0.6367 GB, free: 9.203 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.3485, allocations: 0 / 0.6367 GB, free: 9.203 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.3485, allocations: 0 / 0.6367 GB, free: 9.203 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.455e-05/0.3485, allocations: 0 / 0.6367 GB, free: 9.203 MB / 446.1 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.009091/0.3576, allocations: 2.758 MB / 0.6394 GB, free: 6.371 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.3577, allocations: 12.03 kB / 0.6394 GB, free: 6.359 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005186/0.3629, allocations: 0.7826 MB / 0.6402 GB, free: 5.574 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001758/0.3647, allocations: 0.8977 MB / 0.6411 GB, free: 4.621 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003019/0.365, allocations: 252.2 kB / 0.6413 GB, free: 4.34 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000182/0.3652, allocations: 87.84 kB / 0.6414 GB, free: 4.254 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002589/0.3678, allocations: 1.18 MB / 0.6425 GB, free: 3.059 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.079e-05/0.3678, allocations: 0 / 0.6425 GB, free: 3.059 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001076/0.3679, allocations: 28 kB / 0.6426 GB, free: 3.031 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.028e-05/0.368, allocations: 23.98 kB / 0.6426 GB, free: 3.008 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002355/0.3703, allocations: 1.074 MB / 0.6436 GB, free: 1.938 MB / 446.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.006405/0.3767, allocations: 3.653 MB / 0.6472 GB, free: 14.15 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002492/0.3792, allocations: 1.555 MB / 0.6487 GB, free: 12.47 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00152/0.3808, allocations: 0.7777 MB / 0.6495 GB, free: 11.69 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.631e-05/0.3809, allocations: 16.98 kB / 0.6495 GB, free: 11.67 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00176/0.3827, allocations: 0.8958 MB / 0.6504 GB, free: 10.75 MB / 462.1 MB Notification: Performance of pre-optimization done (n=102): time 2.876e-06/0.3827, allocations: 0 / 0.6504 GB, free: 10.75 MB / 462.1 MB Notification: Performance of matching and sorting (n=102): time 0.02769/0.4104, allocations: 6.953 MB / 0.6572 GB, free: 3.742 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.313e-05/0.4105, allocations: 115.8 kB / 0.6573 GB, free: 3.605 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001771/0.4123, allocations: 1.027 MB / 0.6583 GB, free: 2.562 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002526/0.4126, allocations: 45.7 kB / 0.6583 GB, free: 2.512 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003818/0.4129, allocations: 0.5046 MB / 0.6588 GB, free: 2 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004786/0.4134, allocations: 370.7 kB / 0.6592 GB, free: 1.633 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005791/0.414, allocations: 251.4 kB / 0.6594 GB, free: 1.383 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.4142, allocations: 357.9 kB / 0.6597 GB, free: 1.027 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001723/0.4159, allocations: 0.7652 MB / 0.6605 GB, free: 268 kB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001839/0.4178, allocations: 0.9077 MB / 0.6614 GB, free: 15.32 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0225/0.4403, allocations: 5.421 MB / 0.6667 GB, free: 9.816 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.195e-05/0.4403, allocations: 0 / 0.6667 GB, free: 9.816 MB / 478.1 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.01568/0.456, allocations: 4.51 MB / 0.6711 GB, free: 5.277 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.291e-05/0.4561, allocations: 59.41 kB / 0.6711 GB, free: 5.207 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.549e-05/0.4562, allocations: 4 kB / 0.6711 GB, free: 5.203 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007345/0.4635, allocations: 1.854 MB / 0.6729 GB, free: 3.344 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00142/0.465, allocations: 247.7 kB / 0.6732 GB, free: 3.102 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02391/0.4889, allocations: 9.468 MB / 0.6824 GB, free: 9.477 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00198/0.4909, allocations: 194.8 kB / 0.6826 GB, free: 9.285 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002287/0.4912, allocations: 47.98 kB / 0.6827 GB, free: 9.238 MB / 494.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: 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.0007209/0.4919, allocations: 292.2 kB / 0.6829 GB, free: 8.938 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003014/0.4922, allocations: 126.5 kB / 0.6831 GB, free: 8.812 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01422/0.5064, allocations: 4.193 MB / 0.6872 GB, free: 4.586 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.117e-05/0.5065, allocations: 12 kB / 0.6872 GB, free: 4.574 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.5065, allocations: 0 / 0.6872 GB, free: 4.574 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.608e-05/0.5066, allocations: 15.86 kB / 0.6872 GB, free: 4.559 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01697/0.5235, allocations: 5.965 MB / 0.693 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.518e-06/0.5236, allocations: 0 / 0.693 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000716/0.5243, allocations: 115.8 kB / 0.6931 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006638/0.531, allocations: 1.824 MB / 0.6949 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000163/0.5312, allocations: 23.94 kB / 0.6949 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02347/0.5546, allocations: 10.3 MB / 0.705 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/0.5547, allocations: 11.88 kB / 0.705 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01657/0.5713, allocations: 5.128 MB / 0.71 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004174/0.5717, allocations: 223.2 kB / 0.7102 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002422/0.572, allocations: 23.94 kB / 0.7102 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00135/0.5733, allocations: 108 kB / 0.7103 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006392/0.574, allocations: 220.6 kB / 0.7105 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.623e-05/0.5741, allocations: 27.98 kB / 0.7106 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001092/0.5752, allocations: 0.6993 MB / 0.7113 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5752, allocations: 0 / 0.7113 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00138/0.5766, allocations: 483.5 kB / 0.7117 GB, free: 10.94 MB / 0.5137 GB 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.0002938/0.5769, allocations: 136.4 kB / 0.7118 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007397/0.5843, allocations: 2.681 MB / 0.7145 GB, free: 8.078 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.5843, allocations: 0 / 0.7145 GB, free: 8.078 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005089/0.5894, allocations: 1.806 MB / 0.7162 GB, free: 6.234 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008347/0.5902, allocations: 106 kB / 0.7163 GB, free: 6.129 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004236/0.5945, allocations: 2.346 MB / 0.7186 GB, free: 3.75 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007345/0.5952, allocations: 1.128 MB / 0.7197 GB, free: 2.594 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004208/0.5957, allocations: 103.9 kB / 0.7198 GB, free: 2.488 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002623/0.5959, allocations: 75.42 kB / 0.7199 GB, free: 2.414 MB / 0.5137 GB Notification: Performance of SimCode: time 5.61e-07/0.5959, allocations: 4 kB / 0.7199 GB, free: 2.41 MB / 0.5137 GB Notification: Performance of Templates: time 0.04016/0.6361, allocations: 26.64 MB / 0.7459 GB, free: 7.789 MB / 0.545 GB 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)