Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Controls_PSAT_OEL_AVRTypeII_OEL_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Controls_PSAT_OEL_AVRTypeII_OEL_Test",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004975/0.004975, allocations: 170.8 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.279/1.279, 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.0009479/0.0009479, allocations: 88.64 kB / 290.2 MB, free: 13.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4949/0.4949, allocations: 78.59 MB / 419.9 MB, free: 44.2 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003397/0.0003397, allocations: 8 kB / 499.9 MB, free: 2.84 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.337/0.3374, allocations: 69.34 MB / 0.5559 GB, free: 38.84 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1154/0.4528, allocations: 102.7 MB / 0.6562 GB, free: 3.801 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002545/0.4531, allocations: 91.94 kB / 0.6562 GB, free: 3.711 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0992/0.5523, allocations: 36.56 MB / 0.6919 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.283e-06/0.5524, allocations: 0 / 0.6919 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001281/0.5525, allocations: 20 kB / 0.692 GB, free: 14.95 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.006977/0.5595, allocations: 2.236 MB / 0.6941 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.5596, allocations: 8.031 kB / 0.6942 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004249/0.56, allocations: 147.4 kB / 0.6943 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003567/0.5636, allocations: 0.5796 MB / 0.6949 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002298/0.5659, allocations: 0.9128 MB / 0.6958 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000378/0.5663, allocations: 335.6 kB / 0.6961 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002597/0.5665, allocations: 87.95 kB / 0.6962 GB, free: 10.47 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002862/0.5694, allocations: 1.365 MB / 0.6975 GB, free: 9.086 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.802e-05/0.5695, allocations: 0 / 0.6975 GB, free: 9.086 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001226/0.5696, allocations: 35.94 kB / 0.6975 GB, free: 9.051 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.694e-05/0.5696, allocations: 20 kB / 0.6975 GB, free: 9.031 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002788/0.5724, allocations: 1.296 MB / 0.6988 GB, free: 7.727 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007403/0.5798, allocations: 4.231 MB / 0.7029 GB, free: 3.336 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00338/0.5832, allocations: 1.868 MB / 0.7048 GB, free: 1.348 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001097/0.5833, allocations: 13 kB / 0.7048 GB, free: 1.336 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002023/0.5854, allocations: 1.033 MB / 0.7058 GB, free: 292 kB / 0.4948 GB Notification: Performance of pre-optimization done (n=108): time 3.156e-06/0.5854, allocations: 3.938 kB / 0.7058 GB, free: 288 kB / 0.4948 GB Notification: Performance of matching and sorting (n=108): time 0.03371/0.6191, allocations: 9.298 MB / 0.7149 GB, free: 6.914 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.543e-05/0.6192, allocations: 115.8 kB / 0.715 GB, free: 6.777 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001753/0.621, allocations: 0.8947 MB / 0.7159 GB, free: 5.871 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002028/0.6212, allocations: 41.7 kB / 0.7159 GB, free: 5.824 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004284/0.6216, allocations: 0.5366 MB / 0.7164 GB, free: 5.281 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004923/0.6221, allocations: 382.4 kB / 0.7168 GB, free: 4.902 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001097/0.6223, allocations: 20 kB / 0.7168 GB, free: 4.883 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.6224, allocations: 353.9 kB / 0.7171 GB, free: 4.531 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001633/0.6241, allocations: 0.76 MB / 0.7179 GB, free: 3.773 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001737/0.6258, allocations: 0.9023 MB / 0.7188 GB, free: 2.832 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001728/0.6275, allocations: 0.8556 MB / 0.7196 GB, free: 1.965 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.6276, allocations: 4 kB / 0.7196 GB, free: 1.961 MB / 0.5105 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.01457/0.6421, allocations: 5.153 MB / 0.7246 GB, free: 12.78 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 6.054e-05/0.6422, allocations: 59.41 kB / 0.7247 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/0.6422, allocations: 4 kB / 0.7247 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006694/0.6489, allocations: 2.157 MB / 0.7268 GB, free: 10.54 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00116/0.6501, allocations: 211.7 kB / 0.727 GB, free: 10.34 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02175/0.6719, allocations: 10.2 MB / 0.737 GB, free: 0 / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001968/0.6739, allocations: 231.1 kB / 0.7372 GB, free: 15.77 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000282/0.6742, allocations: 39.98 kB / 0.7372 GB, free: 15.73 MB / 0.5417 GB Warning: Assuming fixed start value for the following 3 variables: generator.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real exciter_Type_II.firstOrder2.y:VARIABLE(start = exciter_Type_II.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real generator.e1d:VARIABLE(start = generator.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,oXL.limIntegrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (101): * Single equations (assignments): 98 * 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 13} Notification: Performance of prepare postOptimizeDAE: time 0.001073/0.6753, allocations: 290.4 kB / 0.7375 GB, free: 15.43 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005314/0.6758, allocations: 134.4 kB / 0.7376 GB, free: 15.3 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01587/0.6917, allocations: 5.329 MB / 0.7428 GB, free: 9.949 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.608e-05/0.6917, allocations: 12 kB / 0.7428 GB, free: 9.938 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.6918, allocations: 4 kB / 0.7429 GB, free: 9.934 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.547e-05/0.6918, allocations: 3.984 kB / 0.7429 GB, free: 9.93 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01843/0.7102, allocations: 7.15 MB / 0.7498 GB, free: 2.648 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.154e-06/0.7103, allocations: 7.938 kB / 0.7498 GB, free: 2.641 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000749/0.711, allocations: 127.8 kB / 0.75 GB, free: 2.516 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006704/0.7178, allocations: 2.215 MB / 0.7521 GB, free: 300 kB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001363/0.7179, allocations: 27.98 kB / 0.7522 GB, free: 272 kB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02389/0.7418, allocations: 11.16 MB / 0.7631 GB, free: 4.824 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.7418, allocations: 0 / 0.7631 GB, free: 4.824 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2415/0.9833, allocations: 6.426 MB / 0.7693 GB, free: 141.1 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005681/0.9839, allocations: 228.2 kB / 0.7695 GB, free: 141 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000181/0.9841, allocations: 21.47 kB / 0.7696 GB, free: 141 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001405/0.9855, allocations: 184.9 kB / 0.7697 GB, free: 141 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007733/0.9863, allocations: 232.8 kB / 0.77 GB, free: 141 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.419e-05/0.9864, allocations: 33.86 kB / 0.77 GB, free: 141 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001169/0.9876, allocations: 0.6934 MB / 0.7707 GB, free: 140.9 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.6e-07/0.9876, allocations: 1.094 kB / 0.7707 GB, free: 140.9 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001521/0.9892, allocations: 479.1 kB / 0.7711 GB, free: 140.9 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (generator.delta,generator.w,generator.e1q,generator.e1d,exciter_Type_II.ExcitationSystem.x_scaled[1],exciter_Type_II.derivativeBlock.x,exciter_Type_II.firstOrder2.y,exciter_Type_II.simpleLagLim.state,oXL.limIntegrator.y) * 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 (67): * Single equations (assignments): 64 * 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 13,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.01698/1.006, allocations: 7.094 MB / 0.7781 GB, free: 140.1 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.006686/1.013, allocations: 2.846 MB / 0.7808 GB, free: 139.7 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/1.013, allocations: 0 / 0.7808 GB, free: 139.7 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.004751/1.018, allocations: 2.076 MB / 0.7829 GB, free: 139.3 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007999/1.018, allocations: 118.1 kB / 0.783 GB, free: 139.3 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004728/1.023, allocations: 5.273 MB / 0.7881 GB, free: 136 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004537/1.024, allocations: 1.182 MB / 0.7893 GB, free: 135.3 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0003812/1.024, allocations: 92.47 kB / 0.7894 GB, free: 135.3 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005026/1.025, allocations: 490.9 kB / 0.7898 GB, free: 135.3 MB / 0.5573 GB Notification: Performance of SimCode: time 4.41e-07/1.025, allocations: 0 / 0.7898 GB, free: 135.3 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04891/1.073, allocations: 33.64 MB / 0.8227 GB, free: 133.5 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001212/1.074, allocations: 208.4 kB / 0.8229 GB, free: 133.3 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.876/3.949, allocations: 11.19 kB / 0.8229 GB, free: 133.3 MB / 0.5573 GB (rm -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Controls_PSAT_OEL_AVRTypeII_OEL_Test_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Controls_PSAT_OEL_AVRTypeII_OEL_Test.fmu > OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe 2>&1)