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.00763/0.007631, allocations: 99.11 kB / 15.73 MB, free: 6.051 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.451/1.451, allocations: 222.9 MB / 239.4 MB, free: 4.387 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.001275/0.001275, allocations: 195.9 kB / 289.7 MB, free: 2.105 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.483/0.483, allocations: 78.52 MB / 418.4 MB, free: 3.062 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001489/0.001489, allocations: 79.88 kB / 0.5536 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3781/0.3796, allocations: 68.17 MB / 0.6202 GB, free: 9.684 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test): time 0.006153/0.3858, allocations: 6.628 MB / 0.6266 GB, free: 3.555 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004396/0.3902, allocations: 2.028 MB / 0.6286 GB, free: 1.523 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005197/0.3907, allocations: 12 kB / 0.6286 GB, free: 1.512 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006603/0.3914, allocations: 241.9 kB / 0.6289 GB, free: 1.273 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001644/0.3931, allocations: 0.7635 MB / 0.6296 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001289/0.3944, allocations: 0.6732 MB / 0.6303 GB, free: 15.84 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001637/0.3961, allocations: 1.639 MB / 0.6319 GB, free: 14.2 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005038/0.3966, allocations: 340.6 kB / 0.6322 GB, free: 13.85 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008653/0.3975, allocations: 0.677 MB / 0.6329 GB, free: 13.17 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009205/0.3984, allocations: 0.8089 MB / 0.6336 GB, free: 12.36 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001701/0.3986, allocations: 124 kB / 0.6338 GB, free: 12.23 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005182/0.3991, allocations: 259.9 kB / 0.634 GB, free: 11.98 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002899/0.3994, allocations: 330.6 kB / 0.6343 GB, free: 11.66 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000611/0.4, allocations: 0.6757 MB / 0.635 GB, free: 10.98 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001885/0.4019, allocations: 1.709 MB / 0.6367 GB, free: 9.266 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.4019, allocations: 0 / 0.6367 GB, free: 9.266 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.4019, allocations: 0 / 0.6367 GB, free: 9.266 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.709e-05/0.402, allocations: 7.938 kB / 0.6367 GB, free: 9.258 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.0089/0.4109, allocations: 2.8 MB / 0.6394 GB, free: 6.383 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.4109, allocations: 12.03 kB / 0.6394 GB, free: 6.371 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004903/0.4159, allocations: 0.7874 MB / 0.6402 GB, free: 5.582 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001772/0.4176, allocations: 0.9025 MB / 0.6411 GB, free: 4.625 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000275/0.4179, allocations: 256.2 kB / 0.6413 GB, free: 4.34 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001815/0.4181, allocations: 95.89 kB / 0.6414 GB, free: 4.246 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002373/0.4205, allocations: 1.172 MB / 0.6425 GB, free: 3.059 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.886e-05/0.4205, allocations: 0 / 0.6425 GB, free: 3.059 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001035/0.4207, allocations: 32 kB / 0.6426 GB, free: 3.027 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.085e-05/0.4207, allocations: 23.98 kB / 0.6426 GB, free: 3.004 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002216/0.4229, allocations: 1.074 MB / 0.6436 GB, free: 1.934 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.006566/0.4295, allocations: 3.661 MB / 0.6472 GB, free: 14.14 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002386/0.4319, allocations: 1.559 MB / 0.6487 GB, free: 12.46 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001469/0.4334, allocations: 0.7825 MB / 0.6495 GB, free: 11.67 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.572e-05/0.4335, allocations: 16.98 kB / 0.6495 GB, free: 11.66 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001698/0.4352, allocations: 0.8997 MB / 0.6504 GB, free: 10.73 MB / 462.1 MB Notification: Performance of pre-optimization done (n=102): time 3.546e-06/0.4352, allocations: 0 / 0.6504 GB, free: 10.73 MB / 462.1 MB Notification: Performance of matching and sorting (n=102): time 0.0269/0.4621, allocations: 6.961 MB / 0.6572 GB, free: 3.715 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.286e-05/0.4622, allocations: 115.8 kB / 0.6573 GB, free: 3.578 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001952/0.4642, allocations: 1.027 MB / 0.6583 GB, free: 2.535 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000284/0.4645, allocations: 45.73 kB / 0.6584 GB, free: 2.484 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004611/0.465, allocations: 0.5131 MB / 0.6589 GB, free: 1.965 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006576/0.4656, allocations: 384.7 kB / 0.6592 GB, free: 1.586 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006481/0.4663, allocations: 247.5 kB / 0.6595 GB, free: 1.34 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001652/0.4665, allocations: 357.9 kB / 0.6598 GB, free: 0.9844 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001738/0.4682, allocations: 0.7652 MB / 0.6605 GB, free: 224 kB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001847/0.4701, allocations: 0.9155 MB / 0.6614 GB, free: 15.27 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0222/0.4923, allocations: 5.41 MB / 0.6667 GB, free: 9.777 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.427e-06/0.4924, allocations: 8 kB / 0.6667 GB, free: 9.77 MB / 478.1 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.01542/0.5078, allocations: 4.507 MB / 0.6711 GB, free: 5.234 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.42e-05/0.5079, allocations: 63.39 kB / 0.6712 GB, free: 5.16 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.728e-05/0.5079, allocations: 4 kB / 0.6712 GB, free: 5.156 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006785/0.5147, allocations: 1.865 MB / 0.673 GB, free: 3.285 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001413/0.5162, allocations: 243.7 kB / 0.6733 GB, free: 3.047 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02307/0.5393, allocations: 9.483 MB / 0.6825 GB, free: 9.41 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002097/0.5414, allocations: 191.2 kB / 0.6827 GB, free: 9.223 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002792/0.5417, allocations: 47.98 kB / 0.6827 GB, free: 9.176 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.0008669/0.5426, allocations: 291.4 kB / 0.683 GB, free: 8.879 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003825/0.543, allocations: 131.2 kB / 0.6831 GB, free: 8.75 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01378/0.5568, allocations: 4.204 MB / 0.6872 GB, free: 4.512 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.79e-05/0.5568, allocations: 12 kB / 0.6873 GB, free: 4.5 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.5568, allocations: 0 / 0.6873 GB, free: 4.5 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.329e-05/0.5569, allocations: 7.922 kB / 0.6873 GB, free: 4.492 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0163/0.5732, allocations: 5.969 MB / 0.6931 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.549e-05/0.5732, allocations: 0 / 0.6931 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008609/0.5741, allocations: 107.8 kB / 0.6932 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006243/0.5804, allocations: 1.828 MB / 0.695 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002852/0.5807, allocations: 19.98 kB / 0.695 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02333/0.604, allocations: 10.31 MB / 0.7051 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/0.6041, allocations: 3.938 kB / 0.7051 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01636/0.6205, allocations: 5.141 MB / 0.7101 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005581/0.6211, allocations: 228 kB / 0.7103 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004154/0.6215, allocations: 23.94 kB / 0.7103 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001545/0.6231, allocations: 115.9 kB / 0.7104 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00084/0.6239, allocations: 212.7 kB / 0.7107 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001549/0.6241, allocations: 24 kB / 0.7107 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00132/0.6254, allocations: 0.7073 MB / 0.7114 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6254, allocations: 4 kB / 0.7114 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001921/0.6274, allocations: 483.6 kB / 0.7118 GB, free: 10.84 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.0003748/0.6277, allocations: 140.4 kB / 0.712 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00756/0.6353, allocations: 2.694 MB / 0.7146 GB, free: 7.965 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.6354, allocations: 0 / 0.7146 GB, free: 7.965 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005108/0.6405, allocations: 1.798 MB / 0.7164 GB, free: 6.133 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001307/0.6418, allocations: 114.5 kB / 0.7165 GB, free: 6.02 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005223/0.647, allocations: 2.384 MB / 0.7188 GB, free: 3.602 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009667/0.648, allocations: 1.124 MB / 0.7199 GB, free: 2.449 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.000531/0.6486, allocations: 115.8 kB / 0.72 GB, free: 2.332 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003763/0.649, allocations: 71.42 kB / 0.7201 GB, free: 2.262 MB / 0.5137 GB Notification: Performance of SimCode: time 8.81e-07/0.649, allocations: 0 / 0.7201 GB, free: 2.262 MB / 0.5137 GB Notification: Performance of Templates: time 0.04658/0.6956, allocations: 26.65 MB / 0.7461 GB, free: 7.629 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)