Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DFFREGSRH.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.DFFREGSRH,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DFFREGSRH") translateModel(Modelica.Electrical.Digital.Examples.DFFREGSRH,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DFFREGSRH") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001525/0.001525, allocations: 170 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.273/1.273, allocations: 170.6 MB / 183.8 MB, free: 11.47 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.00153/0.00153, allocations: 103.5 kB / 223.2 MB, free: 4.109 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.795e-05/2.81e-05, allocations: 4 kB / 268.9 MB, free: 20.93 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06922/0.06926, allocations: 38.77 MB / 307.6 MB, free: 14.13 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2624/0.3317, allocations: 72.81 MB / 380.4 MB, free: 3.371 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000191/0.332, allocations: 68.28 kB / 380.5 MB, free: 3.336 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05703/0.389, allocations: 30.59 MB / 411.1 MB, free: 9.625 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.764e-06/0.3891, allocations: 0 / 411.1 MB, free: 9.625 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.691e-05/0.3891, allocations: 16 kB / 411.1 MB, free: 9.609 MB / 298.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.001209/0.3903, allocations: 1.274 MB / 412.4 MB, free: 8.312 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.808e-05/0.3904, allocations: 11.97 kB / 412.4 MB, free: 8.301 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001847/0.3906, allocations: 130.5 kB / 412.5 MB, free: 8.172 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007596/0.3914, allocations: 0.5122 MB / 413 MB, free: 7.645 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.133e-05/0.3914, allocations: 22.62 kB / 413.1 MB, free: 7.629 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001075/0.3915, allocations: 35.38 kB / 413.1 MB, free: 7.598 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000887/0.3924, allocations: 0.6165 MB / 413.7 MB, free: 7.125 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.3924, allocations: 0 / 413.7 MB, free: 7.125 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.35e-05/0.3925, allocations: 15.44 kB / 413.7 MB, free: 7.113 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.3925, allocations: 4 kB / 413.7 MB, free: 7.109 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005959/0.3931, allocations: 449.8 kB / 414.2 MB, free: 6.805 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001551/0.3947, allocations: 1.04 MB / 415.2 MB, free: 5.934 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007192/0.3954, allocations: 0.6816 MB / 415.9 MB, free: 5.539 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006721/0.3961, allocations: 0.6656 MB / 416.6 MB, free: 5.168 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.499e-05/0.3961, allocations: 4 kB / 416.6 MB, free: 5.164 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009099/0.397, allocations: 0.7636 MB / 417.3 MB, free: 4.445 MB / 298.7 MB Notification: Performance of pre-optimization done (n=36): time 1.884e-06/0.3971, allocations: 0 / 417.3 MB, free: 4.445 MB / 298.7 MB Notification: Performance of matching and sorting (n=36): time 0.001909/0.399, allocations: 1.396 MB / 418.7 MB, free: 2.992 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002116/0.3992, allocations: 321 kB / 419 MB, free: 2.617 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001812/0.401, allocations: 1.444 MB / 420.5 MB, free: 1.16 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.329e-05/0.4011, allocations: 49.69 kB / 420.5 MB, free: 1.105 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000176/0.4013, allocations: 218.5 kB / 420.7 MB, free: 0.8867 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001063/0.4014, allocations: 87.05 kB / 420.8 MB, free: 0.8008 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.903e-05/0.4015, allocations: 15.94 kB / 420.8 MB, free: 0.7852 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001622/0.4016, allocations: 362.8 kB / 421.2 MB, free: 432 kB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006015/0.4023, allocations: 444 kB / 421.6 MB, free: 15.98 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006052/0.4029, allocations: 440.2 kB / 422.1 MB, free: 15.55 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006041/0.4035, allocations: 0.5802 MB / 422.6 MB, free: 14.93 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.4035, allocations: 0 / 422.6 MB, free: 14.93 MB / 314.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001689/0.4052, allocations: 1.331 MB / 424 MB, free: 13.54 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002278/0.4054, allocations: 297.5 kB / 424.3 MB, free: 13.2 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.4055, allocations: 3.984 kB / 424.3 MB, free: 13.2 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.4055, allocations: 0 / 424.3 MB, free: 13.2 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.311e-05/0.4055, allocations: 4 kB / 424.3 MB, free: 13.19 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.859e-06/0.4055, allocations: 3.953 kB / 424.3 MB, free: 13.19 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004022/0.4059, allocations: 44.05 kB / 424.3 MB, free: 13.14 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002038/0.4062, allocations: 151.9 kB / 424.5 MB, free: 13 MB / 314.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: 43 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,clock.y,data_0.y,reset.y,data_1.y,set.y,$PRE.dFFREGSRH.delay.inertialDelaySensitive[1].x,dFFREGSRH.delay.inertialDelaySensitive[1].x,$PRE.dFFREGSRH.delay.inertialDelaySensitive[1].y,dFFREGSRH.delay.inertialDelaySensitive[1].y,dFFREGSRH.delay.inertialDelaySensitive[1].delayTime,dFFREGSRH.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGSRH.delay.inertialDelaySensitive[1].y_old,dFFREGSRH.delay.inertialDelaySensitive[1].lh,dFFREGSRH.delay.inertialDelaySensitive[1].t_next,$PRE.dFFREGSRH.delay.inertialDelaySensitive[2].x,dFFREGSRH.delay.inertialDelaySensitive[2].x,$PRE.dFFREGSRH.delay.inertialDelaySensitive[2].y,dFFREGSRH.delay.inertialDelaySensitive[2].y,dFFREGSRH.delay.inertialDelaySensitive[2].delayTime,dFFREGSRH.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGSRH.delay.inertialDelaySensitive[2].y_old,dFFREGSRH.delay.inertialDelaySensitive[2].lh,dFFREGSRH.delay.inertialDelaySensitive[2].t_next,$PRE.dFFREGSRH.dFFSR.set,dFFREGSRH.dFFSR.set,$PRE.dFFREGSRH.dFFSR.reset,dFFREGSRH.dFFSR.reset,$PRE.dFFREGSRH.dFFSR.clock,dFFREGSRH.dFFSR.clock,dFFREGSRH.dFFSR.dataIn[1],dFFREGSRH.dFFSR.dataIn[2],dFFREGSRH.dFFSR.dataOut[1],dFFREGSRH.dFFSR.dataOut[2],dFFREGSRH.dFFSR.clock_flag,dFFREGSRH.dFFSR.reset_set_flag,dFFREGSRH.dFFSR.nextstate[1],dFFREGSRH.dFFSR.nextstate[2],dFFREGSRH.dFFSR.next_assign_val[1],dFFREGSRH.dFFSR.next_assign_val[2]) * Number of discrete 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.0004626/0.4066, allocations: 470.4 kB / 424.9 MB, free: 12.48 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001569/0.4068, allocations: 134.4 kB / 425.1 MB, free: 12.35 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003959/0.4072, allocations: 199.9 kB / 425.2 MB, free: 12.15 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.521e-06/0.4072, allocations: 4 kB / 425.3 MB, free: 12.15 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.261e-06/0.4072, allocations: 0 / 425.3 MB, free: 12.15 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.4072, allocations: 3.953 kB / 425.3 MB, free: 12.14 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00286/0.4101, allocations: 2.309 MB / 427.6 MB, free: 9.723 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.4101, allocations: 0 / 427.6 MB, free: 9.723 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.386e-05/0.4101, allocations: 4 kB / 427.6 MB, free: 9.719 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.4101, allocations: 0 / 427.6 MB, free: 9.719 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.206e-05/0.4102, allocations: 39.97 kB / 427.6 MB, free: 9.68 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.207e-06/0.4102, allocations: 4 kB / 427.6 MB, free: 9.676 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.4102, allocations: 3.953 kB / 427.6 MB, free: 9.672 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002016/0.4123, allocations: 1.61 MB / 429.2 MB, free: 7.992 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001063/0.4133, allocations: 0.6474 MB / 429.9 MB, free: 7.324 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001752/0.4135, allocations: 67.94 kB / 429.9 MB, free: 7.258 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003375/0.4139, allocations: 35.97 kB / 430 MB, free: 7.223 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005949/0.4145, allocations: 355.6 kB / 430.3 MB, free: 6.875 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001806/0.4147, allocations: 159.8 kB / 430.5 MB, free: 6.719 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001569/0.4162, allocations: 1.194 MB / 431.7 MB, free: 5.52 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.4163, allocations: 4 kB / 431.7 MB, free: 5.516 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000531/0.4168, allocations: 152 kB / 431.8 MB, free: 5.367 MB / 314.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,dFFREGSRH.delay.inertialDelaySensitive[1].x,dFFREGSRH.delay.inertialDelaySensitive[1].y,dFFREGSRH.delay.inertialDelaySensitive[1].delayTime,dFFREGSRH.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGSRH.delay.inertialDelaySensitive[1].y_old,dFFREGSRH.delay.inertialDelaySensitive[1].lh,dFFREGSRH.delay.inertialDelaySensitive[1].t_next,dFFREGSRH.delay.inertialDelaySensitive[2].x,dFFREGSRH.delay.inertialDelaySensitive[2].y,dFFREGSRH.delay.inertialDelaySensitive[2].delayTime,dFFREGSRH.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGSRH.delay.inertialDelaySensitive[2].y_old,dFFREGSRH.delay.inertialDelaySensitive[2].lh,dFFREGSRH.delay.inertialDelaySensitive[2].t_next,dFFREGSRH.dFFSR.set,dFFREGSRH.dFFSR.reset,dFFREGSRH.dFFSR.clock,dFFREGSRH.dFFSR.dataIn[1],dFFREGSRH.dFFSR.dataIn[2],dFFREGSRH.dFFSR.dataOut[1],dFFREGSRH.dFFSR.dataOut[2],dFFREGSRH.dFFSR.clock_flag,dFFREGSRH.dFFSR.reset_set_flag,dFFREGSRH.dFFSR.nextstate[1],dFFREGSRH.dFFSR.nextstate[2],dFFREGSRH.dFFSR.next_assign_val[1],dFFREGSRH.dFFSR.next_assign_val[2]) * Number of discrete states: 34 (set.y,data_1.y,reset.y,data_0.y,clock.y,dFFREGSRH.dFFSR.dataOut[2],dFFREGSRH.dFFSR.dataOut[1],dFFREGSRH.dFFSR.next_assign_val[2],dFFREGSRH.dFFSR.next_assign_val[1],dFFREGSRH.dFFSR.nextstate[2],dFFREGSRH.dFFSR.nextstate[1],dFFREGSRH.dFFSR.reset_set_flag,dFFREGSRH.dFFSR.clock_flag,dFFREGSRH.dFFSR.clock,dFFREGSRH.dFFSR.reset,dFFREGSRH.dFFSR.set,dFFREGSRH.delay.inertialDelaySensitive[2].y,dFFREGSRH.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGSRH.delay.inertialDelaySensitive[2].t_next,dFFREGSRH.delay.inertialDelaySensitive[2].delayTime,dFFREGSRH.delay.inertialDelaySensitive[2].lh,dFFREGSRH.delay.inertialDelaySensitive[2].y_old,$whenCondition4,$whenCondition3,dFFREGSRH.delay.inertialDelaySensitive[2].x,dFFREGSRH.delay.inertialDelaySensitive[1].y,dFFREGSRH.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGSRH.delay.inertialDelaySensitive[1].t_next,dFFREGSRH.delay.inertialDelaySensitive[1].delayTime,dFFREGSRH.delay.inertialDelaySensitive[1].lh,dFFREGSRH.delay.inertialDelaySensitive[1].y_old,$whenCondition2,$whenCondition1,dFFREGSRH.delay.inertialDelaySensitive[1].x) * 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.0002784/0.4171, allocations: 193.6 kB / 432 MB, free: 5.168 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002115/0.4192, allocations: 1.898 MB / 433.9 MB, free: 3.172 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.4192, allocations: 0 / 433.9 MB, free: 3.172 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001292/0.4205, allocations: 1.378 MB / 435.3 MB, free: 1.695 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001252/0.4218, allocations: 322.2 kB / 435.6 MB, free: 1.379 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003448/0.4252, allocations: 2.305 MB / 437.9 MB, free: 15.04 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008946/0.4262, allocations: 1.174 MB / 439.1 MB, free: 13.83 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002057/0.4264, allocations: 71.22 kB / 439.2 MB, free: 13.76 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.079e-05/0.4264, allocations: 31.44 kB / 439.2 MB, free: 13.73 MB / 330.7 MB Notification: Performance of SimCode: time 1.553e-06/0.4264, allocations: 0 / 439.2 MB, free: 13.73 MB / 330.7 MB Notification: Performance of Templates: time 0.02148/0.4479, allocations: 15.42 MB / 454.6 MB, free: 13.89 MB / 346.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DFFREGSRH.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DFFREGSRH.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DFFREGSRH.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DFFREGSRH.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DFFREGSRH.sim & ./Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DFFREGSRH -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DFFREGSRH.pipe 2>&1)