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.007561/0.007561, allocations: 166.5 kB / 15.11 MB, free: 5.98 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.322/1.322, allocations: 170.8 MB / 186.6 MB, free: 0.9609 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.001736/0.001736, allocations: 114.6 kB / 226.2 MB, free: 10.09 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003331/0.000333, allocations: 12 kB / 274.1 MB, free: 10.07 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2719/0.2723, allocations: 38.76 MB / 312.9 MB, free: 38.9 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1267/0.3991, allocations: 72.7 MB / 385.6 MB, free: 1.805 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002397/0.3993, allocations: 67.97 kB / 385.7 MB, free: 1.738 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2257/0.6251, allocations: 37.33 MB / 423 MB, free: 86.98 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.345e-06/0.6251, allocations: 0 / 423 MB, free: 86.98 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.432e-05/0.6252, allocations: 13.03 kB / 423 MB, free: 86.98 MB / 314.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.001159/0.6263, allocations: 1.137 MB / 424.1 MB, free: 86.28 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.6264, allocations: 9.594 kB / 424.1 MB, free: 86.28 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001436/0.6265, allocations: 87.28 kB / 424.2 MB, free: 86.23 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006111/0.6272, allocations: 421.5 kB / 424.6 MB, free: 85.96 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.378e-05/0.6272, allocations: 17 kB / 424.7 MB, free: 85.96 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.632e-05/0.6273, allocations: 24.34 kB / 424.7 MB, free: 85.96 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008845/0.6282, allocations: 0.5092 MB / 425.2 MB, free: 85.93 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.6282, allocations: 0 / 425.2 MB, free: 85.93 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.949e-05/0.6283, allocations: 13.75 kB / 425.2 MB, free: 85.93 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/0.6283, allocations: 2.469 kB / 425.2 MB, free: 85.93 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005781/0.6289, allocations: 363.7 kB / 425.6 MB, free: 85.93 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001444/0.6303, allocations: 0.8537 MB / 426.4 MB, free: 85.6 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007512/0.6311, allocations: 0.4991 MB / 426.9 MB, free: 85.58 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.596e-05/0.6311, allocations: 5 kB / 426.9 MB, free: 85.58 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009565/0.6321, allocations: 0.6532 MB / 427.6 MB, free: 85.4 MB / 314.7 MB Notification: Performance of pre-optimization done (n=34): time 2.044e-06/0.6321, allocations: 0 / 427.6 MB, free: 85.4 MB / 314.7 MB Notification: Performance of matching and sorting (n=34): time 0.003534/0.6356, allocations: 1.77 MB / 429.3 MB, free: 84.81 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001745/0.6358, allocations: 281.2 kB / 429.6 MB, free: 84.53 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002378/0.6382, allocations: 1.025 MB / 430.6 MB, free: 84.26 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001243/0.6384, allocations: 46.08 kB / 430.7 MB, free: 84.23 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000161/0.6385, allocations: 145.5 kB / 430.8 MB, free: 84.14 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001531/0.6387, allocations: 82.12 kB / 430.9 MB, free: 84.1 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.838e-05/0.6388, allocations: 10.84 kB / 430.9 MB, free: 84.1 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.6389, allocations: 347.7 kB / 431.3 MB, free: 83.77 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008162/0.6397, allocations: 342 kB / 431.6 MB, free: 83.67 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007512/0.6405, allocations: 379.5 kB / 432 MB, free: 83.54 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000676/0.6412, allocations: 494.6 kB / 432.4 MB, free: 83.21 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.6412, allocations: 7.906 kB / 432.5 MB, free: 83.2 MB / 314.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.002186/0.6434, allocations: 1.111 MB / 433.6 MB, free: 82.68 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002334/0.6437, allocations: 242.2 kB / 433.8 MB, free: 82.45 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/0.6437, allocations: 3.875 kB / 433.8 MB, free: 82.45 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.663e-05/0.6437, allocations: 0 / 433.8 MB, free: 82.45 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.755e-05/0.6438, allocations: 3.938 kB / 433.8 MB, free: 82.45 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.178e-05/0.6438, allocations: 0 / 433.8 MB, free: 82.45 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005993/0.6444, allocations: 50.78 kB / 433.9 MB, free: 82.44 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002744/0.6447, allocations: 155.7 kB / 434 MB, free: 82.43 MB / 314.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.001523/0.6463, allocations: 0.7537 MB / 434.8 MB, free: 81.94 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002053/0.6465, allocations: 86.88 kB / 434.8 MB, free: 81.9 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003779/0.6469, allocations: 147.5 kB / 435 MB, free: 81.82 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.626e-06/0.6469, allocations: 3.094 kB / 435 MB, free: 81.82 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.164e-05/0.6469, allocations: 0 / 435 MB, free: 81.82 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.006e-05/0.6469, allocations: 0 / 435 MB, free: 81.82 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003894/0.6508, allocations: 1.957 MB / 437 MB, free: 80.79 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.219e-06/0.6509, allocations: 0 / 437 MB, free: 80.79 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.304e-05/0.6509, allocations: 10.91 kB / 437 MB, free: 80.79 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.873e-06/0.6509, allocations: 0 / 437 MB, free: 80.79 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001158/0.6511, allocations: 37.14 kB / 437 MB, free: 80.79 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.641e-06/0.6511, allocations: 3.844 kB / 437 MB, free: 80.79 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.6511, allocations: 3.953 kB / 437 MB, free: 80.78 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002904/0.654, allocations: 1.374 MB / 438.4 MB, free: 80.09 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001423/0.6555, allocations: 0.5614 MB / 438.9 MB, free: 79.75 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002537/0.6557, allocations: 61.92 kB / 439 MB, free: 79.73 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005366/0.6563, allocations: 30.83 kB / 439 MB, free: 79.73 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005971/0.6569, allocations: 243.3 kB / 439.3 MB, free: 79.67 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002906/0.6572, allocations: 168.8 kB / 439.4 MB, free: 79.65 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.00183/0.6591, allocations: 0.8519 MB / 440.3 MB, free: 79.28 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.31e-07/0.6591, allocations: 0 / 440.3 MB, free: 79.28 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007865/0.6599, allocations: 125.1 kB / 440.4 MB, free: 79.27 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) * 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.0003173/0.6602, allocations: 179.9 kB / 440.6 MB, free: 79.17 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002448/0.6627, allocations: 1.512 MB / 442.1 MB, free: 78.25 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.6627, allocations: 0 / 442.1 MB, free: 78.25 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001367/0.6641, allocations: 1.112 MB / 443.2 MB, free: 77.46 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00172/0.6658, allocations: 280.5 kB / 443.5 MB, free: 77.41 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002281/0.6681, allocations: 2.147 MB / 445.6 MB, free: 76.04 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004924/0.6686, allocations: 1.034 MB / 446.7 MB, free: 75.07 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001243/0.6688, allocations: 38.19 kB / 446.7 MB, free: 75.04 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.733e-05/0.6688, allocations: 19.44 kB / 446.7 MB, free: 75.02 MB / 314.7 MB Notification: Performance of SimCode: time 9.02e-07/0.6688, allocations: 0 / 446.7 MB, free: 75.02 MB / 314.7 MB Notification: Performance of Templates: time 0.01339/0.6822, allocations: 13.54 MB / 460.3 MB, free: 61.39 MB / 314.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)