Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DFFREG.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.DFFREG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DFFREG") translateModel(Modelica.Electrical.Digital.Examples.DFFREG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DFFREG") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001461/0.001461, allocations: 164.4 kB / 7.635 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.191/1.191, allocations: 170.7 MB / 178.7 MB, free: 15.58 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.001517/0.001517, allocations: 115.4 kB / 218 MB, free: 8.344 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.391e-05/1.404e-05, allocations: 4 kB / 262.2 MB, free: 26.38 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06026/0.06029, allocations: 38.78 MB / 301 MB, free: 3.617 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2241/0.2845, allocations: 71.89 MB / 372.9 MB, free: 12.48 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00016/0.2847, allocations: 76.92 kB / 373 MB, free: 12.44 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04975/0.3344, allocations: 27.69 MB / 400.7 MB, free: 5.926 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.3345, allocations: 0 / 400.7 MB, free: 5.926 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.304e-05/0.3345, allocations: 8 kB / 400.7 MB, free: 5.918 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.001005/0.3355, allocations: 1.011 MB / 401.7 MB, free: 4.867 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.3356, allocations: 8.031 kB / 401.7 MB, free: 4.859 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001408/0.3357, allocations: 83.06 kB / 401.8 MB, free: 4.777 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000543/0.3363, allocations: 422.1 kB / 402.2 MB, free: 4.355 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.577e-05/0.3363, allocations: 15.95 kB / 402.2 MB, free: 4.34 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.135e-05/0.3364, allocations: 24 kB / 402.2 MB, free: 4.316 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004482/0.3368, allocations: 338.7 kB / 402.5 MB, free: 4.086 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006108/0.3374, allocations: 489.4 kB / 403 MB, free: 3.715 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.3375, allocations: 0 / 403 MB, free: 3.715 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.895e-05/0.3375, allocations: 11.98 kB / 403 MB, free: 3.703 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-06/0.3375, allocations: 4 kB / 403 MB, free: 3.699 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001108/0.3387, allocations: 0.8216 MB / 403.9 MB, free: 3.008 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005099/0.3392, allocations: 495.1 kB / 404.3 MB, free: 2.711 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005052/0.3397, allocations: 480.5 kB / 404.8 MB, free: 2.438 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.282e-05/0.3397, allocations: 7.938 kB / 404.8 MB, free: 2.43 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007024/0.3404, allocations: 0.6501 MB / 405.5 MB, free: 1.863 MB / 282.7 MB Notification: Performance of pre-optimization done (n=34): time 2.004e-06/0.3404, allocations: 0 / 405.5 MB, free: 1.863 MB / 282.7 MB Notification: Performance of matching and sorting (n=34): time 0.001257/0.3417, allocations: 0.8895 MB / 406.4 MB, free: 1.168 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001627/0.3419, allocations: 283.2 kB / 406.6 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001355/0.3432, allocations: 0.9801 MB / 407.6 MB, free: 15.85 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.999e-05/0.3433, allocations: 41.69 kB / 407.7 MB, free: 15.8 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/0.3434, allocations: 145.9 kB / 407.8 MB, free: 15.65 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001201/0.3436, allocations: 87.08 kB / 407.9 MB, free: 15.57 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.608e-05/0.3436, allocations: 8 kB / 407.9 MB, free: 15.56 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.3438, allocations: 342.8 kB / 408.2 MB, free: 15.21 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004223/0.3442, allocations: 332.2 kB / 408.6 MB, free: 14.89 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004052/0.3446, allocations: 328.5 kB / 408.9 MB, free: 14.57 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002937/0.3449, allocations: 237.4 kB / 409.1 MB, free: 14.34 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.3449, allocations: 0 / 409.1 MB, free: 14.34 MB / 298.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001149/0.3461, allocations: 0.8369 MB / 409.9 MB, free: 13.5 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001802/0.3463, allocations: 255.8 kB / 410.2 MB, free: 13.2 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.3463, allocations: 4 kB / 410.2 MB, free: 13.2 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.3463, allocations: 0 / 410.2 MB, free: 13.2 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.232e-05/0.3464, allocations: 4 kB / 410.2 MB, free: 13.2 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.3464, allocations: 3.938 kB / 410.2 MB, free: 13.19 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003077/0.3467, allocations: 39.81 kB / 410.2 MB, free: 13.15 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001919/0.3469, allocations: 152.2 kB / 410.4 MB, free: 13 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: 40 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,clock.y,data_0.y,reset.y,data_1.y,$PRE.dFFREG.delay.inertialDelaySensitive[1].x,dFFREG.delay.inertialDelaySensitive[1].x,$PRE.dFFREG.delay.inertialDelaySensitive[1].y,dFFREG.delay.inertialDelaySensitive[1].y,dFFREG.delay.inertialDelaySensitive[1].delayTime,dFFREG.delay.inertialDelaySensitive[1].y_auxiliary,dFFREG.delay.inertialDelaySensitive[1].y_old,dFFREG.delay.inertialDelaySensitive[1].lh,dFFREG.delay.inertialDelaySensitive[1].t_next,$PRE.dFFREG.delay.inertialDelaySensitive[2].x,dFFREG.delay.inertialDelaySensitive[2].x,$PRE.dFFREG.delay.inertialDelaySensitive[2].y,dFFREG.delay.inertialDelaySensitive[2].y,dFFREG.delay.inertialDelaySensitive[2].delayTime,dFFREG.delay.inertialDelaySensitive[2].y_auxiliary,dFFREG.delay.inertialDelaySensitive[2].y_old,dFFREG.delay.inertialDelaySensitive[2].lh,dFFREG.delay.inertialDelaySensitive[2].t_next,$PRE.dFFREG.dFFR.reset,dFFREG.dFFR.reset,$PRE.dFFREG.dFFR.clock,dFFREG.dFFR.clock,dFFREG.dFFR.dataIn[1],dFFREG.dFFR.dataIn[2],dFFREG.dFFR.dataOut[1],dFFREG.dFFR.dataOut[2],dFFREG.dFFR.clock_flag,dFFREG.dFFR.reset_flag,dFFREG.dFFR.nextstate[1],dFFREG.dFFR.nextstate[2],dFFREG.dFFR.next_assign_val[1],dFFREG.dFFR.next_assign_val[2]) * Number of discrete 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.0003613/0.3473, allocations: 398.1 kB / 410.8 MB, free: 12.56 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001123/0.3474, allocations: 87.06 kB / 410.9 MB, free: 12.48 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002903/0.3477, allocations: 148.1 kB / 411 MB, free: 12.33 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.3477, allocations: 4 kB / 411 MB, free: 12.33 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.3477, allocations: 0 / 411 MB, free: 12.33 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.3477, allocations: 0 / 411 MB, free: 12.33 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001951/0.3497, allocations: 1.607 MB / 412.6 MB, free: 10.68 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.3497, allocations: 4 kB / 412.6 MB, free: 10.67 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.327e-05/0.3497, allocations: 3.984 kB / 412.6 MB, free: 10.67 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.584e-06/0.3497, allocations: 0 / 412.6 MB, free: 10.67 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.759e-05/0.3498, allocations: 43.92 kB / 412.7 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.3498, allocations: 0 / 412.7 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.3498, allocations: 0 / 412.7 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001351/0.3512, allocations: 1.061 MB / 413.7 MB, free: 9.547 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008054/0.352, allocations: 0.5581 MB / 414.3 MB, free: 8.969 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001803/0.3522, allocations: 63.97 kB / 414.4 MB, free: 8.906 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00029/0.3525, allocations: 31.92 kB / 414.4 MB, free: 8.875 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003917/0.3529, allocations: 239.7 kB / 414.6 MB, free: 8.641 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001599/0.353, allocations: 155.9 kB / 414.8 MB, free: 8.488 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.001037/0.3541, allocations: 0.8148 MB / 415.6 MB, free: 7.676 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3541, allocations: 3.938 kB / 415.6 MB, free: 7.672 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004793/0.3546, allocations: 120 kB / 415.7 MB, free: 7.555 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: 34 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,clock.y,data_0.y,reset.y,data_1.y,dFFREG.delay.inertialDelaySensitive[1].x,dFFREG.delay.inertialDelaySensitive[1].y,dFFREG.delay.inertialDelaySensitive[1].delayTime,dFFREG.delay.inertialDelaySensitive[1].y_auxiliary,dFFREG.delay.inertialDelaySensitive[1].y_old,dFFREG.delay.inertialDelaySensitive[1].lh,dFFREG.delay.inertialDelaySensitive[1].t_next,dFFREG.delay.inertialDelaySensitive[2].x,dFFREG.delay.inertialDelaySensitive[2].y,dFFREG.delay.inertialDelaySensitive[2].delayTime,dFFREG.delay.inertialDelaySensitive[2].y_auxiliary,dFFREG.delay.inertialDelaySensitive[2].y_old,dFFREG.delay.inertialDelaySensitive[2].lh,dFFREG.delay.inertialDelaySensitive[2].t_next,dFFREG.dFFR.reset,dFFREG.dFFR.clock,dFFREG.dFFR.dataIn[1],dFFREG.dFFR.dataIn[2],dFFREG.dFFR.dataOut[1],dFFREG.dFFR.dataOut[2],dFFREG.dFFR.clock_flag,dFFREG.dFFR.reset_flag,dFFREG.dFFR.nextstate[1],dFFREG.dFFR.nextstate[2],dFFREG.dFFR.next_assign_val[1],dFFREG.dFFR.next_assign_val[2]) * Number of discrete states: 32 (data_1.y,reset.y,data_0.y,clock.y,dFFREG.dFFR.dataOut[2],dFFREG.dFFR.dataOut[1],dFFREG.dFFR.next_assign_val[2],dFFREG.dFFR.next_assign_val[1],dFFREG.dFFR.nextstate[2],dFFREG.dFFR.nextstate[1],dFFREG.dFFR.reset_flag,dFFREG.dFFR.clock_flag,dFFREG.dFFR.clock,dFFREG.dFFR.reset,dFFREG.delay.inertialDelaySensitive[1].y,dFFREG.delay.inertialDelaySensitive[1].y_auxiliary,dFFREG.delay.inertialDelaySensitive[1].t_next,dFFREG.delay.inertialDelaySensitive[1].delayTime,dFFREG.delay.inertialDelaySensitive[1].lh,dFFREG.delay.inertialDelaySensitive[1].y_old,$whenCondition2,$whenCondition1,dFFREG.delay.inertialDelaySensitive[1].x,dFFREG.delay.inertialDelaySensitive[2].y,dFFREG.delay.inertialDelaySensitive[2].y_auxiliary,dFFREG.delay.inertialDelaySensitive[2].t_next,dFFREG.delay.inertialDelaySensitive[2].delayTime,dFFREG.delay.inertialDelaySensitive[2].lh,dFFREG.delay.inertialDelaySensitive[2].y_old,$whenCondition4,$whenCondition3,dFFREG.delay.inertialDelaySensitive[2].x) * 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.0003169/0.3549, allocations: 185.7 kB / 415.9 MB, free: 7.367 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001559/0.3565, allocations: 1.46 MB / 417.3 MB, free: 5.82 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.3565, allocations: 0 / 417.3 MB, free: 5.82 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009146/0.3574, allocations: 1.093 MB / 418.4 MB, free: 4.641 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001157/0.3586, allocations: 279.9 kB / 418.7 MB, free: 4.367 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0025/0.3611, allocations: 1.688 MB / 420.4 MB, free: 2.648 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007687/0.3619, allocations: 1.035 MB / 421.4 MB, free: 1.59 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001399/0.362, allocations: 46.42 kB / 421.5 MB, free: 1.547 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.103e-05/0.3621, allocations: 15.44 kB / 421.5 MB, free: 1.531 MB / 298.7 MB Notification: Performance of SimCode: time 3.51e-07/0.3621, allocations: 0 / 421.5 MB, free: 1.531 MB / 298.7 MB Notification: Performance of Templates: time 0.01853/0.3806, allocations: 13.03 MB / 434.5 MB, free: 4.215 MB / 314.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DFFREG.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DFFREG.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DFFREG.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DFFREG.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DFFREG.sim & ./Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DFFREG -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DFFREG.pipe 2>&1)