Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test,fileNamePrefix="OpenIPSL_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_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.0009645/0.0009645, allocations: 174.6 kB / 12.73 MB, free: 2.59 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.24/1.24, allocations: 221.4 MB / 234.6 MB, free: 14.46 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008771/0.0008774, allocations: 90.92 kB / 285.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4481/0.4481, allocations: 78.02 MB / 414.5 MB, free: 10.86 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.836e-05/2.853e-05, allocations: 0 / 491.9 MB, free: 13.81 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3404/0.3404, allocations: 69.35 MB / 0.548 GB, free: 20.08 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1195/0.46, allocations: 102.6 MB / 0.6483 GB, free: 13.68 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002275/0.4602, allocations: 87.92 kB / 0.6484 GB, free: 13.59 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3801/0.8404, allocations: 36.45 MB / 0.684 GB, free: 105.3 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.8404, allocations: 0 / 0.684 GB, free: 105.3 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.441e-05/0.8405, allocations: 30.28 kB / 0.684 GB, free: 105.3 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: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.005534/0.846, allocations: 1.958 MB / 0.6859 GB, free: 104.5 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.246e-05/0.8461, allocations: 13.09 kB / 0.6859 GB, free: 104.5 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000357/0.8465, allocations: 147.6 kB / 0.6861 GB, free: 104.4 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003546/0.85, allocations: 0.5754 MB / 0.6866 GB, free: 104.3 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002012/0.852, allocations: 0.878 MB / 0.6875 GB, free: 104 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002935/0.8524, allocations: 338.4 kB / 0.6878 GB, free: 103.7 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001705/0.8525, allocations: 93.42 kB / 0.6879 GB, free: 103.7 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001701/0.8542, allocations: 1.093 MB / 0.689 GB, free: 103.6 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.837e-05/0.8543, allocations: 0 / 0.689 GB, free: 103.6 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001048/0.8544, allocations: 45.14 kB / 0.689 GB, free: 103.6 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.433e-05/0.8544, allocations: 23.28 kB / 0.689 GB, free: 103.6 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001512/0.8559, allocations: 0.9688 MB / 0.69 GB, free: 103.6 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006953/0.8629, allocations: 4.232 MB / 0.6941 GB, free: 102.2 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002125/0.8651, allocations: 1.551 MB / 0.6956 GB, free: 101.2 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008572/0.8659, allocations: 0.6777 MB / 0.6963 GB, free: 100.8 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001209/0.8661, allocations: 20.7 kB / 0.6963 GB, free: 100.8 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001058/0.8671, allocations: 0.7671 MB / 0.697 GB, free: 100.5 MB / 490.7 MB Notification: Performance of pre-optimization done (n=108): time 3.367e-06/0.8671, allocations: 0 / 0.697 GB, free: 100.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=108): time 0.01343/0.8806, allocations: 4.459 MB / 0.7014 GB, free: 99.51 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.374e-05/0.8807, allocations: 113.9 kB / 0.7015 GB, free: 99.39 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001853/0.8826, allocations: 0.8633 MB / 0.7023 GB, free: 99.01 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003135/0.8829, allocations: 41.52 kB / 0.7024 GB, free: 98.97 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004262/0.8834, allocations: 0.538 MB / 0.7029 GB, free: 98.54 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004438/0.8838, allocations: 386.3 kB / 0.7033 GB, free: 98.25 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001199/0.884, allocations: 19.78 kB / 0.7033 GB, free: 98.23 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.554e-05/0.8841, allocations: 348.4 kB / 0.7036 GB, free: 97.91 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001387/0.8855, allocations: 0.5105 MB / 0.7041 GB, free: 97.68 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001447/0.8869, allocations: 0.6512 MB / 0.7048 GB, free: 97.31 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001477/0.8884, allocations: 0.611 MB / 0.7054 GB, free: 96.99 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.041e-06/0.8884, allocations: 0 / 0.7054 GB, free: 96.99 MB / 490.7 MB Notification: Performance of matching and sorting (n=138) (initialization): time 0.0201/0.9085, allocations: 4.569 MB / 0.7098 GB, free: 95.38 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.931e-05/0.9086, allocations: 63.41 kB / 0.7099 GB, free: 95.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/0.9087, allocations: 4 kB / 0.7099 GB, free: 95.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00806/0.9167, allocations: 1.837 MB / 0.7117 GB, free: 93.85 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001489/0.9183, allocations: 203.7 kB / 0.7119 GB, free: 93.68 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02152/0.9398, allocations: 8.1 MB / 0.7198 GB, free: 86.39 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002302/0.9421, allocations: 240.4 kB / 0.72 GB, free: 86.19 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002702/0.9424, allocations: 39.7 kB / 0.7201 GB, free: 86.16 MB / 490.7 MB Warning: Assuming fixed start value for the following 3 variables: generator.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real exciter_Type_II.firstOrder2.y:VARIABLE(start = exciter_Type_II.firstOrder2.y_start ) "Connector of Real output signal" type: Real generator.e1d:VARIABLE(start = generator.e1d0 unit = "1" ) "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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 95 * 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 16} Notification: Performance of prepare postOptimizeDAE: time 0.0004833/0.9429, allocations: 205.5 kB / 0.7203 GB, free: 85.96 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004871/0.9434, allocations: 134.3 kB / 0.7204 GB, free: 85.82 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01512/0.9586, allocations: 4.602 MB / 0.7249 GB, free: 81.98 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.792e-05/0.9586, allocations: 12 kB / 0.7249 GB, free: 81.97 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.9586, allocations: 0 / 0.7249 GB, free: 81.97 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-05/0.9587, allocations: 11.97 kB / 0.7249 GB, free: 81.96 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01553/0.9742, allocations: 6.429 MB / 0.7312 GB, free: 75.41 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.188e-05/0.9743, allocations: 0 / 0.7312 GB, free: 75.41 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000819/0.9751, allocations: 139.8 kB / 0.7313 GB, free: 75.28 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00539/0.9805, allocations: 1.832 MB / 0.7331 GB, free: 73.44 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002727/0.9808, allocations: 31.94 kB / 0.7331 GB, free: 73.41 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0146/0.9954, allocations: 8.602 MB / 0.7415 GB, free: 64.55 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.9955, allocations: 0 / 0.7415 GB, free: 64.55 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01391/1.009, allocations: 5.466 MB / 0.7469 GB, free: 59.05 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005512/1.01, allocations: 227.1 kB / 0.7471 GB, free: 58.8 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003215/1.01, allocations: 24 kB / 0.7471 GB, free: 58.78 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001515/1.012, allocations: 187.8 kB / 0.7473 GB, free: 58.6 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006664/1.012, allocations: 232.6 kB / 0.7475 GB, free: 58.37 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001016/1.013, allocations: 28 kB / 0.7475 GB, free: 58.34 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0009123/1.014, allocations: 0.6589 MB / 0.7482 GB, free: 57.68 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/1.014, allocations: 0 / 0.7482 GB, free: 57.68 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001471/1.015, allocations: 487.4 kB / 0.7486 GB, free: 57.2 MB / 490.7 MB 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 () * 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.01368/1.029, allocations: 6.121 MB / 0.7546 GB, free: 51.03 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00535/1.034, allocations: 2.327 MB / 0.7569 GB, free: 48.67 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/1.034, allocations: 0 / 0.7569 GB, free: 48.67 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004305/1.038, allocations: 1.791 MB / 0.7586 GB, free: 46.85 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001118/1.04, allocations: 117.2 kB / 0.7588 GB, free: 46.74 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004739/1.044, allocations: 2.137 MB / 0.7608 GB, free: 44.57 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004726/1.045, allocations: 1.178 MB / 0.762 GB, free: 43.36 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0004235/1.045, allocations: 94.66 kB / 0.7621 GB, free: 43.27 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005002/1.046, allocations: 495.3 kB / 0.7626 GB, free: 42.79 MB / 490.7 MB Notification: Performance of SimCode: time 1.102e-06/1.046, allocations: 0 / 0.7626 GB, free: 42.79 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04855/1.094, allocations: 34.09 MB / 0.7958 GB, free: 9.199 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001361/1.095, allocations: 182.7 kB / 0.796 GB, free: 8.969 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.884/3.979, allocations: 0 / 0.796 GB, free: 8.969 MB / 490.7 MB (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Controls_PSAT_OEL_AVRTypeII_OEL_Test_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Controls_PSAT_OEL_AVRTypeII_OEL_Test.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe 2>&1)