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.00672/0.00672, allocations: 165.4 kB / 15.11 MB, free: 6.039 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.418/1.418, allocations: 170.8 MB / 186.6 MB, free: 1.141 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.001749/0.001749, allocations: 99.34 kB / 226.2 MB, free: 10.12 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004594/0.0004594, allocations: 8 kB / 274.1 MB, free: 10.1 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2594/0.2598, allocations: 38.76 MB / 312.9 MB, free: 38.7 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09617/0.3561, allocations: 72.67 MB / 385.5 MB, free: 1.867 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002283/0.3564, allocations: 71.95 kB / 385.6 MB, free: 1.797 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05314/0.4095, allocations: 27.73 MB / 413.3 MB, free: 6.121 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.835e-06/0.4096, allocations: 0 / 413.3 MB, free: 6.121 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.177e-05/0.4096, allocations: 8 kB / 413.4 MB, free: 6.113 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.001486/0.4111, allocations: 1.135 MB / 414.5 MB, free: 4.883 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/0.4111, allocations: 8.031 kB / 414.5 MB, free: 4.875 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001532/0.4113, allocations: 86.97 kB / 414.6 MB, free: 4.789 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007331/0.4121, allocations: 423.6 kB / 415 MB, free: 4.336 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.201e-05/0.4121, allocations: 27.94 kB / 415 MB, free: 4.309 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.98e-05/0.4122, allocations: 27.94 kB / 415 MB, free: 4.281 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008793/0.4131, allocations: 0.5022 MB / 415.5 MB, free: 3.77 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.4131, allocations: 0 / 415.5 MB, free: 3.77 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.97e-05/0.4132, allocations: 12 kB / 415.6 MB, free: 3.758 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-06/0.4132, allocations: 4 kB / 415.6 MB, free: 3.754 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000583/0.4138, allocations: 360 kB / 415.9 MB, free: 3.402 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001548/0.4153, allocations: 0.8637 MB / 416.8 MB, free: 2.488 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006941/0.416, allocations: 0.4945 MB / 417.3 MB, free: 1.984 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.144e-05/0.4161, allocations: 128 / 417.3 MB, free: 1.984 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000865/0.4169, allocations: 0.6548 MB / 417.9 MB, free: 1.289 MB / 314.7 MB Notification: Performance of pre-optimization done (n=34): time 1.633e-06/0.417, allocations: 4 kB / 417.9 MB, free: 1.285 MB / 314.7 MB Notification: Performance of matching and sorting (n=34): time 0.2018/0.6188, allocations: 1.769 MB / 419.7 MB, free: 86.02 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002028/0.619, allocations: 279 kB / 420 MB, free: 85.74 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002433/0.6215, allocations: 1.025 MB / 421 MB, free: 85.49 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.046e-05/0.6216, allocations: 42.59 kB / 421 MB, free: 85.46 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001133/0.6217, allocations: 153.3 kB / 421.2 MB, free: 85.38 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001008/0.6218, allocations: 76.16 kB / 421.3 MB, free: 85.34 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.775e-05/0.6219, allocations: 11.75 kB / 421.3 MB, free: 85.34 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.903e-05/0.622, allocations: 344.8 kB / 421.6 MB, free: 85.03 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005469/0.6225, allocations: 339.8 kB / 421.9 MB, free: 85.03 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005537/0.6231, allocations: 378.9 kB / 422.3 MB, free: 85 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000528/0.6236, allocations: 487.3 kB / 422.8 MB, free: 84.78 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/0.6236, allocations: 3.344 kB / 422.8 MB, free: 84.78 MB / 314.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001579/0.6252, allocations: 1.119 MB / 423.9 MB, free: 84.51 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001807/0.6254, allocations: 246.3 kB / 424.2 MB, free: 84.29 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.6254, allocations: 1.219 kB / 424.2 MB, free: 84.29 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/0.6255, allocations: 4.531 kB / 424.2 MB, free: 84.29 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.258e-05/0.6255, allocations: 2.156 kB / 424.2 MB, free: 84.29 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/0.6255, allocations: 2.406 kB / 424.2 MB, free: 84.29 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003228/0.6258, allocations: 39.14 kB / 424.2 MB, free: 84.29 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002084/0.6261, allocations: 149.8 kB / 424.3 MB, free: 84.29 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.dFFREG.delay.inertialDelaySensitive[2].y,$PRE.dFFREG.delay.inertialDelaySensitive[1].y,$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,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,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 () * 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.0008409/0.6269, allocations: 0.7613 MB / 425.1 MB, free: 83.9 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001435/0.6271, allocations: 94.31 kB / 425.2 MB, free: 83.86 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002583/0.6273, allocations: 151.5 kB / 425.4 MB, free: 83.79 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-06/0.6273, allocations: 5.922 kB / 425.4 MB, free: 83.79 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-06/0.6274, allocations: 3.406 kB / 425.4 MB, free: 83.79 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.6274, allocations: 3.656 kB / 425.4 MB, free: 83.79 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002595/0.63, allocations: 1.947 MB / 427.3 MB, free: 83.19 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.63, allocations: 0 / 427.3 MB, free: 83.19 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.457e-05/0.63, allocations: 8.859 kB / 427.3 MB, free: 83.19 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.63, allocations: 3.188 kB / 427.3 MB, free: 83.19 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.794e-05/0.6301, allocations: 34.23 kB / 427.4 MB, free: 83.19 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.6301, allocations: 0 / 427.4 MB, free: 83.19 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.6301, allocations: 1.438 kB / 427.4 MB, free: 83.19 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001894/0.632, allocations: 1.372 MB / 428.7 MB, free: 82.8 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008988/0.6329, allocations: 0.5656 MB / 429.3 MB, free: 82.6 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001646/0.6331, allocations: 56.42 kB / 429.3 MB, free: 82.58 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002897/0.6334, allocations: 34.56 kB / 429.4 MB, free: 82.57 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004162/0.6338, allocations: 244.4 kB / 429.6 MB, free: 82.52 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002066/0.6341, allocations: 155.6 kB / 429.8 MB, free: 82.51 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001191/0.6353, allocations: 0.8655 MB / 430.6 MB, free: 82.14 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6353, allocations: 0 / 430.6 MB, free: 82.14 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004793/0.6358, allocations: 122.5 kB / 430.8 MB, free: 82.13 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,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) * 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.0002376/0.636, allocations: 182.9 kB / 430.9 MB, free: 82.03 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001382/0.6374, allocations: 1.527 MB / 432.5 MB, free: 81.11 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.6374, allocations: 0 / 432.5 MB, free: 81.11 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008646/0.6383, allocations: 1.109 MB / 433.6 MB, free: 80.32 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009645/0.6392, allocations: 283 kB / 433.8 MB, free: 80.26 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002726/0.642, allocations: 2.134 MB / 436 MB, free: 79.24 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006826/0.6427, allocations: 1.035 MB / 437 MB, free: 78.45 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002181/0.6429, allocations: 42.42 kB / 437.1 MB, free: 78.44 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.562e-05/0.643, allocations: 18.19 kB / 437.1 MB, free: 78.43 MB / 314.7 MB Notification: Performance of SimCode: time 1.643e-06/0.643, allocations: 0 / 437.1 MB, free: 78.43 MB / 314.7 MB Notification: Performance of Templates: time 0.01657/0.6595, allocations: 13.53 MB / 450.6 MB, free: 69.83 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)