Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.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.Machines.PSAT.Order4test2_AVR,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2_AVR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2_AVR",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.01042/0.01042, allocations: 172.2 kB / 15.11 MB, free: 5.969 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.432/1.432, allocations: 223.2 MB / 239 MB, free: 1.785 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.001097/0.001097, allocations: 99.7 kB / 290.2 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.475/0.475, allocations: 78.52 MB / 419.8 MB, free: 43.98 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003701/0.0003701, allocations: 12 kB / 499.8 MB, free: 2.629 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4328/0.4332, allocations: 69.35 MB / 0.5558 GB, free: 38.73 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1361/0.5693, allocations: 98.87 MB / 0.6524 GB, free: 7.469 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002473/0.5696, allocations: 79.95 kB / 0.6524 GB, free: 7.391 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06539/0.635, allocations: 24.86 MB / 0.6767 GB, free: 14.4 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.424e-06/0.6351, allocations: 0 / 0.6767 GB, free: 14.4 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.416e-05/0.6351, allocations: 20 kB / 0.6767 GB, free: 14.38 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: 179 * Number of variables: 179 Notification: Performance of Generate backend data structure: time 0.004975/0.6401, allocations: 1.869 MB / 0.6786 GB, free: 12.46 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.6402, allocations: 12.03 kB / 0.6786 GB, free: 12.45 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002151/0.6404, allocations: 122.5 kB / 0.6787 GB, free: 12.32 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003236/0.6436, allocations: 0.5487 MB / 0.6792 GB, free: 11.77 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0015/0.6451, allocations: 0.7185 MB / 0.6799 GB, free: 11.01 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002853/0.6454, allocations: 268.2 kB / 0.6802 GB, free: 10.71 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001357/0.6456, allocations: 68 kB / 0.6802 GB, free: 10.64 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002334/0.6479, allocations: 1.168 MB / 0.6814 GB, free: 9.461 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.606e-05/0.648, allocations: 0 / 0.6814 GB, free: 9.461 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.496e-05/0.6481, allocations: 28 kB / 0.6814 GB, free: 9.434 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.893e-05/0.6481, allocations: 20 kB / 0.6814 GB, free: 9.414 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002261/0.6504, allocations: 1.117 MB / 0.6825 GB, free: 8.297 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006538/0.6569, allocations: 3.528 MB / 0.686 GB, free: 4.609 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002539/0.6595, allocations: 1.53 MB / 0.6875 GB, free: 2.961 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.718e-05/0.6596, allocations: 12.98 kB / 0.6875 GB, free: 2.949 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.514e-05/0.6596, allocations: 39.56 kB / 0.6875 GB, free: 2.902 MB / 490.7 MB Notification: Performance of pre-optimization done (n=90): time 3.807e-06/0.6596, allocations: 0 / 0.6875 GB, free: 2.902 MB / 490.7 MB Notification: Performance of matching and sorting (n=90): time 0.02736/0.687, allocations: 8.29 MB / 0.6956 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.688e-05/0.6871, allocations: 90.11 kB / 0.6957 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001063/0.6882, allocations: 0.6904 MB / 0.6964 GB, free: 9.754 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001945/0.6884, allocations: 45.7 kB / 0.6964 GB, free: 9.703 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00036/0.6888, allocations: 460.5 kB / 0.6968 GB, free: 9.246 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003455/0.6891, allocations: 319.3 kB / 0.6971 GB, free: 8.93 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.368e-05/0.6892, allocations: 16 kB / 0.6972 GB, free: 8.914 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.6893, allocations: 341.9 kB / 0.6975 GB, free: 8.574 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001454/0.6908, allocations: 0.6851 MB / 0.6982 GB, free: 7.883 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001498/0.6923, allocations: 0.793 MB / 0.6989 GB, free: 7.059 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001435/0.6938, allocations: 0.7143 MB / 0.6996 GB, free: 6.348 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.319e-06/0.6938, allocations: 0 / 0.6996 GB, free: 6.348 MB / 0.4948 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.01388/0.7077, allocations: 4.879 MB / 0.7044 GB, free: 1.449 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004046/0.7081, allocations: 0.8821 MB / 0.7053 GB, free: 0.5039 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.7081, allocations: 0 / 0.7053 GB, free: 0.5039 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006558/0.7147, allocations: 2.11 MB / 0.7073 GB, free: 14.39 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007729/0.7155, allocations: 143.8 kB / 0.7075 GB, free: 14.25 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02169/0.7372, allocations: 10 MB / 0.7172 GB, free: 4.121 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001437/0.7387, allocations: 195.1 kB / 0.7174 GB, free: 3.93 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001006/0.7388, allocations: 24 kB / 0.7174 GB, free: 3.906 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.7388, allocations: 4 kB / 0.7174 GB, free: 3.902 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01354/0.7523, allocations: 4.742 MB / 0.7221 GB, free: 15.15 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.827e-05/0.7524, allocations: 0 / 0.7221 GB, free: 15.15 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006465/0.7589, allocations: 2.109 MB / 0.7241 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007237/0.7596, allocations: 131.9 kB / 0.7243 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02194/0.7816, allocations: 9.981 MB / 0.734 GB, free: 2.793 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001423/0.7831, allocations: 183.2 kB / 0.7342 GB, free: 2.613 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.834e-05/0.7832, allocations: 31.98 kB / 0.7342 GB, free: 2.582 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * 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 12} Notification: Performance of prepare postOptimizeDAE: time 0.0005689/0.7837, allocations: 297 kB / 0.7345 GB, free: 2.281 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001962/0.7839, allocations: 106.7 kB / 0.7346 GB, free: 2.176 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01344/0.7974, allocations: 4.841 MB / 0.7393 GB, free: 13.31 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-05/0.7974, allocations: 15.98 kB / 0.7393 GB, free: 13.3 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.7975, allocations: 0 / 0.7393 GB, free: 13.3 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.068e-05/0.7975, allocations: 3.984 kB / 0.7393 GB, free: 13.29 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01569/0.8132, allocations: 6.452 MB / 0.7456 GB, free: 6.711 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.016e-05/0.8132, allocations: 4 kB / 0.7456 GB, free: 6.707 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007068/0.814, allocations: 111.9 kB / 0.7457 GB, free: 6.598 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006047/0.82, allocations: 2.054 MB / 0.7478 GB, free: 4.539 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001775/0.8202, allocations: 23.94 kB / 0.7478 GB, free: 4.516 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01816/0.8384, allocations: 8.643 MB / 0.7562 GB, free: 11.73 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.8384, allocations: 0 / 0.7562 GB, free: 11.73 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01546/0.8539, allocations: 5.836 MB / 0.7619 GB, free: 5.848 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004313/0.8544, allocations: 199.5 kB / 0.7621 GB, free: 5.633 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001581/0.8545, allocations: 16 kB / 0.7621 GB, free: 5.617 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001006/0.8555, allocations: 143.9 kB / 0.7623 GB, free: 5.477 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006249/0.8562, allocations: 208.6 kB / 0.7625 GB, free: 5.273 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.938e-05/0.8563, allocations: 20 kB / 0.7625 GB, free: 5.254 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0007409/0.857, allocations: 0.5432 MB / 0.763 GB, free: 4.699 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.61e-07/0.857, allocations: 0 / 0.763 GB, free: 4.699 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002149/0.8592, allocations: 0.6514 MB / 0.7636 GB, free: 4.047 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 7 (AVRtypeIII1.vm,AVRtypeIII1.vr,AVRtypeIII1.vf1,order4_Inputs_Outputs.delta,order4_Inputs_Outputs.w,order4_Inputs_Outputs.e1q,order4_Inputs_Outputs.e1d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * 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 {26 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.3745/1.234, allocations: 6.563 MB / 0.7701 GB, free: 146.2 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01313/1.247, allocations: 4.28 MB / 0.7742 GB, free: 145.8 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.138e-05/1.247, allocations: 1.531 kB / 0.7742 GB, free: 145.8 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.005334/1.252, allocations: 1.75 MB / 0.7759 GB, free: 145.6 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001065/1.253, allocations: 82.27 kB / 0.776 GB, free: 145.6 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005531/1.259, allocations: 4.361 MB / 0.7803 GB, free: 142.8 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006438/1.26, allocations: 1.102 MB / 0.7814 GB, free: 142.1 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0004188/1.26, allocations: 79.41 kB / 0.7814 GB, free: 142.1 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006719/1.261, allocations: 394.2 kB / 0.7818 GB, free: 142.1 MB / 0.5573 GB Notification: Performance of SimCode: time 2.675e-06/1.261, allocations: 0 / 0.7818 GB, free: 142.1 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07126/1.332, allocations: 35.07 MB / 0.8161 GB, free: 140.3 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001592/1.332, allocations: 190.9 kB / 0.8162 GB, free: 140.1 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.265/4.597, allocations: 3.938 kB / 0.8162 GB, free: 140.1 MB / 0.5573 GB (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2_AVR_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2_AVR.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe 2>&1)