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.001626/0.001626, allocations: 169.9 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.185/1.185, allocations: 170.6 MB / 183.8 MB, free: 11.5 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.001622/0.001622, allocations: 111.4 kB / 223.2 MB, free: 4.113 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.917e-05/2.919e-05, allocations: 4 kB / 268.9 MB, free: 20.93 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07811/0.07815, allocations: 38.78 MB / 307.6 MB, free: 14.13 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2656/0.3438, allocations: 72.56 MB / 380.2 MB, free: 3.641 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002047/0.344, allocations: 66.22 kB / 380.3 MB, free: 3.609 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05262/0.3966, allocations: 27.88 MB / 408.1 MB, free: 12.35 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3967, allocations: 0 / 408.1 MB, free: 12.35 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.808e-05/0.3967, allocations: 19.94 kB / 408.2 MB, free: 12.33 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.001117/0.3979, allocations: 0.9984 MB / 409.2 MB, free: 11.29 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.3979, allocations: 12.02 kB / 409.2 MB, free: 11.28 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001413/0.3981, allocations: 87.06 kB / 409.3 MB, free: 11.2 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006355/0.3987, allocations: 421.8 kB / 409.7 MB, free: 10.78 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.864e-05/0.3988, allocations: 23.33 kB / 409.7 MB, free: 10.76 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.483e-05/0.3988, allocations: 23.25 kB / 409.7 MB, free: 10.74 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007953/0.3996, allocations: 0.5034 MB / 410.2 MB, free: 10.34 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.3997, allocations: 0 / 410.2 MB, free: 10.34 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.862e-05/0.3997, allocations: 14.94 kB / 410.2 MB, free: 10.33 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.3997, allocations: 4 kB / 410.2 MB, free: 10.33 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005162/0.4003, allocations: 355.1 kB / 410.6 MB, free: 10.09 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001346/0.4016, allocations: 0.858 MB / 411.4 MB, free: 9.352 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005715/0.4022, allocations: 0.4977 MB / 411.9 MB, free: 9.043 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005322/0.4028, allocations: 493.5 kB / 412.4 MB, free: 8.758 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.498e-05/0.4028, allocations: 3.938 kB / 412.4 MB, free: 8.754 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000755/0.4035, allocations: 0.6431 MB / 413.1 MB, free: 8.188 MB / 298.7 MB Notification: Performance of pre-optimization done (n=34): time 2.845e-06/0.4036, allocations: 4 kB / 413.1 MB, free: 8.184 MB / 298.7 MB Notification: Performance of matching and sorting (n=34): time 0.001635/0.4052, allocations: 1.158 MB / 414.2 MB, free: 7.203 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001839/0.4054, allocations: 281.8 kB / 414.5 MB, free: 6.887 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001471/0.4069, allocations: 1.015 MB / 415.5 MB, free: 6.051 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.161e-05/0.407, allocations: 44.5 kB / 415.6 MB, free: 6.004 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001298/0.4071, allocations: 154.2 kB / 415.7 MB, free: 5.891 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000128/0.4072, allocations: 77.3 kB / 415.8 MB, free: 5.824 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.255e-05/0.4073, allocations: 11.25 kB / 415.8 MB, free: 5.816 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002163/0.4075, allocations: 348.7 kB / 416.1 MB, free: 5.48 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005534/0.4081, allocations: 338.4 kB / 416.5 MB, free: 5.203 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006092/0.4087, allocations: 344.5 kB / 416.8 MB, free: 4.867 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005215/0.4092, allocations: 489.3 kB / 417.3 MB, free: 4.348 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.4092, allocations: 0 / 417.3 MB, free: 4.348 MB / 298.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001493/0.4107, allocations: 1.117 MB / 418.4 MB, free: 3.18 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001944/0.4109, allocations: 239.9 kB / 418.6 MB, free: 2.902 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.976e-06/0.411, allocations: 0 / 418.6 MB, free: 2.902 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.059e-05/0.411, allocations: 3.938 kB / 418.6 MB, free: 2.898 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.741e-05/0.411, allocations: 8 kB / 418.6 MB, free: 2.891 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.4111, allocations: 4 kB / 418.7 MB, free: 2.887 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000361/0.4114, allocations: 35.88 kB / 418.7 MB, free: 2.852 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001869/0.4116, allocations: 152.2 kB / 418.8 MB, free: 2.703 MB / 298.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.dFFREG.delay.inertialDelaySensitive[1].x,dFFREG.delay.inertialDelaySensitive[1].x,$PRE.dFFREG.delay.inertialDelaySensitive[1].y,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,$PRE.dFFREG.delay.inertialDelaySensitive[2].y,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 () * 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.0004641/0.4121, allocations: 406 kB / 419.2 MB, free: 2.258 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001592/0.4123, allocations: 99 kB / 419.3 MB, free: 2.16 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004105/0.4127, allocations: 143.8 kB / 419.5 MB, free: 2.016 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.4127, allocations: 4 kB / 419.5 MB, free: 2.012 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.4127, allocations: 0 / 419.5 MB, free: 2.012 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.4127, allocations: 3.984 kB / 419.5 MB, free: 2.008 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002565/0.4153, allocations: 1.931 MB / 421.4 MB, free: 15.97 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.4153, allocations: 4 kB / 421.4 MB, free: 15.97 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.124e-05/0.4153, allocations: 3.938 kB / 421.4 MB, free: 15.97 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.185e-06/0.4153, allocations: 0 / 421.4 MB, free: 15.97 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.136e-05/0.4154, allocations: 43.98 kB / 421.5 MB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.013e-06/0.4154, allocations: 0 / 421.5 MB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.4154, allocations: 0 / 421.5 MB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001761/0.4172, allocations: 1.357 MB / 422.8 MB, free: 14.51 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009274/0.4181, allocations: 0.5699 MB / 423.4 MB, free: 13.92 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001529/0.4183, allocations: 55.97 kB / 423.4 MB, free: 13.86 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003106/0.4186, allocations: 35.97 kB / 423.5 MB, free: 13.83 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004204/0.419, allocations: 247.7 kB / 423.7 MB, free: 13.59 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001682/0.4192, allocations: 151.9 kB / 423.9 MB, free: 13.44 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001196/0.4204, allocations: 0.8539 MB / 424.7 MB, free: 12.59 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.21e-07/0.4204, allocations: 0 / 424.7 MB, free: 12.59 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004579/0.4209, allocations: 120 kB / 424.8 MB, free: 12.47 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) * 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.0002676/0.4212, allocations: 184.4 kB / 425 MB, free: 12.28 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001624/0.4228, allocations: 1.493 MB / 426.5 MB, free: 10.7 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.4228, allocations: 0 / 426.5 MB, free: 10.7 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001046/0.4239, allocations: 1.109 MB / 427.6 MB, free: 9.508 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001198/0.4251, allocations: 279.9 kB / 427.9 MB, free: 9.23 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002602/0.4277, allocations: 1.703 MB / 429.6 MB, free: 7.5 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008023/0.4285, allocations: 1.038 MB / 430.6 MB, free: 6.43 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001655/0.4287, allocations: 37.5 kB / 430.7 MB, free: 6.395 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.102e-05/0.4287, allocations: 15.44 kB / 430.7 MB, free: 6.379 MB / 314.7 MB Notification: Performance of SimCode: time 7.41e-07/0.4287, allocations: 0 / 430.7 MB, free: 6.379 MB / 314.7 MB Notification: Performance of Templates: time 0.01825/0.447, allocations: 13.5 MB / 444.2 MB, free: 8.594 MB / 330.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)