Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DLATREG.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.DLATREG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DLATREG") translateModel(Modelica.Electrical.Digital.Examples.DLATREG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DLATREG") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009934/0.0009934, allocations: 180.1 kB / 16.38 MB, free: 5.766 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.114/1.114, allocations: 194.5 MB / 211.6 MB, free: 3.043 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.001659/0.001659, allocations: 115.6 kB / 256.9 MB, free: 4.332 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003407/0.0003408, allocations: 11.98 kB / 310.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09003/0.09039, allocations: 44.5 MB / 355.1 MB, free: 2.332 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2477/0.3382, allocations: 77.79 MB / 432.9 MB, free: 11.71 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002071/0.3384, allocations: 65.16 kB / 432.9 MB, free: 11.68 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04244/0.3809, allocations: 26.64 MB / 459.6 MB, free: 3.859 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3809, allocations: 0 / 459.6 MB, free: 3.859 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.824e-05/0.381, allocations: 8 kB / 459.6 MB, free: 3.852 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001087/0.3821, allocations: 1.136 MB / 460.7 MB, free: 2.621 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.3821, allocations: 8.031 kB / 460.7 MB, free: 2.613 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000125/0.3822, allocations: 83.06 kB / 460.8 MB, free: 2.531 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005756/0.3828, allocations: 415.5 kB / 461.2 MB, free: 2.082 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.762e-05/0.3829, allocations: 24 kB / 461.2 MB, free: 2.059 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.886e-05/0.3829, allocations: 23.95 kB / 461.2 MB, free: 2.035 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007798/0.3837, allocations: 0.4983 MB / 461.7 MB, free: 1.527 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.166e-06/0.3837, allocations: 0 / 461.7 MB, free: 1.527 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.77e-05/0.3838, allocations: 12 kB / 461.7 MB, free: 1.516 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.3838, allocations: 4 kB / 461.8 MB, free: 1.512 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005449/0.3844, allocations: 364.1 kB / 462.1 MB, free: 1.156 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001339/0.3857, allocations: 0.9223 MB / 463 MB, free: 188 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000629/0.3863, allocations: 0.4987 MB / 463.5 MB, free: 15.67 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.176e-05/0.3864, allocations: 4 kB / 463.5 MB, free: 15.66 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007656/0.3871, allocations: 0.6381 MB / 464.2 MB, free: 14.99 MB / 346.7 MB Notification: Performance of pre-optimization done (n=32): time 1.804e-06/0.3872, allocations: 4 kB / 464.2 MB, free: 14.99 MB / 346.7 MB Notification: Performance of matching and sorting (n=32): time 0.00217/0.3893, allocations: 1.744 MB / 465.9 MB, free: 13.14 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001729/0.3895, allocations: 287.2 kB / 466.2 MB, free: 12.8 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001227/0.3908, allocations: 1.027 MB / 467.2 MB, free: 11.77 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.452e-05/0.3908, allocations: 41.7 kB / 467.3 MB, free: 11.73 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.3909, allocations: 149.9 kB / 467.4 MB, free: 11.57 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.231e-05/0.391, allocations: 67.25 kB / 467.5 MB, free: 11.51 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.036e-05/0.3911, allocations: 12 kB / 467.5 MB, free: 11.5 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.3912, allocations: 342.8 kB / 467.8 MB, free: 11.15 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004813/0.3917, allocations: 343.8 kB / 468.2 MB, free: 10.82 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004926/0.3922, allocations: 374.3 kB / 468.5 MB, free: 10.44 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005007/0.3927, allocations: 0.4967 MB / 469 MB, free: 9.898 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.3927, allocations: 0 / 469 MB, free: 9.898 MB / 346.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001399/0.3942, allocations: 1.105 MB / 470.1 MB, free: 8.746 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001816/0.3943, allocations: 251.8 kB / 470.4 MB, free: 8.457 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.3944, allocations: 0 / 470.4 MB, free: 8.457 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.3944, allocations: 0 / 470.4 MB, free: 8.457 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.966e-05/0.3944, allocations: 4 kB / 470.4 MB, free: 8.453 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.3944, allocations: 7.891 kB / 470.4 MB, free: 8.445 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002699/0.3947, allocations: 47.94 kB / 470.4 MB, free: 8.398 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001562/0.3949, allocations: 123.9 kB / 470.6 MB, free: 8.277 MB / 346.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: 36 ($PRE.dLATREG.delay.inertialDelaySensitive[2].y,$PRE.dLATREG.delay.inertialDelaySensitive[1].y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,enable.y,data_0.y,reset.y,data_1.y,$PRE.dLATREG.delay.inertialDelaySensitive[1].x,dLATREG.delay.inertialDelaySensitive[1].x,dLATREG.delay.inertialDelaySensitive[1].y,dLATREG.delay.inertialDelaySensitive[1].delayTime,dLATREG.delay.inertialDelaySensitive[1].y_auxiliary,dLATREG.delay.inertialDelaySensitive[1].y_old,dLATREG.delay.inertialDelaySensitive[1].lh,dLATREG.delay.inertialDelaySensitive[1].t_next,$PRE.dLATREG.delay.inertialDelaySensitive[2].x,dLATREG.delay.inertialDelaySensitive[2].x,dLATREG.delay.inertialDelaySensitive[2].y,dLATREG.delay.inertialDelaySensitive[2].delayTime,dLATREG.delay.inertialDelaySensitive[2].y_auxiliary,dLATREG.delay.inertialDelaySensitive[2].y_old,dLATREG.delay.inertialDelaySensitive[2].lh,dLATREG.delay.inertialDelaySensitive[2].t_next,dLATREG.dLATR.dataIn[1],dLATREG.dLATR.dataIn[2],dLATREG.dLATR.dataOut[1],dLATREG.dLATR.dataOut[2],dLATREG.dLATR.enable_flag,dLATREG.dLATR.reset_flag,dLATREG.dLATR.nextstate[1],dLATREG.dLATR.nextstate[2],dLATREG.dLATR.next_assign_val[1],dLATREG.dLATR.next_assign_val[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 7 * 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.0008642/0.3957, allocations: 0.7685 MB / 471.3 MB, free: 7.453 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001112/0.3959, allocations: 83.06 kB / 471.4 MB, free: 7.371 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000227/0.3961, allocations: 147.5 kB / 471.5 MB, free: 7.227 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.3961, allocations: 0 / 471.5 MB, free: 7.227 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.3961, allocations: 7.938 kB / 471.6 MB, free: 7.219 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.3961, allocations: 3.953 kB / 471.6 MB, free: 7.215 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00237/0.3985, allocations: 1.954 MB / 473.5 MB, free: 5.16 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.3985, allocations: 0 / 473.5 MB, free: 5.16 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.474e-06/0.3985, allocations: 0 / 473.5 MB, free: 5.16 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.828e-06/0.3985, allocations: 3.984 kB / 473.5 MB, free: 5.156 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.381e-05/0.3986, allocations: 31.98 kB / 473.5 MB, free: 5.125 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.3986, allocations: 4 kB / 473.6 MB, free: 5.121 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.3986, allocations: 3.953 kB / 473.6 MB, free: 5.117 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001653/0.4003, allocations: 1.369 MB / 474.9 MB, free: 3.688 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008063/0.4011, allocations: 0.5621 MB / 475.5 MB, free: 3.105 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001351/0.4012, allocations: 55.97 kB / 475.5 MB, free: 3.051 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002635/0.4015, allocations: 43.81 kB / 475.6 MB, free: 3.008 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003613/0.4019, allocations: 243.6 kB / 475.8 MB, free: 2.77 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001405/0.402, allocations: 127.9 kB / 475.9 MB, free: 2.645 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001004/0.403, allocations: 0.8538 MB / 476.8 MB, free: 1.793 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4031, allocations: 4 kB / 476.8 MB, free: 1.789 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004164/0.4035, allocations: 124 kB / 476.9 MB, free: 1.668 MB / 346.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: 32 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,enable.y,data_0.y,reset.y,data_1.y,dLATREG.delay.inertialDelaySensitive[1].x,dLATREG.delay.inertialDelaySensitive[1].y,dLATREG.delay.inertialDelaySensitive[1].delayTime,dLATREG.delay.inertialDelaySensitive[1].y_auxiliary,dLATREG.delay.inertialDelaySensitive[1].y_old,dLATREG.delay.inertialDelaySensitive[1].lh,dLATREG.delay.inertialDelaySensitive[1].t_next,dLATREG.delay.inertialDelaySensitive[2].x,dLATREG.delay.inertialDelaySensitive[2].y,dLATREG.delay.inertialDelaySensitive[2].delayTime,dLATREG.delay.inertialDelaySensitive[2].y_auxiliary,dLATREG.delay.inertialDelaySensitive[2].y_old,dLATREG.delay.inertialDelaySensitive[2].lh,dLATREG.delay.inertialDelaySensitive[2].t_next,dLATREG.dLATR.dataIn[1],dLATREG.dLATR.dataIn[2],dLATREG.dLATR.dataOut[1],dLATREG.dLATR.dataOut[2],dLATREG.dLATR.enable_flag,dLATREG.dLATR.reset_flag,dLATREG.dLATR.nextstate[1],dLATREG.dLATR.nextstate[2],dLATREG.dLATR.next_assign_val[1],dLATREG.dLATR.next_assign_val[2]) * Number of discrete states: 30 (enable.y,data_0.y,reset.y,data_1.y,dLATREG.dLATR.dataOut[2],dLATREG.dLATR.dataOut[1],dLATREG.dLATR.next_assign_val[2],dLATREG.dLATR.next_assign_val[1],dLATREG.dLATR.nextstate[2],dLATREG.dLATR.nextstate[1],dLATREG.dLATR.reset_flag,dLATREG.dLATR.enable_flag,dLATREG.delay.inertialDelaySensitive[1].y,dLATREG.delay.inertialDelaySensitive[1].y_auxiliary,dLATREG.delay.inertialDelaySensitive[1].t_next,dLATREG.delay.inertialDelaySensitive[1].delayTime,dLATREG.delay.inertialDelaySensitive[1].lh,dLATREG.delay.inertialDelaySensitive[1].y_old,$whenCondition4,$whenCondition3,dLATREG.delay.inertialDelaySensitive[1].x,dLATREG.delay.inertialDelaySensitive[2].y,dLATREG.delay.inertialDelaySensitive[2].y_auxiliary,dLATREG.delay.inertialDelaySensitive[2].t_next,dLATREG.delay.inertialDelaySensitive[2].delayTime,dLATREG.delay.inertialDelaySensitive[2].lh,dLATREG.delay.inertialDelaySensitive[2].y_old,$whenCondition2,$whenCondition1,dLATREG.delay.inertialDelaySensitive[2].x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 7 * 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.0002225/0.4037, allocations: 180.4 kB / 477.1 MB, free: 1.484 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00154/0.4053, allocations: 1.534 MB / 478.6 MB, free: 15.86 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.4053, allocations: 0 / 478.6 MB, free: 15.86 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009526/0.4062, allocations: 1.154 MB / 479.8 MB, free: 14.62 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008742/0.4071, allocations: 256.3 kB / 480 MB, free: 14.38 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002533/0.4097, allocations: 2.135 MB / 482.2 MB, free: 12.21 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007121/0.4104, allocations: 1.035 MB / 483.2 MB, free: 11.15 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001173/0.4105, allocations: 41.5 kB / 483.3 MB, free: 11.11 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.617e-05/0.4105, allocations: 15.44 kB / 483.3 MB, free: 11.09 MB / 362.7 MB Notification: Performance of SimCode: time 2.61e-07/0.4105, allocations: 3.938 kB / 483.3 MB, free: 11.09 MB / 362.7 MB Notification: Performance of Templates: time 0.01456/0.4251, allocations: 12.64 MB / 495.9 MB, free: 14.2 MB / 378.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DLATREG.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DLATREG.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DLATREG.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DLATREG.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DLATREG.sim & ./Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DLATREG -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DLATREG.pipe 2>&1)