Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.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-master/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-master/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: translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.007003/0.007003, allocations: 171.7 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.548/1.548, allocations: 205.4 MB / 221.2 MB, free: 13.82 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.0009199/0.0009199, allocations: 90.88 kB / 269.6 MB, free: 13.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1016/0.1016, allocations: 12.59 MB / 330.4 MB, free: 10.28 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4254/0.4254, allocations: 78.52 MB / 460 MB, free: 3.438 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005445/0.0005445, allocations: 26.23 kB / 0.5285 GB, free: 35.27 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.1497, allocations: 69.32 MB / 0.5962 GB, free: 3.797 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4692/0.619, allocations: 100.2 MB / 0.694 GB, free: 35.16 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002979/0.6193, allocations: 79.89 kB / 0.6941 GB, free: 35.16 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0655/0.6848, allocations: 24.04 MB / 0.7176 GB, free: 33 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.046e-06/0.6849, allocations: 0 / 0.7176 GB, free: 33 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.106e-05/0.685, allocations: 19.12 kB / 0.7176 GB, free: 33 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: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.005389/0.6904, allocations: 1.867 MB / 0.7194 GB, free: 32.18 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.454e-05/0.6904, allocations: 15.73 kB / 0.7194 GB, free: 32.17 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003392/0.6938, allocations: 0.553 MB / 0.72 GB, free: 32.09 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001484/0.6953, allocations: 0.7116 MB / 0.7206 GB, free: 31.75 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002492/0.6956, allocations: 266.1 kB / 0.7209 GB, free: 31.55 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001304/0.6957, allocations: 69.66 kB / 0.721 GB, free: 31.55 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002052/0.6978, allocations: 1.162 MB / 0.7221 GB, free: 31.46 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.757e-05/0.6978, allocations: 0 / 0.7221 GB, free: 31.46 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.186e-05/0.6979, allocations: 28.16 kB / 0.7221 GB, free: 31.46 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.328e-05/0.6979, allocations: 15.34 kB / 0.7221 GB, free: 31.46 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002091/0.7, allocations: 1.116 MB / 0.7232 GB, free: 31.43 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005815/0.7058, allocations: 3.581 MB / 0.7267 GB, free: 30.4 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002153/0.708, allocations: 1.519 MB / 0.7282 GB, free: 29.78 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001032/0.7081, allocations: 19.48 kB / 0.7282 GB, free: 29.78 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.859e-05/0.7082, allocations: 42.64 kB / 0.7283 GB, free: 29.74 MB / 474.7 MB Notification: Performance of pre-optimization done (n=89): time 3.176e-06/0.7082, allocations: 0 / 0.7283 GB, free: 29.74 MB / 474.7 MB Notification: Performance of matching and sorting (n=89): time 0.0256/0.7338, allocations: 8.135 MB / 0.7362 GB, free: 29.13 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.766e-05/0.7339, allocations: 85.95 kB / 0.7363 GB, free: 29.04 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00116/0.7351, allocations: 0.7032 MB / 0.737 GB, free: 28.9 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002308/0.7353, allocations: 42.98 kB / 0.737 GB, free: 28.87 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002707/0.7356, allocations: 464.1 kB / 0.7375 GB, free: 28.7 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003219/0.7359, allocations: 322.7 kB / 0.7378 GB, free: 28.49 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.345e-05/0.736, allocations: 22.16 kB / 0.7378 GB, free: 28.49 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.553e-05/0.7361, allocations: 347.8 kB / 0.7381 GB, free: 28.18 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001306/0.7374, allocations: 0.6675 MB / 0.7388 GB, free: 28.16 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001292/0.7387, allocations: 0.798 MB / 0.7396 GB, free: 28.04 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001277/0.74, allocations: 0.7122 MB / 0.7403 GB, free: 28.02 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.74, allocations: 0 / 0.7403 GB, free: 28.02 MB / 474.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.01312/0.7531, allocations: 4.851 MB / 0.745 GB, free: 27.66 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002658/0.7534, allocations: 0.8889 MB / 0.7459 GB, free: 26.73 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.426e-05/0.7535, allocations: 0 / 0.7459 GB, free: 26.73 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006178/0.7597, allocations: 2.121 MB / 0.7479 GB, free: 26.45 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008032/0.7605, allocations: 141.2 kB / 0.7481 GB, free: 26.42 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02056/0.7811, allocations: 10.01 MB / 0.7578 GB, free: 23.34 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001804/0.7829, allocations: 191.8 kB / 0.758 GB, free: 23.27 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002723/0.7832, allocations: 27.47 kB / 0.7581 GB, free: 23.27 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.7833, allocations: 7.844 kB / 0.7581 GB, free: 23.26 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01305/0.7963, allocations: 4.713 MB / 0.7627 GB, free: 21.95 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.375e-05/0.7964, allocations: 3.938 kB / 0.7627 GB, free: 21.95 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006056/0.8024, allocations: 2.126 MB / 0.7647 GB, free: 21.36 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007539/0.8032, allocations: 128.1 kB / 0.7649 GB, free: 21.34 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02001/0.8232, allocations: 9.996 MB / 0.7746 GB, free: 18.27 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001596/0.8249, allocations: 170.2 kB / 0.7748 GB, free: 18.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002329/0.8251, allocations: 33.52 kB / 0.7748 GB, free: 18.2 MB / 474.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 () * Number of clocked 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.0008504/0.826, allocations: 295.3 kB / 0.7751 GB, free: 18 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004611/0.8265, allocations: 109.8 kB / 0.7752 GB, free: 17.94 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01294/0.8394, allocations: 4.835 MB / 0.7799 GB, free: 14.24 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.617e-05/0.8395, allocations: 8 kB / 0.7799 GB, free: 14.23 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.8395, allocations: 0 / 0.7799 GB, free: 14.23 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.165e-05/0.8395, allocations: 11.92 kB / 0.78 GB, free: 14.22 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01572/0.8553, allocations: 6.498 MB / 0.7863 GB, free: 8.695 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.321e-05/0.8553, allocations: 0 / 0.7863 GB, free: 8.695 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006977/0.856, allocations: 123.4 kB / 0.7864 GB, free: 8.578 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005708/0.8618, allocations: 2.062 MB / 0.7884 GB, free: 6.734 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001785/0.862, allocations: 13.62 kB / 0.7884 GB, free: 6.73 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01849/0.8805, allocations: 8.666 MB / 0.7969 GB, free: 14.07 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.444e-06/0.8805, allocations: 4 kB / 0.7969 GB, free: 14.07 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01704/0.8976, allocations: 5.813 MB / 0.8026 GB, free: 8.215 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007654/0.8984, allocations: 199.6 kB / 0.8028 GB, free: 8 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005892/0.899, allocations: 23.89 kB / 0.8028 GB, free: 7.977 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00152/0.9005, allocations: 135.9 kB / 0.8029 GB, free: 7.844 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008833/0.9014, allocations: 208.6 kB / 0.8031 GB, free: 7.641 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001614/0.9016, allocations: 20 kB / 0.8031 GB, free: 7.621 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001203/0.9028, allocations: 0.5512 MB / 0.8037 GB, free: 7.059 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.9028, allocations: 0 / 0.8037 GB, free: 7.059 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003381/0.9062, allocations: 0.6514 MB / 0.8043 GB, free: 6.406 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 () * Number of clocked 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.0004695/0.9067, allocations: 142.7 kB / 0.8045 GB, free: 6.262 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01262/0.9194, allocations: 4.295 MB / 0.8087 GB, free: 1.945 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.417e-06/0.9194, allocations: 0 / 0.8087 GB, free: 1.945 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005185/0.9246, allocations: 1.748 MB / 0.8104 GB, free: 180 kB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001356/0.926, allocations: 75.42 kB / 0.8104 GB, free: 100 kB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005784/0.9318, allocations: 2.371 MB / 0.8127 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000964/0.9328, allocations: 1.104 MB / 0.8138 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0005635/0.9334, allocations: 81.42 kB / 0.8139 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002687/0.9337, allocations: 51.44 kB / 0.814 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of SimCode: time 1.873e-06/0.9337, allocations: 7.875 kB / 0.814 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of Templates: time 0.0504/0.9841, allocations: 26.54 MB / 0.8399 GB, free: 1.914 MB / 0.5105 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe 2>&1)