Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DLATREGSRL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.DLATREGSRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DLATREGSRL") translateModel(Modelica.Electrical.Digital.Examples.DLATREGSRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DLATREGSRL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001018/0.001017, allocations: 180 kB / 16.38 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.197/1.197, allocations: 194.5 MB / 211.6 MB, free: 3.047 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001529/0.001529, allocations: 114.7 kB / 256.9 MB, free: 4.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002875/0.0002875, allocations: 8 kB / 310.6 MB, free: 14.95 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07971/0.08001, allocations: 44.51 MB / 355.1 MB, free: 2.332 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2366/0.3167, allocations: 78.15 MB / 433.2 MB, free: 11.35 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001778/0.3169, allocations: 70.59 kB / 433.3 MB, free: 11.31 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06274/0.3796, allocations: 38.58 MB / 471.9 MB, free: 7.508 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3797, allocations: 0 / 471.9 MB, free: 7.508 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.849e-05/0.3797, allocations: 16 kB / 471.9 MB, free: 7.492 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.001496/0.3812, allocations: 1.523 MB / 473.4 MB, free: 5.863 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.183e-05/0.3813, allocations: 8.031 kB / 473.4 MB, free: 5.855 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001654/0.3815, allocations: 134.4 kB / 473.5 MB, free: 5.723 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007307/0.3822, allocations: 0.5171 MB / 474.1 MB, free: 5.156 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.768e-05/0.3822, allocations: 19.94 kB / 474.1 MB, free: 5.137 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.141e-05/0.3823, allocations: 32 kB / 474.1 MB, free: 5.105 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009122/0.3832, allocations: 0.6261 MB / 474.7 MB, free: 4.473 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.3833, allocations: 0 / 474.7 MB, free: 4.473 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.708e-05/0.3833, allocations: 23.98 kB / 474.8 MB, free: 4.449 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.3833, allocations: 0 / 474.8 MB, free: 4.449 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006709/0.384, allocations: 483.2 kB / 475.2 MB, free: 3.98 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001903/0.3859, allocations: 1.17 MB / 476.4 MB, free: 2.754 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008092/0.3867, allocations: 0.6975 MB / 477.1 MB, free: 2.047 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.583e-06/0.3868, allocations: 0 / 477.1 MB, free: 2.047 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008594/0.3876, allocations: 0.7561 MB / 477.9 MB, free: 1.25 MB / 346.7 MB Notification: Performance of pre-optimization done (n=33): time 1.563e-06/0.3876, allocations: 0 / 477.9 MB, free: 1.25 MB / 346.7 MB Notification: Performance of matching and sorting (n=33): time 0.002587/0.3902, allocations: 2.136 MB / 480 MB, free: 15 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001842/0.3904, allocations: 333 kB / 480.3 MB, free: 14.62 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002195/0.3926, allocations: 1.632 MB / 482 MB, free: 12.97 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.635e-05/0.3927, allocations: 45.69 kB / 482 MB, free: 12.92 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002311/0.393, allocations: 242.3 kB / 482.2 MB, free: 12.68 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001081/0.3931, allocations: 75.14 kB / 482.3 MB, free: 12.61 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.43e-05/0.3931, allocations: 12 kB / 482.3 MB, free: 12.59 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001652/0.3933, allocations: 382.7 kB / 482.7 MB, free: 12.21 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006092/0.3939, allocations: 455.7 kB / 483.1 MB, free: 11.77 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006107/0.3945, allocations: 486.3 kB / 483.6 MB, free: 11.28 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005982/0.3952, allocations: 0.5833 MB / 484.2 MB, free: 10.65 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.3952, allocations: 4 kB / 484.2 MB, free: 10.64 MB / 362.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001743/0.3969, allocations: 1.359 MB / 485.6 MB, free: 9.23 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002059/0.3971, allocations: 293.5 kB / 485.8 MB, free: 8.895 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.3972, allocations: 8.016 kB / 485.9 MB, free: 8.887 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.3972, allocations: 4 kB / 485.9 MB, free: 8.883 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.317e-05/0.3972, allocations: 3.938 kB / 485.9 MB, free: 8.879 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.3972, allocations: 4 kB / 485.9 MB, free: 8.875 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003367/0.3976, allocations: 47.86 kB / 485.9 MB, free: 8.828 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000153/0.3977, allocations: 124.2 kB / 486 MB, free: 8.707 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 37 ($PRE.dLATREGSRL.delay.inertialDelaySensitive[2].y,$PRE.dLATREGSRL.delay.inertialDelaySensitive[1].y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,enable.y,data_0.y,reset.y,data_1.y,set.y,$PRE.dLATREGSRL.delay.inertialDelaySensitive[1].x,dLATREGSRL.delay.inertialDelaySensitive[1].x,dLATREGSRL.delay.inertialDelaySensitive[1].y,dLATREGSRL.delay.inertialDelaySensitive[1].delayTime,dLATREGSRL.delay.inertialDelaySensitive[1].y_auxiliary,dLATREGSRL.delay.inertialDelaySensitive[1].y_old,dLATREGSRL.delay.inertialDelaySensitive[1].lh,dLATREGSRL.delay.inertialDelaySensitive[1].t_next,$PRE.dLATREGSRL.delay.inertialDelaySensitive[2].x,dLATREGSRL.delay.inertialDelaySensitive[2].x,dLATREGSRL.delay.inertialDelaySensitive[2].y,dLATREGSRL.delay.inertialDelaySensitive[2].delayTime,dLATREGSRL.delay.inertialDelaySensitive[2].y_auxiliary,dLATREGSRL.delay.inertialDelaySensitive[2].y_old,dLATREGSRL.delay.inertialDelaySensitive[2].lh,dLATREGSRL.delay.inertialDelaySensitive[2].t_next,dLATREGSRL.dLATSR.dataIn[1],dLATREGSRL.dLATSR.dataIn[2],dLATREGSRL.dLATSR.dataOut[1],dLATREGSRL.dLATSR.dataOut[2],dLATREGSRL.dLATSR.enable_flag,dLATREGSRL.dLATSR.reset_set_flag,dLATREGSRL.dLATSR.nextstate[1],dLATREGSRL.dLATSR.nextstate[2],dLATREGSRL.dLATSR.next_assign_val[1],dLATREGSRL.dLATSR.next_assign_val[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 8 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001243/0.399, allocations: 0.9882 MB / 487 MB, free: 7.656 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000156/0.3991, allocations: 138.4 kB / 487.2 MB, free: 7.52 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003924/0.3995, allocations: 251.9 kB / 487.4 MB, free: 7.266 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.3995, allocations: 7.891 kB / 487.4 MB, free: 7.258 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.3996, allocations: 0 / 487.4 MB, free: 7.258 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.3996, allocations: 0 / 487.4 MB, free: 7.258 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00289/0.4025, allocations: 2.419 MB / 489.8 MB, free: 4.727 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.4025, allocations: 0 / 489.8 MB, free: 4.727 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.602e-05/0.4025, allocations: 11.92 kB / 489.8 MB, free: 4.715 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.903e-06/0.4025, allocations: 11.95 kB / 489.9 MB, free: 4.703 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.929e-05/0.4026, allocations: 35.92 kB / 489.9 MB, free: 4.668 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.4026, allocations: 0 / 489.9 MB, free: 4.668 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.4026, allocations: 0 / 489.9 MB, free: 4.668 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001965/0.4046, allocations: 1.642 MB / 491.5 MB, free: 2.957 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001071/0.4056, allocations: 0.6785 MB / 492.2 MB, free: 2.258 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001596/0.4058, allocations: 59.92 kB / 492.3 MB, free: 2.199 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003149/0.4061, allocations: 43.97 kB / 492.3 MB, free: 2.156 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005173/0.4067, allocations: 379.5 kB / 492.7 MB, free: 1.785 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001373/0.4068, allocations: 135.9 kB / 492.8 MB, free: 1.652 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001764/0.4086, allocations: 1.349 MB / 494.2 MB, free: 308 kB / 362.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.4086, allocations: 0 / 494.2 MB, free: 308 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004662/0.4091, allocations: 144 kB / 494.3 MB, free: 164 kB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,enable.y,data_0.y,reset.y,data_1.y,set.y,dLATREGSRL.delay.inertialDelaySensitive[1].x,dLATREGSRL.delay.inertialDelaySensitive[1].y,dLATREGSRL.delay.inertialDelaySensitive[1].delayTime,dLATREGSRL.delay.inertialDelaySensitive[1].y_auxiliary,dLATREGSRL.delay.inertialDelaySensitive[1].y_old,dLATREGSRL.delay.inertialDelaySensitive[1].lh,dLATREGSRL.delay.inertialDelaySensitive[1].t_next,dLATREGSRL.delay.inertialDelaySensitive[2].x,dLATREGSRL.delay.inertialDelaySensitive[2].y,dLATREGSRL.delay.inertialDelaySensitive[2].delayTime,dLATREGSRL.delay.inertialDelaySensitive[2].y_auxiliary,dLATREGSRL.delay.inertialDelaySensitive[2].y_old,dLATREGSRL.delay.inertialDelaySensitive[2].lh,dLATREGSRL.delay.inertialDelaySensitive[2].t_next,dLATREGSRL.dLATSR.dataIn[1],dLATREGSRL.dLATSR.dataIn[2],dLATREGSRL.dLATSR.dataOut[1],dLATREGSRL.dLATSR.dataOut[2],dLATREGSRL.dLATSR.enable_flag,dLATREGSRL.dLATSR.reset_set_flag,dLATREGSRL.dLATSR.nextstate[1],dLATREGSRL.dLATSR.nextstate[2],dLATREGSRL.dLATSR.next_assign_val[1],dLATREGSRL.dLATSR.next_assign_val[2]) * Number of discrete states: 31 (enable.y,data_0.y,reset.y,data_1.y,set.y,dLATREGSRL.dLATSR.dataOut[2],dLATREGSRL.dLATSR.dataOut[1],dLATREGSRL.dLATSR.next_assign_val[2],dLATREGSRL.dLATSR.next_assign_val[1],dLATREGSRL.dLATSR.nextstate[2],dLATREGSRL.dLATSR.nextstate[1],dLATREGSRL.dLATSR.reset_set_flag,dLATREGSRL.dLATSR.enable_flag,dLATREGSRL.delay.inertialDelaySensitive[2].y,dLATREGSRL.delay.inertialDelaySensitive[2].y_auxiliary,dLATREGSRL.delay.inertialDelaySensitive[2].t_next,dLATREGSRL.delay.inertialDelaySensitive[2].delayTime,dLATREGSRL.delay.inertialDelaySensitive[2].lh,dLATREGSRL.delay.inertialDelaySensitive[2].y_old,$whenCondition2,$whenCondition1,dLATREGSRL.delay.inertialDelaySensitive[2].x,dLATREGSRL.delay.inertialDelaySensitive[1].y,dLATREGSRL.delay.inertialDelaySensitive[1].y_auxiliary,dLATREGSRL.delay.inertialDelaySensitive[1].t_next,dLATREGSRL.delay.inertialDelaySensitive[1].delayTime,dLATREGSRL.delay.inertialDelaySensitive[1].lh,dLATREGSRL.delay.inertialDelaySensitive[1].y_old,$whenCondition4,$whenCondition3,dLATREGSRL.delay.inertialDelaySensitive[1].x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 8 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002354/0.4093, allocations: 190.3 kB / 494.5 MB, free: 15.97 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001901/0.4112, allocations: 1.936 MB / 496.4 MB, free: 13.93 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.4112, allocations: 0 / 496.4 MB, free: 13.93 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001245/0.4125, allocations: 1.436 MB / 497.9 MB, free: 12.4 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009817/0.4135, allocations: 295 kB / 498.1 MB, free: 12.12 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003781/0.4173, allocations: 3.15 MB / 0.4896 GB, free: 8.93 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009544/0.4182, allocations: 1.227 MB / 0.4907 GB, free: 7.672 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001402/0.4184, allocations: 39.52 kB / 0.4908 GB, free: 7.637 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.475e-05/0.4184, allocations: 19.38 kB / 0.4908 GB, free: 7.621 MB / 378.7 MB Notification: Performance of SimCode: time 6.91e-07/0.4184, allocations: 0 / 0.4908 GB, free: 7.621 MB / 378.7 MB Notification: Performance of Templates: time 0.01777/0.4362, allocations: 15.23 MB / 0.5057 GB, free: 8.035 MB / 394.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DLATREGSRL.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DLATREGSRL.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DLATREGSRL.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DLATREGSRL.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DLATREGSRL.sim & ./Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DLATREGSRL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DLATREGSRL.pipe 2>&1)