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.001507/0.001507, allocations: 110 kB / 16.41 MB, free: 6.5 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.468/1.468, allocations: 222.9 MB / 240.1 MB, free: 4.543 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.00164/0.00164, allocations: 196.4 kB / 290.4 MB, free: 2.27 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5038/0.5038, allocations: 78.53 MB / 419.1 MB, free: 3.141 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001779/0.001779, allocations: 79.88 kB / 0.5543 GB, free: 1.035 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4023/0.404, allocations: 68.16 MB / 0.6208 GB, free: 9.699 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test): time 0.006999/0.4111, allocations: 6.627 MB / 0.6273 GB, free: 3.617 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004396/0.4155, allocations: 2.028 MB / 0.6293 GB, free: 1.586 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007245/0.4163, allocations: 8 kB / 0.6293 GB, free: 1.578 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007205/0.417, allocations: 245.9 kB / 0.6295 GB, free: 1.336 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001731/0.4188, allocations: 0.7609 MB / 0.6303 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00132/0.4201, allocations: 0.6708 MB / 0.6309 GB, free: 15.91 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001739/0.4219, allocations: 1.643 MB / 0.6325 GB, free: 14.26 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000519/0.4224, allocations: 344.7 kB / 0.6329 GB, free: 13.91 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008454/0.4233, allocations: 0.6691 MB / 0.6335 GB, free: 13.23 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008986/0.4242, allocations: 0.8167 MB / 0.6343 GB, free: 12.41 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001768/0.4244, allocations: 124 kB / 0.6344 GB, free: 12.29 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005417/0.4249, allocations: 259.9 kB / 0.6347 GB, free: 12.04 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002792/0.4252, allocations: 326.6 kB / 0.635 GB, free: 11.72 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005656/0.4258, allocations: 0.6757 MB / 0.6357 GB, free: 11.04 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001721/0.4275, allocations: 1.707 MB / 0.6373 GB, free: 9.332 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.4275, allocations: 4 kB / 0.6373 GB, free: 9.328 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.4275, allocations: 0 / 0.6373 GB, free: 9.328 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.892e-05/0.4276, allocations: 3.938 kB / 0.6373 GB, free: 9.324 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.009023/0.4366, allocations: 2.758 MB / 0.64 GB, free: 6.492 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.4366, allocations: 8.031 kB / 0.64 GB, free: 6.484 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00513/0.4418, allocations: 0.7787 MB / 0.6408 GB, free: 5.703 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001627/0.4434, allocations: 0.8938 MB / 0.6417 GB, free: 4.754 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002886/0.4437, allocations: 260.1 kB / 0.6419 GB, free: 4.465 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001689/0.4439, allocations: 87.91 kB / 0.642 GB, free: 4.379 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002467/0.4464, allocations: 1.176 MB / 0.6431 GB, free: 3.188 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.818e-05/0.4464, allocations: 0 / 0.6431 GB, free: 3.188 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001129/0.4465, allocations: 36 kB / 0.6432 GB, free: 3.152 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.884e-05/0.4466, allocations: 23.98 kB / 0.6432 GB, free: 3.129 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00234/0.4489, allocations: 1.074 MB / 0.6442 GB, free: 2.059 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.006503/0.4554, allocations: 3.657 MB / 0.6478 GB, free: 14.27 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002552/0.458, allocations: 1.544 MB / 0.6493 GB, free: 12.6 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001591/0.4596, allocations: 0.7893 MB / 0.6501 GB, free: 11.81 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.405e-05/0.4597, allocations: 13 kB / 0.6501 GB, free: 11.8 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001808/0.4615, allocations: 0.8958 MB / 0.651 GB, free: 10.88 MB / 462.1 MB Notification: Performance of pre-optimization done (n=102): time 2.876e-06/0.4615, allocations: 0 / 0.651 GB, free: 10.88 MB / 462.1 MB Notification: Performance of matching and sorting (n=102): time 0.02839/0.4899, allocations: 6.953 MB / 0.6578 GB, free: 3.867 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.757e-05/0.4901, allocations: 111.8 kB / 0.6579 GB, free: 3.734 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001956/0.492, allocations: 1.035 MB / 0.6589 GB, free: 2.684 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002973/0.4923, allocations: 45.7 kB / 0.6589 GB, free: 2.633 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004694/0.4928, allocations: 0.5046 MB / 0.6594 GB, free: 2.121 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000581/0.4934, allocations: 370.7 kB / 0.6598 GB, free: 1.754 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006625/0.4941, allocations: 247.4 kB / 0.66 GB, free: 1.508 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.4942, allocations: 357.9 kB / 0.6604 GB, free: 1.152 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001796/0.496, allocations: 0.7613 MB / 0.6611 GB, free: 400 kB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001924/0.498, allocations: 0.9116 MB / 0.662 GB, free: 15.45 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02266/0.5207, allocations: 5.421 MB / 0.6673 GB, free: 9.941 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.004e-05/0.5207, allocations: 0 / 0.6673 GB, free: 9.941 MB / 478.1 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.01621/0.5369, allocations: 4.503 MB / 0.6717 GB, free: 5.41 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001565/0.5371, allocations: 59.41 kB / 0.6717 GB, free: 5.34 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.642e-05/0.5371, allocations: 8 kB / 0.6717 GB, free: 5.332 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0077/0.5448, allocations: 1.861 MB / 0.6736 GB, free: 3.465 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001489/0.5464, allocations: 243.7 kB / 0.6738 GB, free: 3.227 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03528/0.5817, allocations: 9.469 MB / 0.683 GB, free: 9.602 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002817/0.5845, allocations: 190.8 kB / 0.6832 GB, free: 9.414 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002397/0.5848, allocations: 55.98 kB / 0.6833 GB, free: 9.359 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.0009182/0.5857, allocations: 293.6 kB / 0.6836 GB, free: 9.059 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000415/0.5861, allocations: 122.5 kB / 0.6837 GB, free: 8.938 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02046/0.6066, allocations: 4.193 MB / 0.6878 GB, free: 4.711 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.914e-05/0.6067, allocations: 12 kB / 0.6878 GB, free: 4.699 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.6067, allocations: 3.938 kB / 0.6878 GB, free: 4.695 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.318e-05/0.6067, allocations: 11.91 kB / 0.6878 GB, free: 4.684 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01802/0.6248, allocations: 5.965 MB / 0.6936 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-05/0.6248, allocations: 7.984 kB / 0.6936 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008204/0.6257, allocations: 107.8 kB / 0.6937 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006746/0.6324, allocations: 1.828 MB / 0.6955 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002804/0.6328, allocations: 16 kB / 0.6955 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02504/0.6578, allocations: 10.3 MB / 0.7056 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.155e-06/0.6579, allocations: 7.922 kB / 0.7056 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01737/0.6752, allocations: 5.125 MB / 0.7106 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005495/0.6758, allocations: 227.2 kB / 0.7108 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004243/0.6763, allocations: 19.94 kB / 0.7108 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001551/0.6778, allocations: 115.9 kB / 0.711 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007816/0.6786, allocations: 216.7 kB / 0.7112 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001521/0.6788, allocations: 20 kB / 0.7112 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001374/0.6802, allocations: 0.7073 MB / 0.7119 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.9e-07/0.6802, allocations: 0 / 0.7119 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001878/0.6821, allocations: 487.5 kB / 0.7123 GB, free: 11.06 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.0003776/0.6825, allocations: 132.4 kB / 0.7125 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007852/0.6903, allocations: 2.686 MB / 0.7151 GB, free: 8.199 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.6904, allocations: 0 / 0.7151 GB, free: 8.199 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00549/0.6959, allocations: 1.791 MB / 0.7168 GB, free: 6.371 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001341/0.6972, allocations: 117.7 kB / 0.7169 GB, free: 6.254 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005113/0.7024, allocations: 2.375 MB / 0.7193 GB, free: 3.844 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009233/0.7033, allocations: 1.128 MB / 0.7204 GB, free: 2.688 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004125/0.7037, allocations: 79.36 kB / 0.7204 GB, free: 2.609 MB / 0.5137 GB Notification: Performance of SimCode: time 6.82e-07/0.7037, allocations: 4 kB / 0.7204 GB, free: 2.605 MB / 0.5137 GB Notification: Performance of Templates: time 0.03619/0.7399, allocations: 24.23 MB / 0.7441 GB, free: 10.36 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)