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.001104/0.001105, allocations: 174.7 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.242/1.242, allocations: 221.4 MB / 234.6 MB, free: 14.45 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.0008242/0.0008242, allocations: 86.61 kB / 285.6 MB, free: 13 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4269/0.4269, allocations: 78.03 MB / 414.5 MB, free: 10.85 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.953e-05/2.955e-05, allocations: 0 / 491.9 MB, free: 13.82 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3624/0.3625, allocations: 69.34 MB / 0.548 GB, free: 20.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1443/0.5068, allocations: 98.8 MB / 0.6445 GB, free: 1.617 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002926/0.5072, allocations: 75.95 kB / 0.6446 GB, free: 1.543 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06668/0.5739, allocations: 24.77 MB / 0.6688 GB, free: 8.59 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.5739, allocations: 3.938 kB / 0.6688 GB, free: 8.586 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.956e-05/0.574, allocations: 20 kB / 0.6688 GB, free: 8.566 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.004433/0.5784, allocations: 1.679 MB / 0.6705 GB, free: 6.84 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.5784, allocations: 11.97 kB / 0.6705 GB, free: 6.828 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001783/0.5786, allocations: 126.5 kB / 0.6706 GB, free: 6.695 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003099/0.5817, allocations: 0.5448 MB / 0.6711 GB, free: 6.148 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001454/0.5832, allocations: 0.7069 MB / 0.6718 GB, free: 5.395 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002768/0.5835, allocations: 272.1 kB / 0.6721 GB, free: 5.094 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001484/0.5837, allocations: 72 kB / 0.6721 GB, free: 5.023 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001605/0.5853, allocations: 0.9227 MB / 0.673 GB, free: 4.086 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.5853, allocations: 0 / 0.673 GB, free: 4.086 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.438e-05/0.5854, allocations: 24 kB / 0.6731 GB, free: 4.062 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.392e-05/0.5854, allocations: 16 kB / 0.6731 GB, free: 4.047 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001378/0.5868, allocations: 0.8124 MB / 0.6739 GB, free: 3.234 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3393/0.9261, allocations: 3.519 MB / 0.6773 GB, free: 105 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002194/0.9284, allocations: 1.268 MB / 0.6786 GB, free: 104.4 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001077/0.9295, allocations: 0.5728 MB / 0.6791 GB, free: 104.4 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001312/0.9296, allocations: 17.69 kB / 0.6791 GB, free: 104.4 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.167e-05/0.9296, allocations: 40.33 kB / 0.6792 GB, free: 104.3 MB / 490.7 MB Notification: Performance of pre-optimization done (n=90): time 3.347e-06/0.9297, allocations: 1.969 kB / 0.6792 GB, free: 104.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=90): time 0.01419/0.9438, allocations: 4.04 MB / 0.6831 GB, free: 104.2 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.026e-05/0.944, allocations: 87.67 kB / 0.6832 GB, free: 104.1 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001397/0.9454, allocations: 0.6778 MB / 0.6839 GB, free: 104 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002443/0.9456, allocations: 46.23 kB / 0.6839 GB, free: 104 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002934/0.9459, allocations: 466.1 kB / 0.6843 GB, free: 103.8 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002962/0.9462, allocations: 317.5 kB / 0.6846 GB, free: 103.7 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.828e-05/0.9463, allocations: 18.09 kB / 0.6847 GB, free: 103.7 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.54e-05/0.9464, allocations: 339.8 kB / 0.685 GB, free: 103.4 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007888/0.9472, allocations: 444.9 kB / 0.6854 GB, free: 103.4 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007161/0.9479, allocations: 0.549 MB / 0.686 GB, free: 103.3 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007238/0.9486, allocations: 484.6 kB / 0.6864 GB, free: 103.3 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.9486, allocations: 0 / 0.6864 GB, free: 103.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.01167/0.9603, allocations: 4.203 MB / 0.6905 GB, free: 103 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002306/0.9606, allocations: 0.8783 MB / 0.6914 GB, free: 102.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/0.9606, allocations: 4 kB / 0.6914 GB, free: 102.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005383/0.966, allocations: 1.736 MB / 0.6931 GB, free: 102 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007253/0.9668, allocations: 141.7 kB / 0.6932 GB, free: 102 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01426/0.9811, allocations: 7.273 MB / 0.7003 GB, free: 98.22 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001509/0.9826, allocations: 189.9 kB / 0.7005 GB, free: 98.18 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002093/0.9829, allocations: 33.88 kB / 0.7005 GB, free: 98.17 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.367e-05/0.9829, allocations: 9.469 kB / 0.7005 GB, free: 98.17 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01167/0.9946, allocations: 4.073 MB / 0.7045 GB, free: 97.36 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.982e-05/0.9947, allocations: 3.844 kB / 0.7045 GB, free: 97.36 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005458/1, allocations: 1.745 MB / 0.7062 GB, free: 96.26 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00079/1.001, allocations: 132.3 kB / 0.7063 GB, free: 96.15 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01576/1.017, allocations: 7.278 MB / 0.7135 GB, free: 89.55 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001544/1.018, allocations: 173.3 kB / 0.7136 GB, free: 89.42 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002262/1.019, allocations: 31.84 kB / 0.7137 GB, free: 89.39 MB / 490.7 MB 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 () * 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.0003588/1.019, allocations: 147.8 kB / 0.7138 GB, free: 89.25 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003692/1.019, allocations: 110.6 kB / 0.7139 GB, free: 89.14 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01157/1.031, allocations: 4.16 MB / 0.718 GB, free: 85.9 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.427e-05/1.031, allocations: 8 kB / 0.718 GB, free: 85.89 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/1.031, allocations: 4 kB / 0.718 GB, free: 85.89 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.801e-05/1.031, allocations: 7.422 kB / 0.718 GB, free: 85.89 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01399/1.045, allocations: 5.766 MB / 0.7236 GB, free: 81.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.326e-05/1.045, allocations: 4.062 kB / 0.7236 GB, free: 81.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007046/1.046, allocations: 115 kB / 0.7237 GB, free: 81.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004851/1.051, allocations: 1.682 MB / 0.7254 GB, free: 79.87 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001955/1.051, allocations: 23.95 kB / 0.7254 GB, free: 79.84 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01158/1.062, allocations: 6.309 MB / 0.7315 GB, free: 73.51 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/1.063, allocations: 0 / 0.7315 GB, free: 73.51 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01265/1.075, allocations: 4.911 MB / 0.7363 GB, free: 68.57 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004806/1.076, allocations: 203.4 kB / 0.7365 GB, free: 68.36 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001775/1.076, allocations: 19.94 kB / 0.7366 GB, free: 68.34 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001037/1.077, allocations: 139.9 kB / 0.7367 GB, free: 68.2 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006067/1.078, allocations: 208.3 kB / 0.7369 GB, free: 68 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.486e-05/1.078, allocations: 24 kB / 0.7369 GB, free: 67.97 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006456/1.078, allocations: 0.528 MB / 0.7374 GB, free: 67.43 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.31e-07/1.078, allocations: 4 kB / 0.7374 GB, free: 67.43 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001796/1.08, allocations: 0.6495 MB / 0.7381 GB, free: 66.78 MB / 490.7 MB 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 () * 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.01291/1.093, allocations: 5.644 MB / 0.7436 GB, free: 61.1 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.009066/1.102, allocations: 3.564 MB / 0.7471 GB, free: 57.52 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.107e-05/1.102, allocations: 0 / 0.7471 GB, free: 57.52 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003911/1.106, allocations: 1.471 MB / 0.7485 GB, free: 56.04 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000742/1.107, allocations: 79.42 kB / 0.7486 GB, free: 55.96 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00352/1.11, allocations: 1.75 MB / 0.7503 GB, free: 54.2 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005611/1.111, allocations: 1.11 MB / 0.7514 GB, free: 53.05 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0006101/1.112, allocations: 131.7 kB / 0.7515 GB, free: 52.92 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004373/1.112, allocations: 387.3 kB / 0.7519 GB, free: 52.54 MB / 490.7 MB Notification: Performance of SimCode: time 1.233e-06/1.112, allocations: 0 / 0.7519 GB, free: 52.54 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05868/1.171, allocations: 37.01 MB / 0.788 GB, free: 16.01 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001669/1.171, allocations: 163.6 kB / 0.7882 GB, free: 15.79 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.001/4.172, allocations: 0 / 0.7882 GB, free: 15.79 MB / 490.7 MB (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)