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: translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004776/0.004776, allocations: 171.1 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.157/1.157, allocations: 223.2 MB / 239 MB, free: 1.781 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.001048/0.001048, allocations: 95.42 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.3953/0.3953, allocations: 78.52 MB / 419.8 MB, free: 44.09 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004793/0.0004794, allocations: 8 kB / 499.7 MB, free: 2.758 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3062/0.3067, allocations: 69.36 MB / 0.5557 GB, free: 38.77 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09807/0.4048, allocations: 98.6 MB / 0.652 GB, free: 7.793 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001981/0.405, allocations: 81.23 kB / 0.6521 GB, free: 7.715 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06042/0.4654, allocations: 24.77 MB / 0.6763 GB, free: 14.81 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.4655, allocations: 0 / 0.6763 GB, free: 14.81 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.311e-05/0.4655, allocations: 16 kB / 0.6763 GB, free: 14.8 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.00475/0.4703, allocations: 1.865 MB / 0.6781 GB, free: 12.88 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.138e-05/0.4703, allocations: 8.031 kB / 0.6781 GB, free: 12.87 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003105/0.4735, allocations: 0.5526 MB / 0.6787 GB, free: 12.32 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001302/0.4748, allocations: 0.7184 MB / 0.6794 GB, free: 11.56 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002454/0.475, allocations: 256.2 kB / 0.6796 GB, free: 11.27 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001565/0.4752, allocations: 79.94 kB / 0.6797 GB, free: 11.2 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002076/0.4773, allocations: 1.153 MB / 0.6808 GB, free: 10.03 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/0.4773, allocations: 0 / 0.6808 GB, free: 10.03 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.827e-05/0.4774, allocations: 39.94 kB / 0.6808 GB, free: 9.988 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.308e-05/0.4774, allocations: 16 kB / 0.6809 GB, free: 9.973 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002107/0.4795, allocations: 1.113 MB / 0.6819 GB, free: 8.859 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005606/0.4851, allocations: 3.566 MB / 0.6854 GB, free: 5.121 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002262/0.4874, allocations: 1.53 MB / 0.6869 GB, free: 3.473 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.127e-05/0.4875, allocations: 13 kB / 0.6869 GB, free: 3.461 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.086e-05/0.4876, allocations: 47.56 kB / 0.687 GB, free: 3.406 MB / 490.7 MB Notification: Performance of pre-optimization done (n=89): time 4.228e-06/0.4876, allocations: 0 / 0.687 GB, free: 3.406 MB / 490.7 MB Notification: Performance of matching and sorting (n=89): time 0.02581/0.5134, allocations: 8.134 MB / 0.6949 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.372e-05/0.5135, allocations: 90.05 kB / 0.695 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001073/0.5146, allocations: 0.6984 MB / 0.6957 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001792/0.5148, allocations: 41.7 kB / 0.6957 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003182/0.5151, allocations: 464.4 kB / 0.6962 GB, free: 9.902 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003907/0.5155, allocations: 315.4 kB / 0.6965 GB, free: 9.59 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.363e-05/0.5156, allocations: 16 kB / 0.6965 GB, free: 9.574 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.5157, allocations: 345.9 kB / 0.6968 GB, free: 9.23 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00136/0.5171, allocations: 0.6696 MB / 0.6975 GB, free: 8.555 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00141/0.5185, allocations: 0.79 MB / 0.6982 GB, free: 7.734 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001405/0.5199, allocations: 0.7182 MB / 0.6989 GB, free: 7.02 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.5199, allocations: 3.938 kB / 0.6989 GB, free: 7.016 MB / 0.4948 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.01348/0.5334, allocations: 4.86 MB / 0.7037 GB, free: 2.137 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003037/0.5338, allocations: 0.873 MB / 0.7045 GB, free: 1.199 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.908e-06/0.5338, allocations: 0 / 0.7045 GB, free: 1.199 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006294/0.5401, allocations: 2.134 MB / 0.7066 GB, free: 15.06 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006803/0.5408, allocations: 139.8 kB / 0.7068 GB, free: 14.93 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02033/0.5611, allocations: 10.01 MB / 0.7165 GB, free: 4.777 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001278/0.5624, allocations: 191.2 kB / 0.7167 GB, free: 4.59 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001214/0.5626, allocations: 28 kB / 0.7167 GB, free: 4.562 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/0.5626, allocations: 4 kB / 0.7168 GB, free: 4.559 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01324/0.5758, allocations: 4.707 MB / 0.7213 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.223e-05/0.5759, allocations: 0 / 0.7213 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006353/0.5823, allocations: 2.121 MB / 0.7234 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006881/0.583, allocations: 135.8 kB / 0.7236 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02104/0.6041, allocations: 10 MB / 0.7333 GB, free: 3.445 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001337/0.6054, allocations: 179.3 kB / 0.7335 GB, free: 3.27 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001491/0.6056, allocations: 27.98 kB / 0.7335 GB, free: 3.242 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 (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.0005756/0.6062, allocations: 306.8 kB / 0.7338 GB, free: 2.934 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002797/0.6065, allocations: 110.6 kB / 0.7339 GB, free: 2.824 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01303/0.6195, allocations: 4.833 MB / 0.7386 GB, free: 13.97 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-05/0.6196, allocations: 8 kB / 0.7386 GB, free: 13.96 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.6196, allocations: 0 / 0.7386 GB, free: 13.96 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.197e-05/0.6196, allocations: 7.984 kB / 0.7387 GB, free: 13.95 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01519/0.6348, allocations: 6.502 MB / 0.745 GB, free: 7.309 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-05/0.6349, allocations: 3.938 kB / 0.745 GB, free: 7.305 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006823/0.6355, allocations: 115.8 kB / 0.7451 GB, free: 7.191 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005845/0.6414, allocations: 2.057 MB / 0.7471 GB, free: 5.129 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001575/0.6416, allocations: 23.98 kB / 0.7471 GB, free: 5.105 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01776/0.6594, allocations: 8.651 MB / 0.7556 GB, free: 12.31 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.6594, allocations: 4 kB / 0.7556 GB, free: 12.31 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01506/0.6745, allocations: 5.824 MB / 0.7613 GB, free: 6.441 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003706/0.6749, allocations: 191.6 kB / 0.7615 GB, free: 6.234 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002517/0.6751, allocations: 23.98 kB / 0.7615 GB, free: 6.211 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001133/0.6763, allocations: 136 kB / 0.7616 GB, free: 6.078 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006031/0.6769, allocations: 212.6 kB / 0.7618 GB, free: 5.871 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.991e-05/0.677, allocations: 20 kB / 0.7618 GB, free: 5.852 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0007078/0.6777, allocations: 0.5471 MB / 0.7624 GB, free: 5.293 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6777, allocations: 4 kB / 0.7624 GB, free: 5.289 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001822/0.6795, allocations: 0.6514 MB / 0.763 GB, free: 4.637 MB / 0.5573 GB 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.0002781/0.6798, allocations: 151 kB / 0.7632 GB, free: 4.48 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01101/0.6909, allocations: 4.278 MB / 0.7673 GB, free: 184 kB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.6909, allocations: 0 / 0.7673 GB, free: 184 kB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.1967/0.8876, allocations: 1.734 MB / 0.769 GB, free: 149.7 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006702/0.8883, allocations: 75.36 kB / 0.7691 GB, free: 149.7 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003407/0.8917, allocations: 2.373 MB / 0.7714 GB, free: 148.7 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005619/0.8923, allocations: 1.105 MB / 0.7725 GB, free: 148 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0003914/0.8927, allocations: 79.12 kB / 0.7726 GB, free: 148 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001872/0.8929, allocations: 51.73 kB / 0.7726 GB, free: 148 MB / 0.5573 GB Notification: Performance of SimCode: time 5.41e-07/0.8929, allocations: 1.406 kB / 0.7726 GB, free: 148 MB / 0.5573 GB Notification: Performance of Templates: time 0.03343/0.9264, allocations: 26.55 MB / 0.7986 GB, free: 146.8 MB / 0.5573 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.makefile (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 & ./OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe 2>&1)