Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DFFREGSRL.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.DFFREGSRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DFFREGSRL") translateModel(Modelica.Electrical.Digital.Examples.DFFREGSRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DFFREGSRL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009096/0.0009095, allocations: 178.5 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.199/1.199, allocations: 194.5 MB / 211.6 MB, free: 3.055 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.001381/0.001381, allocations: 113.6 kB / 256.9 MB, free: 4.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002587/0.0002587, allocations: 8 kB / 310.6 MB, free: 14.95 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06782/0.06809, allocations: 44.5 MB / 355.1 MB, free: 2.352 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.209/0.2771, allocations: 78.26 MB / 433.3 MB, free: 11.29 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001785/0.2773, allocations: 69.17 kB / 433.4 MB, free: 11.25 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05216/0.3295, allocations: 32.64 MB / 466 MB, free: 13.38 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3295, allocations: 0 / 466 MB, free: 13.38 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.787e-05/0.3296, allocations: 12 kB / 466 MB, free: 13.37 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.001455/0.331, allocations: 1.496 MB / 467.5 MB, free: 11.77 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.3311, allocations: 8.031 kB / 467.5 MB, free: 11.76 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001643/0.3313, allocations: 130.5 kB / 467.7 MB, free: 11.63 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007315/0.332, allocations: 0.5128 MB / 468.2 MB, free: 11.07 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.308e-05/0.332, allocations: 24 kB / 468.2 MB, free: 11.04 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.117e-05/0.3321, allocations: 31.98 kB / 468.2 MB, free: 11.01 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009082/0.333, allocations: 0.6221 MB / 468.9 MB, free: 10.38 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.094e-06/0.3331, allocations: 0 / 468.9 MB, free: 10.38 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.434e-05/0.3331, allocations: 23.94 kB / 468.9 MB, free: 10.36 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.3331, allocations: 4 kB / 468.9 MB, free: 10.36 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006322/0.3338, allocations: 471.3 kB / 469.3 MB, free: 9.898 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001672/0.3355, allocations: 1.095 MB / 470.4 MB, free: 8.746 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000807/0.3363, allocations: 0.6936 MB / 471.1 MB, free: 8.043 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.142e-05/0.3363, allocations: 4.141 kB / 471.1 MB, free: 8.039 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009026/0.3372, allocations: 0.7748 MB / 471.9 MB, free: 7.227 MB / 346.7 MB Notification: Performance of pre-optimization done (n=36): time 1.853e-06/0.3372, allocations: 4 kB / 471.9 MB, free: 7.223 MB / 346.7 MB Notification: Performance of matching and sorting (n=36): time 0.002613/0.3398, allocations: 2.132 MB / 474 MB, free: 4.98 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000183/0.34, allocations: 329 kB / 474.4 MB, free: 4.598 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002138/0.3422, allocations: 1.608 MB / 476 MB, free: 2.977 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.492e-05/0.3423, allocations: 49.69 kB / 476 MB, free: 2.922 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002229/0.3425, allocations: 234.4 kB / 476.3 MB, free: 2.688 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001007/0.3426, allocations: 79.08 kB / 476.3 MB, free: 2.609 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.886e-05/0.3427, allocations: 15.98 kB / 476.3 MB, free: 2.594 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000171/0.3429, allocations: 390.7 kB / 476.7 MB, free: 2.203 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00062/0.3435, allocations: 443.9 kB / 477.2 MB, free: 1.766 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006255/0.3441, allocations: 486.6 kB / 477.6 MB, free: 1.281 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005915/0.3447, allocations: 0.5872 MB / 478.2 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.3447, allocations: 0 / 478.2 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001677/0.3464, allocations: 1.353 MB / 479.6 MB, free: 15.24 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001852/0.3466, allocations: 297.6 kB / 479.9 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.3466, allocations: 0 / 479.9 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.3466, allocations: 0 / 479.9 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.855e-05/0.3467, allocations: 4 kB / 479.9 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.283e-06/0.3467, allocations: 3.984 kB / 479.9 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003581/0.3471, allocations: 51.77 kB / 479.9 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001604/0.3472, allocations: 159.9 kB / 480.1 MB, free: 14.68 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: 43 ($PRE.dFFREGSRL.delay.inertialDelaySensitive[2].y,$PRE.dFFREGSRL.delay.inertialDelaySensitive[1].y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,clock.y,data_0.y,reset.y,data_1.y,set.y,$PRE.dFFREGSRL.delay.inertialDelaySensitive[1].x,dFFREGSRL.delay.inertialDelaySensitive[1].x,dFFREGSRL.delay.inertialDelaySensitive[1].y,dFFREGSRL.delay.inertialDelaySensitive[1].delayTime,dFFREGSRL.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGSRL.delay.inertialDelaySensitive[1].y_old,dFFREGSRL.delay.inertialDelaySensitive[1].lh,dFFREGSRL.delay.inertialDelaySensitive[1].t_next,$PRE.dFFREGSRL.delay.inertialDelaySensitive[2].x,dFFREGSRL.delay.inertialDelaySensitive[2].x,dFFREGSRL.delay.inertialDelaySensitive[2].y,dFFREGSRL.delay.inertialDelaySensitive[2].delayTime,dFFREGSRL.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGSRL.delay.inertialDelaySensitive[2].y_old,dFFREGSRL.delay.inertialDelaySensitive[2].lh,dFFREGSRL.delay.inertialDelaySensitive[2].t_next,$PRE.dFFREGSRL.dFFSR.set,dFFREGSRL.dFFSR.set,$PRE.dFFREGSRL.dFFSR.reset,dFFREGSRL.dFFSR.reset,$PRE.dFFREGSRL.dFFSR.clock,dFFREGSRL.dFFSR.clock,dFFREGSRL.dFFSR.dataIn[1],dFFREGSRL.dFFSR.dataIn[2],dFFREGSRL.dFFSR.dataOut[1],dFFREGSRL.dFFSR.dataOut[2],dFFREGSRL.dFFSR.clock_flag,dFFREGSRL.dFFSR.reset_set_flag,dFFREGSRL.dFFSR.nextstate[1],dFFREGSRL.dFFSR.nextstate[2],dFFREGSRL.dFFSR.next_assign_val[1],dFFREGSRL.dFFSR.next_assign_val[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 14 * 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.00121/0.3484, allocations: 0.9908 MB / 481.1 MB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001471/0.3486, allocations: 130.5 kB / 481.2 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000378/0.349, allocations: 251.6 kB / 481.4 MB, free: 13.26 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.83e-06/0.349, allocations: 3.984 kB / 481.5 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.349, allocations: 0 / 481.5 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.349, allocations: 0 / 481.5 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002918/0.3519, allocations: 2.414 MB / 483.9 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.352, allocations: 0 / 483.9 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.468e-05/0.352, allocations: 4 kB / 483.9 MB, free: 10.72 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.566e-06/0.352, allocations: 0 / 483.9 MB, free: 10.72 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.596e-05/0.3521, allocations: 39.97 kB / 483.9 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.3521, allocations: 3.938 kB / 483.9 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.3521, allocations: 3.953 kB / 483.9 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001925/0.354, allocations: 1.641 MB / 485.6 MB, free: 8.965 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001131/0.3552, allocations: 0.6747 MB / 486.2 MB, free: 8.27 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001731/0.3553, allocations: 67.95 kB / 486.3 MB, free: 8.203 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003291/0.3557, allocations: 31.97 kB / 486.3 MB, free: 8.172 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004943/0.3562, allocations: 355.6 kB / 486.7 MB, free: 7.824 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001767/0.3564, allocations: 155.9 kB / 486.8 MB, free: 7.672 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001876/0.3583, allocations: 1.333 MB / 488.2 MB, free: 6.336 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.3583, allocations: 0 / 488.2 MB, free: 6.336 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005158/0.3588, allocations: 156 kB / 488.3 MB, free: 6.184 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: 36 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,clock.y,data_0.y,reset.y,data_1.y,set.y,dFFREGSRL.delay.inertialDelaySensitive[1].x,dFFREGSRL.delay.inertialDelaySensitive[1].y,dFFREGSRL.delay.inertialDelaySensitive[1].delayTime,dFFREGSRL.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGSRL.delay.inertialDelaySensitive[1].y_old,dFFREGSRL.delay.inertialDelaySensitive[1].lh,dFFREGSRL.delay.inertialDelaySensitive[1].t_next,dFFREGSRL.delay.inertialDelaySensitive[2].x,dFFREGSRL.delay.inertialDelaySensitive[2].y,dFFREGSRL.delay.inertialDelaySensitive[2].delayTime,dFFREGSRL.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGSRL.delay.inertialDelaySensitive[2].y_old,dFFREGSRL.delay.inertialDelaySensitive[2].lh,dFFREGSRL.delay.inertialDelaySensitive[2].t_next,dFFREGSRL.dFFSR.set,dFFREGSRL.dFFSR.reset,dFFREGSRL.dFFSR.clock,dFFREGSRL.dFFSR.dataIn[1],dFFREGSRL.dFFSR.dataIn[2],dFFREGSRL.dFFSR.dataOut[1],dFFREGSRL.dFFSR.dataOut[2],dFFREGSRL.dFFSR.clock_flag,dFFREGSRL.dFFSR.reset_set_flag,dFFREGSRL.dFFSR.nextstate[1],dFFREGSRL.dFFSR.nextstate[2],dFFREGSRL.dFFSR.next_assign_val[1],dFFREGSRL.dFFSR.next_assign_val[2]) * Number of discrete states: 34 (set.y,data_1.y,reset.y,data_0.y,clock.y,dFFREGSRL.dFFSR.dataOut[2],dFFREGSRL.dFFSR.dataOut[1],dFFREGSRL.dFFSR.next_assign_val[2],dFFREGSRL.dFFSR.next_assign_val[1],dFFREGSRL.dFFSR.nextstate[2],dFFREGSRL.dFFSR.nextstate[1],dFFREGSRL.dFFSR.reset_set_flag,dFFREGSRL.dFFSR.clock_flag,dFFREGSRL.dFFSR.clock,dFFREGSRL.dFFSR.reset,dFFREGSRL.dFFSR.set,dFFREGSRL.delay.inertialDelaySensitive[2].y,dFFREGSRL.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGSRL.delay.inertialDelaySensitive[2].t_next,dFFREGSRL.delay.inertialDelaySensitive[2].delayTime,dFFREGSRL.delay.inertialDelaySensitive[2].lh,dFFREGSRL.delay.inertialDelaySensitive[2].y_old,$whenCondition4,$whenCondition3,dFFREGSRL.delay.inertialDelaySensitive[2].x,dFFREGSRL.delay.inertialDelaySensitive[1].y,dFFREGSRL.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGSRL.delay.inertialDelaySensitive[1].t_next,dFFREGSRL.delay.inertialDelaySensitive[1].delayTime,dFFREGSRL.delay.inertialDelaySensitive[1].lh,dFFREGSRL.delay.inertialDelaySensitive[1].y_old,$whenCondition2,$whenCondition1,dFFREGSRL.delay.inertialDelaySensitive[1].x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 7 * 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.0002535/0.359, allocations: 193.6 kB / 488.5 MB, free: 5.984 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002017/0.3611, allocations: 1.939 MB / 490.4 MB, free: 3.949 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.299e-06/0.3611, allocations: 0 / 490.4 MB, free: 3.949 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001247/0.3623, allocations: 1.405 MB / 491.8 MB, free: 2.445 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001029/0.3634, allocations: 299.4 kB / 492.1 MB, free: 2.156 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004109/0.3675, allocations: 3.094 MB / 495.2 MB, free: 15.03 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009509/0.3685, allocations: 1.22 MB / 496.5 MB, free: 13.78 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002882/0.3688, allocations: 155 kB / 496.6 MB, free: 13.63 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.108e-05/0.3688, allocations: 27.44 kB / 496.6 MB, free: 13.61 MB / 378.7 MB Notification: Performance of SimCode: time 1.102e-06/0.3688, allocations: 0 / 496.6 MB, free: 13.61 MB / 378.7 MB Notification: Performance of Templates: time 0.02203/0.3909, allocations: 16.67 MB / 0.5013 GB, free: 12.53 MB / 394.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DFFREGSRL.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DFFREGSRL.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DFFREGSRL.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DFFREGSRL.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DFFREGSRL.sim & ./Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DFFREGSRL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DFFREGSRL.pipe 2>&1)