Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test,fileNamePrefix="OpenIPSL_2_0_0_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_2_0_0_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 3.2.3+maint.om/package.mo): time 0.005583/0.005583, allocations: 169.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.34/1.34, allocations: 205.4 MB / 221.3 MB, free: 13.83 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001006/0.001006, allocations: 90.86 kB / 269.6 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.05924/0.05924, allocations: 12.2 MB / 330.1 MB, free: 10.7 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3965/0.3965, allocations: 78.53 MB / 459.6 MB, free: 4.008 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004765/0.0004765, allocations: 23 kB / 0.528 GB, free: 35.36 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.1252, allocations: 69.24 MB / 0.5956 GB, free: 4.273 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4231/0.5484, allocations: 104.3 MB / 0.6975 GB, free: 36.71 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002789/0.5487, allocations: 89.56 kB / 0.6976 GB, free: 36.71 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08905/0.6378, allocations: 35.54 MB / 0.7323 GB, free: 32.85 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.915e-06/0.6379, allocations: 0 / 0.7323 GB, free: 32.85 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001448/0.638, allocations: 31.28 kB / 0.7324 GB, free: 32.84 MB / 474.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.006363/0.6444, allocations: 2.24 MB / 0.7345 GB, free: 31.82 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.6444, allocations: 11.77 kB / 0.7345 GB, free: 31.82 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004311/0.6449, allocations: 145.9 kB / 0.7347 GB, free: 31.78 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003384/0.6483, allocations: 0.5814 MB / 0.7353 GB, free: 31.68 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002302/0.6506, allocations: 0.9061 MB / 0.7361 GB, free: 31.2 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003398/0.6509, allocations: 340.6 kB / 0.7365 GB, free: 30.92 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002632/0.6512, allocations: 94.09 kB / 0.7366 GB, free: 30.92 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002464/0.6537, allocations: 1.354 MB / 0.7379 GB, free: 30.55 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.795e-05/0.6537, allocations: 0 / 0.7379 GB, free: 30.55 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001046/0.6538, allocations: 42.61 kB / 0.7379 GB, free: 30.54 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.452e-05/0.6539, allocations: 23.25 kB / 0.7379 GB, free: 30.54 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002311/0.6562, allocations: 1.285 MB / 0.7392 GB, free: 30.33 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00624/0.6624, allocations: 4.245 MB / 0.7433 GB, free: 28.18 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00279/0.6652, allocations: 1.859 MB / 0.7452 GB, free: 27.34 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001066/0.6654, allocations: 20.45 kB / 0.7452 GB, free: 27.34 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001666/0.667, allocations: 1.031 MB / 0.7462 GB, free: 27.02 MB / 474.7 MB Notification: Performance of pre-optimization done (n=108): time 2.545e-06/0.667, allocations: 0 / 0.7462 GB, free: 27.02 MB / 474.7 MB Notification: Performance of matching and sorting (n=108): time 0.03093/0.698, allocations: 9.293 MB / 0.7553 GB, free: 23.78 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.645e-05/0.6981, allocations: 119.6 kB / 0.7554 GB, free: 23.65 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001482/0.6996, allocations: 0.8827 MB / 0.7562 GB, free: 23.38 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001908/0.6998, allocations: 40.67 kB / 0.7563 GB, free: 23.35 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003003/0.7001, allocations: 0.5444 MB / 0.7568 GB, free: 23.11 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004015/0.7005, allocations: 380.9 kB / 0.7572 GB, free: 22.83 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.722e-05/0.7006, allocations: 19.03 kB / 0.7572 GB, free: 22.83 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.931e-05/0.7007, allocations: 355.7 kB / 0.7575 GB, free: 22.51 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001442/0.7021, allocations: 0.7607 MB / 0.7583 GB, free: 22.39 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001458/0.7036, allocations: 0.901 MB / 0.7591 GB, free: 22.15 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001489/0.7051, allocations: 0.8634 MB / 0.76 GB, free: 21.99 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-06/0.7051, allocations: 0 / 0.76 GB, free: 21.99 MB / 474.7 MB Notification: Performance of matching and sorting (n=138) (initialization): time 0.01307/0.7182, allocations: 5.151 MB / 0.765 GB, free: 20.47 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.088e-05/0.7182, allocations: 63.23 kB / 0.7651 GB, free: 20.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.7183, allocations: 320 / 0.7651 GB, free: 20.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00604/0.7243, allocations: 2.157 MB / 0.7672 GB, free: 19.79 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001071/0.7254, allocations: 222.3 kB / 0.7674 GB, free: 19.74 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01928/0.7447, allocations: 10.18 MB / 0.7773 GB, free: 16.51 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001849/0.7466, allocations: 237 kB / 0.7776 GB, free: 16.29 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002388/0.7468, allocations: 38.81 kB / 0.7776 GB, free: 16.26 MB / 474.7 MB 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.0008652/0.7477, allocations: 295 kB / 0.7779 GB, free: 16.04 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003778/0.7481, allocations: 130.4 kB / 0.778 GB, free: 15.91 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01414/0.7622, allocations: 5.323 MB / 0.7832 GB, free: 11.35 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.545e-05/0.7623, allocations: 15.94 kB / 0.7832 GB, free: 11.33 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.7623, allocations: 0 / 0.7832 GB, free: 11.33 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.477e-05/0.7623, allocations: 7.969 kB / 0.7832 GB, free: 11.32 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01714/0.7795, allocations: 7.159 MB / 0.7902 GB, free: 5.27 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-05/0.7795, allocations: 0 / 0.7902 GB, free: 5.27 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008085/0.7803, allocations: 136.4 kB / 0.7904 GB, free: 5.141 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006135/0.7865, allocations: 2.215 MB / 0.7925 GB, free: 3.172 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002332/0.7868, allocations: 22.69 kB / 0.7925 GB, free: 3.164 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02328/0.8101, allocations: 11.16 MB / 0.8034 GB, free: 8.184 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.8101, allocations: 0 / 0.8034 GB, free: 8.184 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01873/0.8288, allocations: 6.442 MB / 0.8097 GB, free: 1.703 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006824/0.8296, allocations: 219.3 kB / 0.8099 GB, free: 1.469 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005249/0.8301, allocations: 20 kB / 0.81 GB, free: 1.449 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001744/0.8319, allocations: 187.8 kB / 0.8101 GB, free: 1.266 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008238/0.8327, allocations: 236.6 kB / 0.8104 GB, free: 1.031 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001585/0.8329, allocations: 28.17 kB / 0.8104 GB, free: 1.004 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001335/0.8342, allocations: 0.6967 MB / 0.8111 GB, free: 308 kB / 490.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.8342, allocations: 3.938 kB / 0.8111 GB, free: 304 kB / 490.7 MB Notification: Performance of remove unused functions: time 0.002012/0.8363, allocations: 479.4 kB / 0.8115 GB, free: 15.82 MB / 0.4949 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.01848/0.8547, allocations: 7.085 MB / 0.8184 GB, free: 8.691 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.007615/0.8624, allocations: 2.855 MB / 0.8212 GB, free: 5.801 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 9.768e-06/0.8624, allocations: 8 kB / 0.8212 GB, free: 5.793 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.005467/0.8679, allocations: 2.07 MB / 0.8233 GB, free: 3.68 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001124/0.8691, allocations: 112.6 kB / 0.8234 GB, free: 3.566 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007442/0.8765, allocations: 5.273 MB / 0.8285 GB, free: 14.21 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007767/0.8773, allocations: 1.179 MB / 0.8297 GB, free: 13 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0005098/0.8779, allocations: 99.03 kB / 0.8298 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006691/0.8785, allocations: 495.2 kB / 0.8302 GB, free: 12.41 MB / 0.5105 GB Notification: Performance of SimCode: time 6.11e-07/0.8786, allocations: 4 kB / 0.8302 GB, free: 12.41 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0595/0.9381, allocations: 33.62 MB / 0.8631 GB, free: 10.95 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001751/0.9383, allocations: 225.7 kB / 0.8633 GB, free: 10.7 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.983/3.921, allocations: 0 / 0.8633 GB, free: 10.7 MB / 0.5417 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSAT_OEL_AVRTypeII_OEL_Test_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSAT_OEL_AVRTypeII_OEL_Test.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe 2>&1)