Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DLATREGL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.DLATREGL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DLATREGL") translateModel(Modelica.Electrical.Digital.Examples.DLATREGL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DLATREGL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001569/0.001569, allocations: 171.3 kB / 7.638 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.198/1.198, allocations: 170.6 MB / 178.7 MB, free: 15.59 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001598/0.001598, allocations: 99.45 kB / 218 MB, free: 8.348 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.518e-05/1.519e-05, allocations: 4 kB / 262.2 MB, free: 26.41 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06743/0.06746, allocations: 38.78 MB / 301 MB, free: 3.633 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2675/0.335, allocations: 71.76 MB / 372.7 MB, free: 12.58 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002085/0.3353, allocations: 67.66 kB / 372.8 MB, free: 12.54 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0616/0.3969, allocations: 33.05 MB / 405.9 MB, free: 1.703 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.213e-06/0.3969, allocations: 3.938 kB / 405.9 MB, free: 1.699 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.346e-05/0.397, allocations: 16 kB / 405.9 MB, free: 1.684 MB / 282.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.001155/0.3981, allocations: 1.003 MB / 406.9 MB, free: 0.6445 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.3982, allocations: 8.031 kB / 406.9 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001346/0.3983, allocations: 87 kB / 407 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005566/0.3989, allocations: 426.3 kB / 407.4 MB, free: 128 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.513e-05/0.3989, allocations: 14.88 kB / 407.4 MB, free: 116 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.35e-05/0.399, allocations: 16 kB / 407.4 MB, free: 100 kB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000487/0.3995, allocations: 338.7 kB / 407.8 MB, free: 15.86 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006891/0.4002, allocations: 466.9 kB / 408.2 MB, free: 15.4 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.4002, allocations: 0 / 408.2 MB, free: 15.4 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.615e-05/0.4003, allocations: 12 kB / 408.2 MB, free: 15.39 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/0.4003, allocations: 8 kB / 408.2 MB, free: 15.38 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001439/0.4018, allocations: 0.8834 MB / 409.1 MB, free: 14.46 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005552/0.4023, allocations: 482.7 kB / 409.6 MB, free: 13.97 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005126/0.4029, allocations: 472.9 kB / 410.1 MB, free: 13.51 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.693e-05/0.4029, allocations: 3.953 kB / 410.1 MB, free: 13.5 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007446/0.4036, allocations: 0.6227 MB / 410.7 MB, free: 12.84 MB / 298.7 MB Notification: Performance of pre-optimization done (n=32): time 4.208e-06/0.4037, allocations: 112 / 410.7 MB, free: 12.84 MB / 298.7 MB Notification: Performance of matching and sorting (n=32): time 0.001315/0.405, allocations: 0.8519 MB / 411.5 MB, free: 11.98 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001581/0.4052, allocations: 283.3 kB / 411.8 MB, free: 11.65 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001278/0.4064, allocations: 0.9683 MB / 412.8 MB, free: 10.67 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.77e-05/0.4065, allocations: 41.7 kB / 412.8 MB, free: 10.62 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001109/0.4066, allocations: 149.9 kB / 413 MB, free: 10.48 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.739e-05/0.4067, allocations: 79.09 kB / 413 MB, free: 10.4 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.087e-05/0.4068, allocations: 8 kB / 413 MB, free: 10.39 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.4069, allocations: 338.8 kB / 413.4 MB, free: 10.05 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004251/0.4074, allocations: 327.7 kB / 413.7 MB, free: 9.73 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003992/0.4078, allocations: 331.7 kB / 414 MB, free: 9.406 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002985/0.4081, allocations: 227.9 kB / 414.2 MB, free: 9.184 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.4081, allocations: 0 / 414.2 MB, free: 9.184 MB / 298.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001226/0.4093, allocations: 0.8092 MB / 415.1 MB, free: 8.367 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002329/0.4096, allocations: 255.7 kB / 415.3 MB, free: 8.074 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.4096, allocations: 0 / 415.3 MB, free: 8.074 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/0.4096, allocations: 3.938 kB / 415.3 MB, free: 8.07 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.648e-05/0.4097, allocations: 11.92 kB / 415.3 MB, free: 8.059 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.4097, allocations: 0 / 415.3 MB, free: 8.059 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003516/0.41, allocations: 39.83 kB / 415.4 MB, free: 8.02 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001545/0.4102, allocations: 127.9 kB / 415.5 MB, free: 7.895 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 36 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,enable.y,data_0.y,reset.y,data_1.y,$PRE.dLATREGL.delay.inertialDelaySensitive[1].x,dLATREGL.delay.inertialDelaySensitive[1].x,$PRE.dLATREGL.delay.inertialDelaySensitive[1].y,dLATREGL.delay.inertialDelaySensitive[1].y,dLATREGL.delay.inertialDelaySensitive[1].delayTime,dLATREGL.delay.inertialDelaySensitive[1].y_auxiliary,dLATREGL.delay.inertialDelaySensitive[1].y_old,dLATREGL.delay.inertialDelaySensitive[1].lh,dLATREGL.delay.inertialDelaySensitive[1].t_next,$PRE.dLATREGL.delay.inertialDelaySensitive[2].x,dLATREGL.delay.inertialDelaySensitive[2].x,$PRE.dLATREGL.delay.inertialDelaySensitive[2].y,dLATREGL.delay.inertialDelaySensitive[2].y,dLATREGL.delay.inertialDelaySensitive[2].delayTime,dLATREGL.delay.inertialDelaySensitive[2].y_auxiliary,dLATREGL.delay.inertialDelaySensitive[2].y_old,dLATREGL.delay.inertialDelaySensitive[2].lh,dLATREGL.delay.inertialDelaySensitive[2].t_next,dLATREGL.dLATR.dataIn[1],dLATREGL.dLATR.dataIn[2],dLATREGL.dLATR.dataOut[1],dLATREGL.dLATR.dataOut[2],dLATREGL.dLATR.enable_flag,dLATREGL.dLATR.reset_flag,dLATREGL.dLATR.nextstate[1],dLATREGL.dLATR.nextstate[2],dLATREGL.dLATR.next_assign_val[1],dLATREGL.dLATR.next_assign_val[2]) * Number of discrete 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.0003987/0.4106, allocations: 402.1 kB / 415.9 MB, free: 7.449 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001261/0.4107, allocations: 83.06 kB / 416 MB, free: 7.367 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003735/0.4111, allocations: 155.9 kB / 416.1 MB, free: 7.211 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.4111, allocations: 4 kB / 416.1 MB, free: 7.207 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.4111, allocations: 0 / 416.1 MB, free: 7.207 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.4111, allocations: 0 / 416.1 MB, free: 7.207 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002065/0.4132, allocations: 1.576 MB / 417.7 MB, free: 5.586 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.4132, allocations: 0 / 417.7 MB, free: 5.586 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.498e-06/0.4133, allocations: 0 / 417.7 MB, free: 5.586 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.4133, allocations: 0 / 417.7 MB, free: 5.586 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.024e-05/0.4133, allocations: 39.92 kB / 417.7 MB, free: 5.547 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.4133, allocations: 0 / 417.7 MB, free: 5.547 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.4134, allocations: 4 kB / 417.7 MB, free: 5.543 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001456/0.4148, allocations: 1.045 MB / 418.8 MB, free: 4.48 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008467/0.4157, allocations: 0.5659 MB / 419.3 MB, free: 3.895 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001535/0.4158, allocations: 51.97 kB / 419.4 MB, free: 3.844 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003044/0.4161, allocations: 39.92 kB / 419.4 MB, free: 3.805 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004061/0.4166, allocations: 231.7 kB / 419.7 MB, free: 3.578 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001647/0.4167, allocations: 131.9 kB / 419.8 MB, free: 3.449 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.001065/0.4178, allocations: 0.8031 MB / 420.6 MB, free: 2.652 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4178, allocations: 4 kB / 420.6 MB, free: 2.648 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004507/0.4183, allocations: 120 kB / 420.7 MB, free: 2.531 MB / 298.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,dLATREGL.delay.inertialDelaySensitive[1].x,dLATREGL.delay.inertialDelaySensitive[1].y,dLATREGL.delay.inertialDelaySensitive[1].delayTime,dLATREGL.delay.inertialDelaySensitive[1].y_auxiliary,dLATREGL.delay.inertialDelaySensitive[1].y_old,dLATREGL.delay.inertialDelaySensitive[1].lh,dLATREGL.delay.inertialDelaySensitive[1].t_next,dLATREGL.delay.inertialDelaySensitive[2].x,dLATREGL.delay.inertialDelaySensitive[2].y,dLATREGL.delay.inertialDelaySensitive[2].delayTime,dLATREGL.delay.inertialDelaySensitive[2].y_auxiliary,dLATREGL.delay.inertialDelaySensitive[2].y_old,dLATREGL.delay.inertialDelaySensitive[2].lh,dLATREGL.delay.inertialDelaySensitive[2].t_next,dLATREGL.dLATR.dataIn[1],dLATREGL.dLATR.dataIn[2],dLATREGL.dLATR.dataOut[1],dLATREGL.dLATR.dataOut[2],dLATREGL.dLATR.enable_flag,dLATREGL.dLATR.reset_flag,dLATREGL.dLATR.nextstate[1],dLATREGL.dLATR.nextstate[2],dLATREGL.dLATR.next_assign_val[1],dLATREGL.dLATR.next_assign_val[2]) * Number of discrete states: 30 (enable.y,data_0.y,reset.y,data_1.y,dLATREGL.dLATR.dataOut[2],dLATREGL.dLATR.dataOut[1],dLATREGL.dLATR.next_assign_val[2],dLATREGL.dLATR.next_assign_val[1],dLATREGL.dLATR.nextstate[2],dLATREGL.dLATR.nextstate[1],dLATREGL.dLATR.reset_flag,dLATREGL.dLATR.enable_flag,dLATREGL.delay.inertialDelaySensitive[1].y,dLATREGL.delay.inertialDelaySensitive[1].y_auxiliary,dLATREGL.delay.inertialDelaySensitive[1].t_next,dLATREGL.delay.inertialDelaySensitive[1].delayTime,dLATREGL.delay.inertialDelaySensitive[1].lh,dLATREGL.delay.inertialDelaySensitive[1].y_old,$whenCondition4,$whenCondition3,dLATREGL.delay.inertialDelaySensitive[1].x,dLATREGL.delay.inertialDelaySensitive[2].y,dLATREGL.delay.inertialDelaySensitive[2].y_auxiliary,dLATREGL.delay.inertialDelaySensitive[2].t_next,dLATREGL.delay.inertialDelaySensitive[2].delayTime,dLATREGL.delay.inertialDelaySensitive[2].lh,dLATREGL.delay.inertialDelaySensitive[2].y_old,$whenCondition2,$whenCondition1,dLATREGL.delay.inertialDelaySensitive[2].x) * 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.000269/0.4186, allocations: 181.6 kB / 420.9 MB, free: 2.348 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001747/0.4203, allocations: 1.46 MB / 422.4 MB, free: 0.8008 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.4203, allocations: 0 / 422.4 MB, free: 0.8008 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001028/0.4214, allocations: 1.117 MB / 423.5 MB, free: 15.6 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001195/0.4226, allocations: 272 kB / 423.7 MB, free: 15.33 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002856/0.4254, allocations: 1.653 MB / 425.4 MB, free: 13.65 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007326/0.4262, allocations: 1.035 MB / 426.4 MB, free: 12.59 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001656/0.4264, allocations: 41.81 kB / 426.5 MB, free: 12.55 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.091e-05/0.4264, allocations: 19.38 kB / 426.5 MB, free: 12.53 MB / 314.7 MB Notification: Performance of SimCode: time 1.012e-06/0.4264, allocations: 0 / 426.5 MB, free: 12.53 MB / 314.7 MB Notification: Performance of Templates: time 0.01656/0.443, allocations: 12.22 MB / 438.7 MB, free: 32 kB / 314.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DLATREGL.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DLATREGL.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DLATREGL.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DLATREGL.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DLATREGL.sim & ./Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DLATREGL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DLATREGL.pipe 2>&1)