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.006968/0.006968, allocations: 171.1 kB / 15.11 MB, free: 5.973 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.175/1.175, allocations: 223.2 MB / 239 MB, free: 1.809 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008266/0.0008265, allocations: 100.2 kB / 290.2 MB, free: 13.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4008/0.4008, allocations: 78.52 MB / 419.8 MB, free: 44.14 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003261/0.0003261, allocations: 12 kB / 499.7 MB, free: 2.762 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.313/0.3134, allocations: 69.35 MB / 0.5557 GB, free: 38.71 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1153/0.4287, allocations: 100.8 MB / 0.6542 GB, free: 5.566 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002406/0.429, allocations: 91.95 kB / 0.6543 GB, free: 5.477 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07637/0.5054, allocations: 30.01 MB / 0.6836 GB, free: 7.312 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.5055, allocations: 4 kB / 0.6836 GB, free: 7.309 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.522e-05/0.5055, allocations: 27.94 kB / 0.6836 GB, free: 7.281 MB / 490.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.005277/0.5108, allocations: 2.15 MB / 0.6857 GB, free: 5.066 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.5109, allocations: 12.03 kB / 0.6857 GB, free: 5.055 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003016/0.5139, allocations: 0.5758 MB / 0.6863 GB, free: 4.477 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001582/0.5155, allocations: 0.8459 MB / 0.6871 GB, free: 3.574 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002438/0.5157, allocations: 260.2 kB / 0.6874 GB, free: 3.285 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001401/0.5159, allocations: 87.95 kB / 0.6874 GB, free: 3.199 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002223/0.5181, allocations: 1.231 MB / 0.6886 GB, free: 1.953 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/0.5181, allocations: 0 / 0.6886 GB, free: 1.953 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001008/0.5182, allocations: 36 kB / 0.6887 GB, free: 1.918 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.552e-05/0.5183, allocations: 16 kB / 0.6887 GB, free: 1.902 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002157/0.5204, allocations: 1.144 MB / 0.6898 GB, free: 0.7578 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005902/0.5263, allocations: 3.746 MB / 0.6935 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002256/0.5286, allocations: 1.603 MB / 0.695 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.798e-05/0.5287, allocations: 12.98 kB / 0.695 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001638/0.5304, allocations: 0.9544 MB / 0.696 GB, free: 10.17 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=102): time 2.174e-06/0.5304, allocations: 0 / 0.696 GB, free: 10.17 MB / 0.4948 GB Notification: Performance of matching and sorting (n=102): time 0.02683/0.5572, allocations: 8.537 MB / 0.7043 GB, free: 1.566 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.056e-05/0.5573, allocations: 115.8 kB / 0.7044 GB, free: 1.43 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001421/0.5587, allocations: 0.8885 MB / 0.7053 GB, free: 0.5273 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001002/0.5588, allocations: 45.7 kB / 0.7053 GB, free: 488 kB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004073/0.5592, allocations: 0.5051 MB / 0.7058 GB, free: 15.96 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003325/0.5596, allocations: 366.6 kB / 0.7062 GB, free: 15.6 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.215e-05/0.5597, allocations: 20 kB / 0.7062 GB, free: 15.58 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001303/0.5598, allocations: 345.9 kB / 0.7065 GB, free: 15.24 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001435/0.5613, allocations: 0.721 MB / 0.7072 GB, free: 14.52 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001499/0.5628, allocations: 0.842 MB / 0.7081 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001504/0.5643, allocations: 0.8078 MB / 0.7088 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.5643, allocations: 0 / 0.7088 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01404/0.5783, allocations: 5.094 MB / 0.7138 GB, free: 7.699 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 5.575e-05/0.5784, allocations: 63.39 kB / 0.7139 GB, free: 7.625 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.477e-06/0.5784, allocations: 3.938 kB / 0.7139 GB, free: 7.621 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007147/0.5856, allocations: 2.224 MB / 0.7161 GB, free: 5.395 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009671/0.5866, allocations: 187.8 kB / 0.7162 GB, free: 5.211 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02224/0.6088, allocations: 10.4 MB / 0.7264 GB, free: 10.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001543/0.6104, allocations: 207.1 kB / 0.7266 GB, free: 10.48 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001442/0.6105, allocations: 43.98 kB / 0.7266 GB, free: 10.44 MB / 0.5261 GB Warning: Assuming fixed start value for the following 2 variables: order6Type2_Inputs_Outputs.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real aVRI.firstOrder2.y:VARIABLE(start = aVRI.firstOrder2.y_start fixed = true ) "Connector of Real output signal" 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 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {25 14} Notification: Performance of prepare postOptimizeDAE: time 0.0005988/0.6112, allocations: 275.1 kB / 0.7269 GB, free: 10.15 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002808/0.6114, allocations: 134.3 kB / 0.727 GB, free: 10.02 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01359/0.625, allocations: 5.08 MB / 0.732 GB, free: 4.914 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.01e-05/0.6251, allocations: 12 kB / 0.732 GB, free: 4.902 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.6251, allocations: 0 / 0.732 GB, free: 4.902 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.315e-05/0.6251, allocations: 7.938 kB / 0.732 GB, free: 4.895 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01536/0.6404, allocations: 6.842 MB / 0.7387 GB, free: 13.92 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.6405, allocations: 0 / 0.7387 GB, free: 13.92 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006282/0.6411, allocations: 115.8 kB / 0.7388 GB, free: 13.8 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006066/0.6472, allocations: 2.136 MB / 0.7409 GB, free: 11.66 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001065/0.6473, allocations: 23.98 kB / 0.7409 GB, free: 11.64 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02172/0.669, allocations: 10.77 MB / 0.7514 GB, free: 0.5742 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.6691, allocations: 4 kB / 0.7514 GB, free: 0.5703 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01572/0.6848, allocations: 6.094 MB / 0.7574 GB, free: 10.44 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004167/0.6852, allocations: 227.2 kB / 0.7576 GB, free: 10.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002153/0.6855, allocations: 19.98 kB / 0.7576 GB, free: 10.18 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001294/0.6868, allocations: 151.9 kB / 0.7578 GB, free: 10.03 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006138/0.6874, allocations: 220.6 kB / 0.758 GB, free: 9.812 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.977e-05/0.6875, allocations: 28 kB / 0.758 GB, free: 9.785 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001122/0.6886, allocations: 0.6915 MB / 0.7587 GB, free: 9.086 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.6e-07/0.6886, allocations: 4 kB / 0.7587 GB, free: 9.082 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001385/0.69, allocations: 471.5 kB / 0.7591 GB, free: 8.621 MB / 0.5573 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {26 10,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002677/0.6903, allocations: 143.1 kB / 0.7593 GB, free: 8.473 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.006559/0.6969, allocations: 2.745 MB / 0.7619 GB, free: 5.691 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.6969, allocations: 0 / 0.7619 GB, free: 5.691 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.004701/0.7016, allocations: 1.968 MB / 0.7639 GB, free: 3.688 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006204/0.7022, allocations: 100.4 kB / 0.764 GB, free: 3.59 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004196/0.7064, allocations: 2.801 MB / 0.7667 GB, free: 0.7578 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.18/0.8864, allocations: 1.155 MB / 0.7678 GB, free: 145.9 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.000593/0.887, allocations: 86.36 kB / 0.7679 GB, free: 145.9 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002819/0.8873, allocations: 59.42 kB / 0.768 GB, free: 145.9 MB / 0.5573 GB Notification: Performance of SimCode: time 7.92e-07/0.8873, allocations: 0 / 0.768 GB, free: 145.9 MB / 0.5573 GB Notification: Performance of Templates: time 0.04196/0.9293, allocations: 22.56 MB / 0.79 GB, free: 145.2 MB / 0.5573 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)