Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_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.Order3test2_AVR,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2_AVR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2_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.001103/0.001103, 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.289/1.289, allocations: 221.4 MB / 234.6 MB, free: 14.44 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.0008223/0.0008224, allocations: 88.59 kB / 285.6 MB, free: 12.97 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4453/0.4453, allocations: 78.03 MB / 414.5 MB, free: 10.82 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.982e-05/2.984e-05, allocations: 11.92 kB / 491.9 MB, free: 13.78 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3183/0.3183, allocations: 69.34 MB / 0.5481 GB, free: 20.1 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1271/0.4455, allocations: 98.52 MB / 0.6443 GB, free: 1.859 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001885/0.4458, allocations: 83.95 kB / 0.6443 GB, free: 1.777 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06373/0.5095, allocations: 24.69 MB / 0.6685 GB, free: 8.91 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.434e-06/0.5095, allocations: 4 kB / 0.6685 GB, free: 8.906 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.078e-05/0.5096, allocations: 19.94 kB / 0.6685 GB, free: 8.887 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: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.004317/0.5139, allocations: 1.679 MB / 0.6701 GB, free: 7.16 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/0.5139, allocations: 11.97 kB / 0.6701 GB, free: 7.148 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002125/0.5142, allocations: 122.5 kB / 0.6702 GB, free: 7.02 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003134/0.5173, allocations: 0.5448 MB / 0.6708 GB, free: 6.473 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001514/0.5188, allocations: 0.7069 MB / 0.6715 GB, free: 5.719 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002883/0.5191, allocations: 268.1 kB / 0.6717 GB, free: 5.422 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000151/0.5193, allocations: 75.98 kB / 0.6718 GB, free: 5.348 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001582/0.5209, allocations: 0.9033 MB / 0.6727 GB, free: 4.43 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.619e-05/0.5209, allocations: 4 kB / 0.6727 GB, free: 4.426 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.701e-05/0.521, allocations: 28 kB / 0.6727 GB, free: 4.398 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.646e-05/0.521, allocations: 19.94 kB / 0.6727 GB, free: 4.379 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00143/0.5225, allocations: 0.8124 MB / 0.6735 GB, free: 3.566 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3194/0.8419, allocations: 3.564 MB / 0.677 GB, free: 105.4 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002318/0.8443, allocations: 1.263 MB / 0.6782 GB, free: 104.8 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009808/0.8453, allocations: 0.5736 MB / 0.6788 GB, free: 104.8 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000114/0.8454, allocations: 15.47 kB / 0.6788 GB, free: 104.8 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.594e-05/0.8455, allocations: 41.8 kB / 0.6788 GB, free: 104.8 MB / 490.7 MB Notification: Performance of pre-optimization done (n=89): time 2.885e-06/0.8455, allocations: 0 / 0.6788 GB, free: 104.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=89): time 0.01508/0.8605, allocations: 4.025 MB / 0.6828 GB, free: 104.7 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.971e-05/0.8606, allocations: 86.48 kB / 0.6829 GB, free: 104.6 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001589/0.8622, allocations: 0.6898 MB / 0.6835 GB, free: 104.4 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002453/0.8625, allocations: 43.86 kB / 0.6836 GB, free: 104.4 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003734/0.8629, allocations: 468.6 kB / 0.684 GB, free: 104.3 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003452/0.8632, allocations: 318.8 kB / 0.6843 GB, free: 104.1 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.672e-05/0.8633, allocations: 18.22 kB / 0.6843 GB, free: 104.1 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.317e-05/0.8634, allocations: 339.6 kB / 0.6847 GB, free: 103.8 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009118/0.8643, allocations: 442.2 kB / 0.6851 GB, free: 103.8 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008927/0.8652, allocations: 0.5463 MB / 0.6856 GB, free: 103.7 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008536/0.8661, allocations: 475.2 kB / 0.6861 GB, free: 103.7 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.8661, allocations: 0 / 0.6861 GB, free: 103.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.01116/0.8773, allocations: 4.178 MB / 0.6902 GB, free: 103.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001852/0.8775, allocations: 0.8811 MB / 0.691 GB, free: 102.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.8775, allocations: 2.781 kB / 0.691 GB, free: 102.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005154/0.8827, allocations: 1.74 MB / 0.6927 GB, free: 102.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006785/0.8834, allocations: 144 kB / 0.6929 GB, free: 102.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01309/0.8965, allocations: 7.295 MB / 0.7 GB, free: 98.72 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001504/0.898, allocations: 181.1 kB / 0.7002 GB, free: 98.68 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.833e-05/0.8981, allocations: 34.86 kB / 0.7002 GB, free: 98.68 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.8982, allocations: 6.156 kB / 0.7002 GB, free: 98.68 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01083/0.909, allocations: 4.051 MB / 0.7041 GB, free: 97.88 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.702e-05/0.9091, allocations: 0 / 0.7041 GB, free: 97.88 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00507/0.9141, allocations: 1.753 MB / 0.7059 GB, free: 96.89 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006789/0.9149, allocations: 135.3 kB / 0.706 GB, free: 96.78 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01297/0.9278, allocations: 7.286 MB / 0.7131 GB, free: 90.16 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001401/0.9293, allocations: 179.7 kB / 0.7133 GB, free: 90.03 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.178e-05/0.9294, allocations: 24 kB / 0.7133 GB, free: 90.01 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 (71): * Single equations (assignments): 70 * 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.0002499/0.9296, allocations: 146.7 kB / 0.7134 GB, free: 89.86 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001834/0.9298, allocations: 109.9 kB / 0.7135 GB, free: 89.76 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01104/0.9409, allocations: 4.159 MB / 0.7176 GB, free: 86.52 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-05/0.9409, allocations: 8 kB / 0.7176 GB, free: 86.51 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.257e-06/0.9409, allocations: 0 / 0.7176 GB, free: 86.51 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.993e-05/0.941, allocations: 7.562 kB / 0.7176 GB, free: 86.51 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01319/0.9542, allocations: 5.82 MB / 0.7233 GB, free: 81.86 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.365e-05/0.9542, allocations: 0 / 0.7233 GB, free: 81.86 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007161/0.9549, allocations: 113.5 kB / 0.7234 GB, free: 81.77 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004812/0.9598, allocations: 1.686 MB / 0.7251 GB, free: 80.43 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001721/0.96, allocations: 20.61 kB / 0.7251 GB, free: 80.41 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01119/0.9712, allocations: 6.331 MB / 0.7313 GB, free: 74.05 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.9712, allocations: 4 kB / 0.7313 GB, free: 74.05 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01207/0.9833, allocations: 4.894 MB / 0.736 GB, free: 69.12 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004049/0.9837, allocations: 199.6 kB / 0.7362 GB, free: 68.91 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001434/0.9839, allocations: 16 kB / 0.7363 GB, free: 68.89 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000954/0.9848, allocations: 143.8 kB / 0.7364 GB, free: 68.75 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005946/0.9854, allocations: 212.3 kB / 0.7366 GB, free: 68.54 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.757e-05/0.9855, allocations: 20 kB / 0.7366 GB, free: 68.52 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006289/0.9862, allocations: 0.5358 MB / 0.7371 GB, free: 67.97 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.9862, allocations: 0 / 0.7371 GB, free: 67.97 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001675/0.9878, allocations: 0.6492 MB / 0.7378 GB, free: 67.33 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q,AVRtypeIII1.vm,AVRtypeIII1.vr,AVRtypeIII1.vf1) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 55 * 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.01204/0.9999, allocations: 5.63 MB / 0.7433 GB, free: 61.66 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008565/1.008, allocations: 3.559 MB / 0.7467 GB, free: 58.09 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.233e-06/1.009, allocations: 0 / 0.7467 GB, free: 58.09 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003703/1.012, allocations: 1.485 MB / 0.7482 GB, free: 56.6 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007047/1.013, allocations: 75.42 kB / 0.7483 GB, free: 56.53 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003019/1.016, allocations: 1.686 MB / 0.7499 GB, free: 54.81 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004415/1.016, allocations: 1.099 MB / 0.751 GB, free: 53.69 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005401/1.017, allocations: 138.9 kB / 0.7511 GB, free: 53.55 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003843/1.017, allocations: 395.3 kB / 0.7515 GB, free: 53.17 MB / 490.7 MB Notification: Performance of SimCode: time 1.363e-06/1.017, allocations: 0 / 0.7515 GB, free: 53.17 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05137/1.069, allocations: 36.93 MB / 0.7876 GB, free: 16.72 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001543/1.069, allocations: 165.9 kB / 0.7877 GB, free: 16.5 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.955/4.024, allocations: 0 / 0.7877 GB, free: 16.5 MB / 490.7 MB (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2_AVR_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2_AVR.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe 2>&1)