Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DFFREGL.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.DFFREGL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DFFREGL") translateModel(Modelica.Electrical.Digital.Examples.DFFREGL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DFFREGL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001454/0.001454, allocations: 169.8 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.342/1.342, allocations: 170.6 MB / 183.8 MB, free: 11.43 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.001655/0.001655, allocations: 110.8 kB / 223.2 MB, free: 4.047 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.086e-05/3.088e-05, allocations: 4 kB / 268.9 MB, free: 20.91 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06942/0.06946, allocations: 38.76 MB / 307.6 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2604/0.3299, allocations: 72.61 MB / 380.2 MB, free: 3.633 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002303/0.3302, allocations: 69.95 kB / 380.3 MB, free: 3.598 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07182/0.402, allocations: 37.52 MB / 417.8 MB, free: 4.184 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.778e-06/0.4021, allocations: 0 / 417.8 MB, free: 4.184 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.637e-05/0.4021, allocations: 19.94 kB / 417.8 MB, free: 4.164 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001123/0.4033, allocations: 1.004 MB / 418.8 MB, free: 3.07 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.019e-05/0.4033, allocations: 8.031 kB / 418.9 MB, free: 3.062 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000137/0.4035, allocations: 90.97 kB / 418.9 MB, free: 2.973 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000588/0.4041, allocations: 427.5 kB / 419.4 MB, free: 2.516 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.478e-05/0.4041, allocations: 16 kB / 419.4 MB, free: 2.5 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.753e-05/0.4042, allocations: 24 kB / 419.4 MB, free: 2.477 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008228/0.405, allocations: 0.5059 MB / 419.9 MB, free: 1.961 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.4051, allocations: 0 / 419.9 MB, free: 1.961 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.718e-05/0.4051, allocations: 15.98 kB / 419.9 MB, free: 1.945 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.4051, allocations: 4 kB / 419.9 MB, free: 1.941 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005023/0.4056, allocations: 356 kB / 420.3 MB, free: 1.594 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001377/0.407, allocations: 0.8483 MB / 421.1 MB, free: 0.6953 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006146/0.4077, allocations: 0.4984 MB / 421.6 MB, free: 192 kB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005922/0.4083, allocations: 0.4889 MB / 422.1 MB, free: 15.7 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.106e-05/0.4083, allocations: 4 kB / 422.1 MB, free: 15.69 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007926/0.4091, allocations: 0.6392 MB / 422.7 MB, free: 15.01 MB / 314.7 MB Notification: Performance of pre-optimization done (n=34): time 2.415e-06/0.4091, allocations: 0 / 422.7 MB, free: 15.01 MB / 314.7 MB Notification: Performance of matching and sorting (n=34): time 0.001597/0.4107, allocations: 1.159 MB / 423.9 MB, free: 13.8 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001902/0.4109, allocations: 275.3 kB / 424.2 MB, free: 13.48 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001337/0.4122, allocations: 1.027 MB / 425.2 MB, free: 12.45 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.081e-05/0.4123, allocations: 45.7 kB / 425.2 MB, free: 12.39 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.58e-05/0.4124, allocations: 146 kB / 425.4 MB, free: 12.25 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001052/0.4125, allocations: 75.06 kB / 425.5 MB, free: 12.18 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.603e-05/0.4126, allocations: 15.98 kB / 425.5 MB, free: 12.16 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.4128, allocations: 350.8 kB / 425.8 MB, free: 11.81 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004914/0.4133, allocations: 340.2 kB / 426.2 MB, free: 11.48 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004619/0.4137, allocations: 348.5 kB / 426.5 MB, free: 11.14 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004935/0.4142, allocations: 485.3 kB / 427 MB, free: 10.62 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.4142, allocations: 0 / 427 MB, free: 10.62 MB / 314.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001491/0.4157, allocations: 1.106 MB / 428.1 MB, free: 9.465 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002172/0.416, allocations: 247.1 kB / 428.3 MB, free: 9.184 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.416, allocations: 7.891 kB / 428.3 MB, free: 9.176 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.416, allocations: 0 / 428.3 MB, free: 9.176 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.195e-05/0.4161, allocations: 7.984 kB / 428.3 MB, free: 9.168 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.4161, allocations: 0 / 428.3 MB, free: 9.168 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003023/0.4164, allocations: 31.92 kB / 428.4 MB, free: 9.137 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001734/0.4166, allocations: 152.2 kB / 428.5 MB, free: 8.988 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: 40 ($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,$PRE.dFFREGL.delay.inertialDelaySensitive[1].y,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,$PRE.dFFREGL.delay.inertialDelaySensitive[2].y,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 () * 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.000412/0.417, allocations: 414 kB / 428.9 MB, free: 8.535 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001245/0.4171, allocations: 90.97 kB / 429 MB, free: 8.445 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003229/0.4175, allocations: 143.8 kB / 429.1 MB, free: 8.301 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.531e-06/0.4175, allocations: 7.938 kB / 429.2 MB, free: 8.293 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.4175, allocations: 0 / 429.2 MB, free: 8.293 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.4175, allocations: 4 kB / 429.2 MB, free: 8.289 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002303/0.4198, allocations: 1.938 MB / 431.1 MB, free: 6.25 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.4198, allocations: 0 / 431.1 MB, free: 6.25 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.479e-05/0.4198, allocations: 7.938 kB / 431.1 MB, free: 6.242 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.4199, allocations: 3.953 kB / 431.1 MB, free: 6.238 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.026e-05/0.4199, allocations: 39.97 kB / 431.1 MB, free: 6.199 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.4199, allocations: 0 / 431.1 MB, free: 6.199 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.4199, allocations: 0 / 431.1 MB, free: 6.199 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001679/0.4216, allocations: 1.357 MB / 432.5 MB, free: 4.781 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009264/0.4226, allocations: 0.5659 MB / 433.1 MB, free: 4.195 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001647/0.4227, allocations: 59.92 kB / 433.1 MB, free: 4.137 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003151/0.4231, allocations: 39.97 kB / 433.2 MB, free: 4.098 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005047/0.4236, allocations: 243.7 kB / 433.4 MB, free: 3.859 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002269/0.4238, allocations: 159.8 kB / 433.6 MB, free: 3.703 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001522/0.4253, allocations: 0.85 MB / 434.4 MB, free: 2.859 MB / 314.7 MB Notification: Performance of sort global known variables: time 9.42e-07/0.4254, allocations: 3.938 kB / 434.4 MB, free: 2.855 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000568/0.4259, allocations: 124 kB / 434.5 MB, free: 2.734 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: 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) * 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.0003125/0.4262, allocations: 184.4 kB / 434.7 MB, free: 2.543 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001939/0.4282, allocations: 1.493 MB / 436.2 MB, free: 0.9648 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.4282, allocations: 0 / 436.2 MB, free: 0.9648 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001246/0.4295, allocations: 1.101 MB / 437.3 MB, free: 15.78 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001167/0.4306, allocations: 287.3 kB / 437.6 MB, free: 15.5 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002611/0.4333, allocations: 1.692 MB / 439.3 MB, free: 13.77 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007667/0.434, allocations: 1.038 MB / 440.3 MB, free: 12.7 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002196/0.4343, allocations: 37.5 kB / 440.4 MB, free: 12.66 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.96e-05/0.4343, allocations: 19.38 kB / 440.4 MB, free: 12.64 MB / 330.7 MB Notification: Performance of SimCode: time 9.41e-07/0.4343, allocations: 4 kB / 440.4 MB, free: 12.64 MB / 330.7 MB Notification: Performance of Templates: time 0.01905/0.4534, allocations: 13.52 MB / 453.9 MB, free: 14.84 MB / 346.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DFFREGL.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DFFREGL.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DFFREGL.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DFFREGL.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DFFREGL.sim & ./Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DFFREGL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DFFREGL.pipe 2>&1)