Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DFFREGL.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.DFFREGL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DFFREGL") translateModel(Modelica.Electrical.Digital.Examples.DFFREGL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DFFREGL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009936/0.0009937, allocations: 179.9 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.153/1.153, allocations: 194.5 MB / 211.6 MB, free: 3.051 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.001549/0.001549, allocations: 112.4 kB / 256.9 MB, free: 4.336 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000283/0.000283, allocations: 8 kB / 310.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07902/0.07932, allocations: 44.5 MB / 355.1 MB, free: 2.336 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.224/0.3034, allocations: 78 MB / 433.1 MB, free: 11.57 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001524/0.3036, allocations: 66.28 kB / 433.1 MB, free: 11.54 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06194/0.3655, allocations: 37.49 MB / 470.6 MB, free: 8.762 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3656, allocations: 0 / 470.6 MB, free: 8.762 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.809e-05/0.3656, allocations: 8 kB / 470.6 MB, free: 8.754 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001085/0.3667, allocations: 1.135 MB / 471.8 MB, free: 7.523 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.271e-05/0.3667, allocations: 8.031 kB / 471.8 MB, free: 7.516 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00013/0.3669, allocations: 86.97 kB / 471.9 MB, free: 7.43 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006132/0.3675, allocations: 419.6 kB / 472.3 MB, free: 6.98 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.706e-05/0.3675, allocations: 27.98 kB / 472.3 MB, free: 6.953 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.42e-05/0.3676, allocations: 24 kB / 472.3 MB, free: 6.93 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007732/0.3684, allocations: 0.5137 MB / 472.8 MB, free: 6.406 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.703e-06/0.3684, allocations: 0 / 472.8 MB, free: 6.406 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.247e-05/0.3685, allocations: 12 kB / 472.8 MB, free: 6.395 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.3685, allocations: 4 kB / 472.8 MB, free: 6.391 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005312/0.369, allocations: 372 kB / 473.2 MB, free: 6.027 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001282/0.3703, allocations: 0.8599 MB / 474.1 MB, free: 5.117 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006216/0.3709, allocations: 0.514 MB / 474.6 MB, free: 4.594 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.056e-05/0.3709, allocations: 3.953 kB / 474.6 MB, free: 4.59 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007596/0.3717, allocations: 0.6586 MB / 475.2 MB, free: 3.891 MB / 346.7 MB Notification: Performance of pre-optimization done (n=34): time 1.943e-06/0.3717, allocations: 0 / 475.2 MB, free: 3.891 MB / 346.7 MB Notification: Performance of matching and sorting (n=34): time 0.002161/0.3739, allocations: 1.795 MB / 477 MB, free: 1.992 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001406/0.374, allocations: 275.3 kB / 477.3 MB, free: 1.668 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001183/0.3752, allocations: 1.035 MB / 478.3 MB, free: 0.625 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.977e-05/0.3753, allocations: 45.69 kB / 478.4 MB, free: 0.5742 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.32e-05/0.3754, allocations: 153.9 kB / 478.5 MB, free: 432 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.478e-05/0.3755, allocations: 71.17 kB / 478.6 MB, free: 360 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.715e-05/0.3756, allocations: 12 kB / 478.6 MB, free: 348 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001181/0.3757, allocations: 346.8 kB / 479 MB, free: 15.99 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004768/0.3762, allocations: 348.1 kB / 479.3 MB, free: 15.65 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004882/0.3767, allocations: 386.9 kB / 479.7 MB, free: 15.27 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004878/0.3772, allocations: 488.4 kB / 480.2 MB, free: 14.75 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.3772, allocations: 8 kB / 480.2 MB, free: 14.74 MB / 362.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001452/0.3786, allocations: 1.145 MB / 481.3 MB, free: 13.54 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001564/0.3788, allocations: 241.1 kB / 481.5 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.3788, allocations: 0 / 481.5 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.3788, allocations: 4 kB / 481.5 MB, free: 13.26 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.268e-05/0.3789, allocations: 0 / 481.5 MB, free: 13.26 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.3789, allocations: 4 kB / 481.5 MB, free: 13.26 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002755/0.3792, allocations: 47.81 kB / 481.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001604/0.3793, allocations: 160.2 kB / 481.8 MB, free: 13.05 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: 40 ($PRE.dFFREGL.delay.inertialDelaySensitive[2].y,$PRE.dFFREGL.delay.inertialDelaySensitive[1].y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,clock.y,data_0.y,reset.y,data_1.y,$PRE.dFFREGL.delay.inertialDelaySensitive[1].x,dFFREGL.delay.inertialDelaySensitive[1].x,dFFREGL.delay.inertialDelaySensitive[1].y,dFFREGL.delay.inertialDelaySensitive[1].delayTime,dFFREGL.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGL.delay.inertialDelaySensitive[1].y_old,dFFREGL.delay.inertialDelaySensitive[1].lh,dFFREGL.delay.inertialDelaySensitive[1].t_next,$PRE.dFFREGL.delay.inertialDelaySensitive[2].x,dFFREGL.delay.inertialDelaySensitive[2].x,dFFREGL.delay.inertialDelaySensitive[2].y,dFFREGL.delay.inertialDelaySensitive[2].delayTime,dFFREGL.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGL.delay.inertialDelaySensitive[2].y_old,dFFREGL.delay.inertialDelaySensitive[2].lh,dFFREGL.delay.inertialDelaySensitive[2].t_next,$PRE.dFFREGL.dFFR.reset,dFFREGL.dFFR.reset,$PRE.dFFREGL.dFFR.clock,dFFREGL.dFFR.clock,dFFREGL.dFFR.dataIn[1],dFFREGL.dFFR.dataIn[2],dFFREGL.dFFR.dataOut[1],dFFREGL.dFFR.dataOut[2],dFFREGL.dFFR.clock_flag,dFFREGL.dFFR.reset_flag,dFFREGL.dFFR.nextstate[1],dFFREGL.dFFR.nextstate[2],dFFREGL.dFFR.next_assign_val[1],dFFREGL.dFFR.next_assign_val[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 12 * 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.0007429/0.3801, allocations: 0.7562 MB / 482.5 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001072/0.3802, allocations: 94.95 kB / 482.6 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002029/0.3804, allocations: 151.7 kB / 482.7 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.3804, allocations: 4 kB / 482.8 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.3804, allocations: 0 / 482.8 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.3804, allocations: 0 / 482.8 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002292/0.3827, allocations: 1.969 MB / 484.7 MB, free: 9.918 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.3827, allocations: 7.984 kB / 484.7 MB, free: 9.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.312e-05/0.3828, allocations: 8 kB / 484.7 MB, free: 9.902 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.3828, allocations: 0 / 484.7 MB, free: 9.902 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.358e-05/0.3828, allocations: 39.97 kB / 484.8 MB, free: 9.863 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.3829, allocations: 0 / 484.8 MB, free: 9.863 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.3829, allocations: 0 / 484.8 MB, free: 9.863 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0017/0.3846, allocations: 1.393 MB / 486.2 MB, free: 8.41 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008748/0.3855, allocations: 0.5698 MB / 486.7 MB, free: 7.82 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001438/0.3856, allocations: 59.95 kB / 486.8 MB, free: 7.762 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002735/0.3859, allocations: 27.98 kB / 486.8 MB, free: 7.734 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003462/0.3862, allocations: 235.7 kB / 487.1 MB, free: 7.504 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001519/0.3864, allocations: 163.9 kB / 487.2 MB, free: 7.344 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001062/0.3875, allocations: 0.8616 MB / 488.1 MB, free: 6.488 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.343e-06/0.3875, allocations: 0 / 488.1 MB, free: 6.488 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004333/0.3879, allocations: 131.9 kB / 488.2 MB, free: 6.359 MB / 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: 34 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,clock.y,data_0.y,reset.y,data_1.y,dFFREGL.delay.inertialDelaySensitive[1].x,dFFREGL.delay.inertialDelaySensitive[1].y,dFFREGL.delay.inertialDelaySensitive[1].delayTime,dFFREGL.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGL.delay.inertialDelaySensitive[1].y_old,dFFREGL.delay.inertialDelaySensitive[1].lh,dFFREGL.delay.inertialDelaySensitive[1].t_next,dFFREGL.delay.inertialDelaySensitive[2].x,dFFREGL.delay.inertialDelaySensitive[2].y,dFFREGL.delay.inertialDelaySensitive[2].delayTime,dFFREGL.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGL.delay.inertialDelaySensitive[2].y_old,dFFREGL.delay.inertialDelaySensitive[2].lh,dFFREGL.delay.inertialDelaySensitive[2].t_next,dFFREGL.dFFR.reset,dFFREGL.dFFR.clock,dFFREGL.dFFR.dataIn[1],dFFREGL.dFFR.dataIn[2],dFFREGL.dFFR.dataOut[1],dFFREGL.dFFR.dataOut[2],dFFREGL.dFFR.clock_flag,dFFREGL.dFFR.reset_flag,dFFREGL.dFFR.nextstate[1],dFFREGL.dFFR.nextstate[2],dFFREGL.dFFR.next_assign_val[1],dFFREGL.dFFR.next_assign_val[2]) * Number of discrete states: 32 (data_1.y,reset.y,data_0.y,clock.y,dFFREGL.dFFR.dataOut[2],dFFREGL.dFFR.dataOut[1],dFFREGL.dFFR.next_assign_val[2],dFFREGL.dFFR.next_assign_val[1],dFFREGL.dFFR.nextstate[2],dFFREGL.dFFR.nextstate[1],dFFREGL.dFFR.reset_flag,dFFREGL.dFFR.clock_flag,dFFREGL.dFFR.clock,dFFREGL.dFFR.reset,dFFREGL.delay.inertialDelaySensitive[1].y,dFFREGL.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGL.delay.inertialDelaySensitive[1].t_next,dFFREGL.delay.inertialDelaySensitive[1].delayTime,dFFREGL.delay.inertialDelaySensitive[1].lh,dFFREGL.delay.inertialDelaySensitive[1].y_old,$whenCondition2,$whenCondition1,dFFREGL.delay.inertialDelaySensitive[1].x,dFFREGL.delay.inertialDelaySensitive[2].y,dFFREGL.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGL.delay.inertialDelaySensitive[2].t_next,dFFREGL.delay.inertialDelaySensitive[2].delayTime,dFFREGL.delay.inertialDelaySensitive[2].lh,dFFREGL.delay.inertialDelaySensitive[2].y_old,$whenCondition4,$whenCondition3,dFFREGL.delay.inertialDelaySensitive[2].x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 6 * 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.0002138/0.3881, allocations: 184.4 kB / 488.4 MB, free: 6.172 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001576/0.3897, allocations: 1.519 MB / 489.9 MB, free: 4.566 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.3897, allocations: 0 / 489.9 MB, free: 4.566 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009334/0.3907, allocations: 1.125 MB / 491 MB, free: 3.355 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009075/0.3916, allocations: 277.9 kB / 491.3 MB, free: 3.086 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002722/0.3943, allocations: 2.154 MB / 493.5 MB, free: 0.9023 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006839/0.395, allocations: 1.031 MB / 494.5 MB, free: 15.84 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001408/0.3952, allocations: 45.42 kB / 494.5 MB, free: 15.79 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.703e-05/0.3952, allocations: 15.44 kB / 494.5 MB, free: 15.78 MB / 378.7 MB Notification: Performance of SimCode: time 6.41e-07/0.3952, allocations: 0 / 494.5 MB, free: 15.78 MB / 378.7 MB Notification: Performance of Templates: time 0.01598/0.4112, allocations: 13.57 MB / 0.4962 GB, free: 1.953 MB / 378.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DFFREGL.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DFFREGL.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DFFREGL.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DFFREGL.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DFFREGL.sim & ./Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DFFREGL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DFFREGL.pipe 2>&1)