Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2_AVR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR,fileNamePrefix="OpenIPSL_dev_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.0009802/0.0009802, allocations: 174.5 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.226/1.226, allocations: 221.4 MB / 234.6 MB, free: 14.43 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.0008373/0.0008375, allocations: 94.64 kB / 285.6 MB, free: 12.97 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4495/0.4495, allocations: 78.91 MB / 415.4 MB, free: 10.22 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.564e-05/2.567e-05, allocations: 4 kB / 492.9 MB, free: 12.98 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3151/0.3152, allocations: 69.5 MB / 0.5492 GB, free: 19.53 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1181/0.4333, allocations: 99.1 MB / 0.646 GB, free: 488 kB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002216/0.4336, allocations: 75.97 kB / 0.6461 GB, free: 412 kB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06427/0.4978, allocations: 24.98 MB / 0.6705 GB, free: 7.242 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.605e-06/0.4979, allocations: 0 / 0.6705 GB, free: 7.242 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.179e-05/0.4979, allocations: 19.94 kB / 0.6705 GB, free: 7.223 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.004225/0.5022, allocations: 1.679 MB / 0.6721 GB, free: 5.496 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.5022, allocations: 11.97 kB / 0.6721 GB, free: 5.484 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001607/0.5024, allocations: 122.5 kB / 0.6723 GB, free: 5.355 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003024/0.5054, allocations: 0.5487 MB / 0.6728 GB, free: 4.805 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001237/0.5067, allocations: 0.6991 MB / 0.6735 GB, free: 4.059 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002587/0.5069, allocations: 272.1 kB / 0.6737 GB, free: 3.758 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001374/0.5071, allocations: 72 kB / 0.6738 GB, free: 3.688 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001518/0.5086, allocations: 0.9033 MB / 0.6747 GB, free: 2.77 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.5086, allocations: 4 kB / 0.6747 GB, free: 2.766 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-05/0.5087, allocations: 28 kB / 0.6747 GB, free: 2.738 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.301e-05/0.5087, allocations: 16 kB / 0.6747 GB, free: 2.723 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001348/0.5101, allocations: 0.8202 MB / 0.6755 GB, free: 1.902 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2713/0.7814, allocations: 3.56 MB / 0.679 GB, free: 104.6 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001637/0.7831, allocations: 1.255 MB / 0.6802 GB, free: 104 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008477/0.784, allocations: 0.5678 MB / 0.6808 GB, free: 104 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001137/0.7841, allocations: 18.27 kB / 0.6808 GB, free: 104 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.273e-05/0.7841, allocations: 42.53 kB / 0.6808 GB, free: 104 MB / 490.7 MB Notification: Performance of pre-optimization done (n=89): time 3.296e-06/0.7841, allocations: 0 / 0.6808 GB, free: 104 MB / 490.7 MB Notification: Performance of matching and sorting (n=89): time 0.0127/0.7969, allocations: 4.027 MB / 0.6848 GB, free: 103.9 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.466e-05/0.7969, allocations: 90.69 kB / 0.6849 GB, free: 103.8 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008459/0.7978, allocations: 0.69 MB / 0.6855 GB, free: 103.6 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001659/0.798, allocations: 41.61 kB / 0.6856 GB, free: 103.6 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002216/0.7982, allocations: 465.2 kB / 0.686 GB, free: 103.5 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002425/0.7984, allocations: 317.8 kB / 0.6863 GB, free: 103.3 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.867e-05/0.7985, allocations: 25.91 kB / 0.6863 GB, free: 103.3 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.633e-05/0.7986, allocations: 336.5 kB / 0.6867 GB, free: 103 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006271/0.7992, allocations: 440.6 kB / 0.6871 GB, free: 103 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006827/0.7999, allocations: 0.5389 MB / 0.6876 GB, free: 102.9 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006553/0.8006, allocations: 480.5 kB / 0.6881 GB, free: 102.9 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.8006, allocations: 3.25 kB / 0.6881 GB, free: 102.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.01092/0.8115, allocations: 4.18 MB / 0.6922 GB, free: 102.6 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001585/0.8117, allocations: 0.8757 MB / 0.693 GB, free: 101.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.288e-06/0.8117, allocations: 3.609 kB / 0.693 GB, free: 101.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004989/0.8167, allocations: 1.745 MB / 0.6947 GB, free: 101.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006422/0.8173, allocations: 137.8 kB / 0.6948 GB, free: 101.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01264/0.83, allocations: 7.306 MB / 0.702 GB, free: 97.35 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00125/0.8313, allocations: 183 kB / 0.7022 GB, free: 97.31 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.064e-05/0.8314, allocations: 29.98 kB / 0.7022 GB, free: 97.3 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.666e-06/0.8314, allocations: 3.656 kB / 0.7022 GB, free: 97.3 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01041/0.8418, allocations: 4.061 MB / 0.7062 GB, free: 96.24 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.8418, allocations: 7.953 kB / 0.7062 GB, free: 96.23 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00477/0.8466, allocations: 1.744 MB / 0.7079 GB, free: 94.85 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000576/0.8472, allocations: 132.2 kB / 0.708 GB, free: 94.75 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01256/0.8598, allocations: 7.284 MB / 0.7151 GB, free: 88.14 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001454/0.8613, allocations: 181.6 kB / 0.7153 GB, free: 88 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000184/0.8615, allocations: 24 kB / 0.7153 GB, free: 87.98 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.0003263/0.8618, allocations: 146.3 kB / 0.7154 GB, free: 87.84 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003701/0.8622, allocations: 110.6 kB / 0.7155 GB, free: 87.73 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01104/0.8732, allocations: 4.159 MB / 0.7196 GB, free: 84.49 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.956e-06/0.8733, allocations: 8 kB / 0.7196 GB, free: 84.48 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.8733, allocations: 7.562 kB / 0.7196 GB, free: 84.48 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.457e-05/0.8733, allocations: 7.688 kB / 0.7196 GB, free: 84.48 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01267/0.886, allocations: 5.817 MB / 0.7253 GB, free: 79.83 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.734e-06/0.886, allocations: 0 / 0.7253 GB, free: 79.83 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005878/0.8866, allocations: 116.7 kB / 0.7254 GB, free: 79.73 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004678/0.8913, allocations: 1.684 MB / 0.7271 GB, free: 78.11 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000142/0.8915, allocations: 20 kB / 0.7271 GB, free: 78.09 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01112/0.9026, allocations: 6.33 MB / 0.7333 GB, free: 71.62 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.9026, allocations: 7.938 kB / 0.7333 GB, free: 71.62 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01165/0.9143, allocations: 4.891 MB / 0.7381 GB, free: 66.69 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003159/0.9146, allocations: 198.9 kB / 0.7382 GB, free: 66.48 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001945/0.9148, allocations: 16 kB / 0.7383 GB, free: 66.46 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001041/0.9158, allocations: 143.3 kB / 0.7384 GB, free: 66.33 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005007/0.9164, allocations: 208.4 kB / 0.7386 GB, free: 66.12 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.386e-05/0.9164, allocations: 20 kB / 0.7386 GB, free: 66.11 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006377/0.9171, allocations: 0.5436 MB / 0.7391 GB, free: 65.55 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.9171, allocations: 0 / 0.7391 GB, free: 65.55 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001643/0.9187, allocations: 0.6422 MB / 0.7398 GB, free: 64.91 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.012/0.9307, allocations: 5.63 MB / 0.7453 GB, free: 59.25 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008586/0.9394, allocations: 3.553 MB / 0.7487 GB, free: 55.67 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.9394, allocations: 0 / 0.7487 GB, free: 55.67 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003675/0.9431, allocations: 1.476 MB / 0.7502 GB, free: 54.18 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007839/0.9439, allocations: 79.42 kB / 0.7503 GB, free: 54.11 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003319/0.9472, allocations: 1.677 MB / 0.7519 GB, free: 52.39 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004139/0.9476, allocations: 1.102 MB / 0.753 GB, free: 51.27 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.00057/0.9482, allocations: 139.4 kB / 0.7531 GB, free: 51.13 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003751/0.9486, allocations: 391.3 kB / 0.7535 GB, free: 50.75 MB / 490.7 MB Notification: Performance of SimCode: time 3.71e-07/0.9486, allocations: 4 kB / 0.7535 GB, free: 50.75 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05048/0.9991, allocations: 36.94 MB / 0.7896 GB, free: 14.25 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001319/0.9993, allocations: 180.8 kB / 0.7897 GB, free: 14.02 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.927/3.926, allocations: 0 / 0.7897 GB, free: 14.02 MB / 490.7 MB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2_AVR_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2_AVR.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe 2>&1)