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.001157/0.001157, allocations: 113.6 kB / 16.42 MB, free: 6.508 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.351/1.351, allocations: 222.9 MB / 240.1 MB, free: 4.527 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.001454/0.001454, allocations: 192.4 kB / 290.4 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.4731/0.4731, allocations: 78.53 MB / 419.1 MB, free: 3.133 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001606/0.001606, allocations: 79.88 kB / 0.5543 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3122/0.3138, allocations: 68.16 MB / 0.6209 GB, free: 9.684 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test): time 0.007792/0.3217, allocations: 6.548 MB / 0.6272 GB, free: 3.688 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004762/0.3265, allocations: 2.044 MB / 0.6292 GB, free: 1.641 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001106/0.3276, allocations: 19.94 kB / 0.6293 GB, free: 1.621 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009802/0.3286, allocations: 246 kB / 0.6295 GB, free: 1.379 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002837/0.3315, allocations: 0.8061 MB / 0.6303 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002078/0.3336, allocations: 0.6867 MB / 0.631 GB, free: 15.89 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002907/0.3365, allocations: 1.612 MB / 0.6325 GB, free: 14.27 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007404/0.3373, allocations: 340.3 kB / 0.6329 GB, free: 13.93 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001261/0.3386, allocations: 0.6536 MB / 0.6335 GB, free: 13.27 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001127/0.3397, allocations: 0.8012 MB / 0.6343 GB, free: 12.47 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002168/0.3399, allocations: 120 kB / 0.6344 GB, free: 12.35 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005345/0.3405, allocations: 255.9 kB / 0.6346 GB, free: 12.1 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002854/0.3408, allocations: 326.7 kB / 0.6349 GB, free: 11.78 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005537/0.3413, allocations: 0.668 MB / 0.6356 GB, free: 11.11 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002325/0.3437, allocations: 1.693 MB / 0.6372 GB, free: 9.414 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.553e-06/0.3437, allocations: 0 / 0.6372 GB, free: 9.414 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.3437, allocations: 0 / 0.6372 GB, free: 9.414 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.579e-05/0.3437, allocations: 4 kB / 0.6373 GB, free: 9.41 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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.0126/0.3564, allocations: 2.786 MB / 0.64 GB, free: 6.551 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.934e-05/0.3564, allocations: 8.031 kB / 0.64 GB, free: 6.543 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008144/0.3646, allocations: 0.7952 MB / 0.6408 GB, free: 5.746 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00204/0.3667, allocations: 0.9024 MB / 0.6416 GB, free: 4.789 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002371/0.3669, allocations: 226.5 kB / 0.6419 GB, free: 4.539 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001919/0.3671, allocations: 84 kB / 0.6419 GB, free: 4.457 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002361/0.3695, allocations: 1.181 MB / 0.6431 GB, free: 3.258 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.065e-05/0.3696, allocations: 0 / 0.6431 GB, free: 3.258 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001534/0.3697, allocations: 36 kB / 0.6431 GB, free: 3.223 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.562e-05/0.3698, allocations: 16 kB / 0.6431 GB, free: 3.207 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002324/0.3721, allocations: 1.093 MB / 0.6442 GB, free: 2.117 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.00656/0.3787, allocations: 3.704 MB / 0.6478 GB, free: 14.27 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002407/0.3811, allocations: 1.527 MB / 0.6493 GB, free: 12.62 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001505/0.3826, allocations: 0.79 MB / 0.6501 GB, free: 11.82 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000123/0.3827, allocations: 20.97 kB / 0.6501 GB, free: 11.8 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.018e-05/0.3828, allocations: 47.5 kB / 0.6501 GB, free: 11.75 MB / 462.1 MB Notification: Performance of pre-optimization done (n=99): time 4.829e-06/0.3828, allocations: 3.984 kB / 0.6502 GB, free: 11.74 MB / 462.1 MB Notification: Performance of matching and sorting (n=99): time 0.02315/0.406, allocations: 6.32 MB / 0.6563 GB, free: 5.379 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.69e-05/0.4061, allocations: 137.5 kB / 0.6565 GB, free: 5.215 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001575/0.4076, allocations: 1.026 MB / 0.6575 GB, free: 4.172 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001914/0.4078, allocations: 45.7 kB / 0.6575 GB, free: 4.121 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003544/0.4082, allocations: 0.5053 MB / 0.658 GB, free: 3.609 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003497/0.4086, allocations: 380.8 kB / 0.6584 GB, free: 3.234 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000451/0.409, allocations: 234.8 kB / 0.6586 GB, free: 2.996 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.4092, allocations: 357.9 kB / 0.6589 GB, free: 2.641 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001603/0.4108, allocations: 0.7595 MB / 0.6597 GB, free: 1.879 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001698/0.4125, allocations: 0.9017 MB / 0.6605 GB, free: 0.9414 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02149/0.434, allocations: 5.397 MB / 0.6658 GB, free: 11.47 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.656e-06/0.434, allocations: 4 kB / 0.6658 GB, free: 11.46 MB / 478.1 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.01389/0.4479, allocations: 4.464 MB / 0.6702 GB, free: 6.973 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.693e-05/0.448, allocations: 59.41 kB / 0.6702 GB, free: 6.902 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/0.448, allocations: 0 / 0.6702 GB, free: 6.902 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006917/0.4549, allocations: 1.873 MB / 0.6721 GB, free: 5.023 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00128/0.4562, allocations: 227.7 kB / 0.6723 GB, free: 4.801 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02247/0.4787, allocations: 9.479 MB / 0.6815 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001746/0.4805, allocations: 187.1 kB / 0.6817 GB, free: 10.99 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002272/0.4808, allocations: 51.98 kB / 0.6818 GB, free: 10.94 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: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002134/0.4829, allocations: 0.9281 MB / 0.6827 GB, free: 10.01 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001767/0.4847, allocations: 0.8901 MB / 0.6835 GB, free: 9.086 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02139/0.5061, allocations: 5.37 MB / 0.6888 GB, free: 3.633 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.801e-06/0.5061, allocations: 0 / 0.6888 GB, free: 3.633 MB / 494.1 MB Notification: Performance of matching and sorting (n=166) (initialization_lambda0): time 0.01435/0.5205, allocations: 4.441 MB / 0.6931 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.006e-05/0.5206, allocations: 67.39 kB / 0.6932 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.5206, allocations: 0 / 0.6932 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006658/0.5273, allocations: 1.866 MB / 0.695 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001234/0.5285, allocations: 223.7 kB / 0.6952 GB, free: 13 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0219/0.5504, allocations: 9.473 MB / 0.7045 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001914/0.5524, allocations: 171.2 kB / 0.7046 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002343/0.5526, allocations: 51.98 kB / 0.7047 GB, free: 3.164 MB / 0.4981 GB 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.0004652/0.5531, allocations: 265.7 kB / 0.7049 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003721/0.5535, allocations: 127.2 kB / 0.7051 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01261/0.5661, allocations: 4.067 MB / 0.709 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.774e-05/0.5662, allocations: 3.984 kB / 0.709 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.713e-06/0.5662, allocations: 4 kB / 0.709 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004874/0.5667, allocations: 228 kB / 0.7093 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004362/0.5671, allocations: 16 kB / 0.7093 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001428/0.5686, allocations: 111.8 kB / 0.7094 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001257/0.5699, allocations: 484.3 kB / 0.7098 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006728/0.5766, allocations: 2.325 MB / 0.7121 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004864/0.5815, allocations: 2.467 MB / 0.7145 GB, free: 8.984 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001371/0.5829, allocations: 0.6246 MB / 0.7151 GB, free: 8.359 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001241/0.5841, allocations: 0.703 MB / 0.7158 GB, free: 7.648 MB / 0.5137 GB Notification: Performance of Backend: time 6.31e-07/0.5842, allocations: 0 / 0.7158 GB, free: 7.648 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01188/0.596, allocations: 4.132 MB / 0.7199 GB, free: 3.434 MB / 0.5137 GB Notification: Performance of SimCode: time 0.004173/0.6002, allocations: 3.012 MB / 0.7228 GB, free: 364 kB / 0.5137 GB Notification: Performance of Templates: time 0.05585/0.6561, allocations: 36.66 MB / 0.7586 GB, free: 11.7 MB / 0.5606 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.makefile (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)