Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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.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: translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001564/0.001564, 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.205/1.205, 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.0009044/0.0009047, allocations: 91.47 kB / 285.6 MB, free: 13 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4468/0.4468, allocations: 78.08 MB / 414.6 MB, free: 11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.347e-05/2.35e-05, allocations: 0 / 491.8 MB, free: 14.07 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3372/0.3373, allocations: 69.34 MB / 0.548 GB, free: 20.21 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1225/0.4598, allocations: 98.79 MB / 0.6445 GB, free: 1.746 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002234/0.4601, allocations: 79.95 kB / 0.6445 GB, free: 1.668 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06461/0.5247, allocations: 24.78 MB / 0.6687 GB, free: 8.715 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.5248, allocations: 3.938 kB / 0.6687 GB, free: 8.711 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.813e-05/0.5248, allocations: 20 kB / 0.6688 GB, free: 8.691 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.004507/0.5293, allocations: 1.675 MB / 0.6704 GB, free: 6.969 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.5294, allocations: 15.97 kB / 0.6704 GB, free: 6.953 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003183/0.5326, allocations: 0.5448 MB / 0.6709 GB, free: 6.406 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001464/0.5341, allocations: 0.7069 MB / 0.6716 GB, free: 5.652 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002718/0.5343, allocations: 264.1 kB / 0.6719 GB, free: 5.359 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001423/0.5345, allocations: 72 kB / 0.672 GB, free: 5.289 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00159/0.5361, allocations: 0.9227 MB / 0.6729 GB, free: 4.352 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.539e-05/0.5361, allocations: 0 / 0.6729 GB, free: 4.352 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.142e-05/0.5362, allocations: 32 kB / 0.6729 GB, free: 4.32 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.431e-05/0.5362, allocations: 16 kB / 0.6729 GB, free: 4.305 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001431/0.5377, allocations: 0.8085 MB / 0.6737 GB, free: 3.496 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3215/0.8592, allocations: 3.519 MB / 0.6771 GB, free: 105.1 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002262/0.8615, allocations: 1.268 MB / 0.6784 GB, free: 104.5 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009743/0.8625, allocations: 0.5738 MB / 0.6789 GB, free: 104.5 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000118/0.8626, allocations: 11.12 kB / 0.6789 GB, free: 104.5 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.745e-05/0.8626, allocations: 45.16 kB / 0.679 GB, free: 104.5 MB / 490.7 MB Notification: Performance of pre-optimization done (n=90): time 3.045e-06/0.8626, allocations: 2.594 kB / 0.679 GB, free: 104.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=90): time 0.01394/0.8766, allocations: 4.035 MB / 0.6829 GB, free: 104.4 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.773e-05/0.8767, allocations: 90.92 kB / 0.683 GB, free: 104.3 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001366/0.8781, allocations: 0.6772 MB / 0.6837 GB, free: 104.1 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002486/0.8783, allocations: 39.42 kB / 0.6837 GB, free: 104.1 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003627/0.8787, allocations: 465.5 kB / 0.6842 GB, free: 104 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003739/0.8791, allocations: 319.2 kB / 0.6845 GB, free: 103.8 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.694e-05/0.8791, allocations: 17.88 kB / 0.6845 GB, free: 103.8 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.594e-05/0.8792, allocations: 343.8 kB / 0.6848 GB, free: 103.5 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008517/0.8801, allocations: 445.7 kB / 0.6852 GB, free: 103.5 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007461/0.8809, allocations: 0.5509 MB / 0.6858 GB, free: 103.4 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007041/0.8816, allocations: 487.5 kB / 0.6862 GB, free: 103.4 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.8816, allocations: 0 / 0.6862 GB, free: 103.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.0111/0.8927, allocations: 4.208 MB / 0.6903 GB, free: 103.1 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001662/0.8929, allocations: 0.8774 MB / 0.6912 GB, free: 102.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.8929, allocations: 3.875 kB / 0.6912 GB, free: 102.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005232/0.8981, allocations: 1.732 MB / 0.6929 GB, free: 102.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006284/0.8988, allocations: 138.8 kB / 0.693 GB, free: 102.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01305/0.9118, allocations: 7.28 MB / 0.7001 GB, free: 98.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001466/0.9133, allocations: 189 kB / 0.7003 GB, free: 98.36 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.551e-05/0.9134, allocations: 32.84 kB / 0.7003 GB, free: 98.35 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.989e-06/0.9134, allocations: 3.5 kB / 0.7004 GB, free: 98.35 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01107/0.9245, allocations: 4.078 MB / 0.7043 GB, free: 97.54 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.458e-05/0.9246, allocations: 3.719 kB / 0.7043 GB, free: 97.54 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005192/0.9298, allocations: 1.729 MB / 0.706 GB, free: 96.64 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007014/0.9305, allocations: 136.6 kB / 0.7062 GB, free: 96.54 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01316/0.9437, allocations: 7.282 MB / 0.7133 GB, free: 89.92 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001351/0.9451, allocations: 177.9 kB / 0.7134 GB, free: 89.79 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.028e-05/0.9452, allocations: 27.14 kB / 0.7135 GB, free: 89.76 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.0002881/0.9454, allocations: 149.5 kB / 0.7136 GB, free: 89.62 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001964/0.9457, allocations: 106.7 kB / 0.7137 GB, free: 89.52 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01134/0.957, allocations: 4.164 MB / 0.7178 GB, free: 86.27 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.795e-05/0.9571, allocations: 11.66 kB / 0.7178 GB, free: 86.26 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.9571, allocations: 0 / 0.7178 GB, free: 86.26 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.599e-05/0.9571, allocations: 3.891 kB / 0.7178 GB, free: 86.26 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01342/0.9705, allocations: 5.772 MB / 0.7234 GB, free: 81.68 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.207e-06/0.9706, allocations: 0 / 0.7234 GB, free: 81.68 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006878/0.9713, allocations: 114.7 kB / 0.7235 GB, free: 81.58 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004812/0.9761, allocations: 1.682 MB / 0.7252 GB, free: 80.24 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001697/0.9763, allocations: 20 kB / 0.7252 GB, free: 80.22 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01233/0.9886, allocations: 6.321 MB / 0.7314 GB, free: 73.93 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.9887, allocations: 0 / 0.7314 GB, free: 73.93 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0125/1.001, allocations: 4.911 MB / 0.7362 GB, free: 68.99 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004221/1.002, allocations: 191.6 kB / 0.7363 GB, free: 68.79 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000305/1.002, allocations: 16 kB / 0.7364 GB, free: 68.77 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001197/1.003, allocations: 147.8 kB / 0.7365 GB, free: 68.62 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006374/1.004, allocations: 208.3 kB / 0.7367 GB, free: 68.42 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.258e-05/1.004, allocations: 20 kB / 0.7367 GB, free: 68.4 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006975/1.005, allocations: 0.5358 MB / 0.7372 GB, free: 67.85 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.51e-07/1.005, allocations: 0 / 0.7372 GB, free: 67.85 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002122/1.007, allocations: 0.6439 MB / 0.7379 GB, free: 67.21 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.0002971/1.007, allocations: 150.1 kB / 0.738 GB, free: 67.07 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008641/1.016, allocations: 3.56 MB / 0.7415 GB, free: 63.48 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/1.016, allocations: 0.5625 kB / 0.7415 GB, free: 63.48 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003882/1.02, allocations: 1.489 MB / 0.7429 GB, free: 61.99 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006869/1.02, allocations: 73.94 kB / 0.743 GB, free: 61.92 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002851/1.023, allocations: 1.578 MB / 0.7446 GB, free: 60.33 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004229/1.024, allocations: 1.106 MB / 0.7456 GB, free: 59.19 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005932/1.024, allocations: 135.1 kB / 0.7458 GB, free: 59.06 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001616/1.024, allocations: 51.42 kB / 0.7458 GB, free: 59.01 MB / 490.7 MB Notification: Performance of SimCode: time 8.31e-07/1.024, allocations: 0 / 0.7458 GB, free: 59.01 MB / 490.7 MB Notification: Performance of Templates: time 0.03566/1.06, allocations: 28.23 MB / 0.7734 GB, free: 31.07 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.sim & ./OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe 2>&1)