Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DFFREG.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.DFFREG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DFFREG") translateModel(Modelica.Electrical.Digital.Examples.DFFREG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DFFREG") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001248/0.001248, allocations: 182.4 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.399/1.399, allocations: 194.3 MB / 208.4 MB, free: 6.703 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001631/0.001631, allocations: 112.7 kB / 253.5 MB, free: 9.574 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.222e-05/2.226e-05, allocations: 0 / 304.9 MB, free: 29.76 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06713/0.06717, allocations: 44.49 MB / 349.4 MB, free: 1.246 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2909/0.3581, allocations: 77.88 MB / 427.3 MB, free: 10.51 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001839/0.3583, allocations: 69.48 kB / 427.4 MB, free: 10.5 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04402/0.4023, allocations: 27.95 MB / 455.3 MB, free: 10.1 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.4023, allocations: 0 / 455.3 MB, free: 10.1 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.816e-05/0.4024, allocations: 8 kB / 455.3 MB, free: 10.09 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.0008977/0.4033, allocations: 1.007 MB / 456.4 MB, free: 9.043 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.4033, allocations: 8.031 kB / 456.4 MB, free: 9.035 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001264/0.4034, allocations: 98.89 kB / 456.5 MB, free: 8.938 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006028/0.4041, allocations: 424.4 kB / 456.9 MB, free: 8.516 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.708e-05/0.4041, allocations: 19.56 kB / 456.9 MB, free: 8.5 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.598e-05/0.4042, allocations: 23.62 kB / 456.9 MB, free: 8.48 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007054/0.4049, allocations: 0.5079 MB / 457.4 MB, free: 8.082 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.605e-06/0.4049, allocations: 0 / 457.4 MB, free: 8.082 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.513e-05/0.405, allocations: 11.56 kB / 457.4 MB, free: 8.074 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.405, allocations: 7.938 kB / 457.4 MB, free: 8.066 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004664/0.4055, allocations: 367.1 kB / 457.8 MB, free: 7.809 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001208/0.4067, allocations: 0.862 MB / 458.7 MB, free: 7.07 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005726/0.4073, allocations: 0.5028 MB / 459.2 MB, free: 6.758 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005271/0.4078, allocations: 0.4943 MB / 459.7 MB, free: 6.461 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.037e-06/0.4078, allocations: 0 / 459.7 MB, free: 6.461 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007379/0.4086, allocations: 0.6537 MB / 460.3 MB, free: 5.887 MB / 314.7 MB Notification: Performance of pre-optimization done (n=34): time 1.984e-06/0.4086, allocations: 0 / 460.3 MB, free: 5.887 MB / 314.7 MB Notification: Performance of matching and sorting (n=34): time 0.001514/0.4101, allocations: 1.173 MB / 461.5 MB, free: 4.891 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001416/0.4102, allocations: 274.8 kB / 461.8 MB, free: 4.578 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001317/0.4116, allocations: 1.032 MB / 462.8 MB, free: 3.727 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.63e-05/0.4116, allocations: 44.69 kB / 462.8 MB, free: 3.68 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.804e-05/0.4117, allocations: 148.5 kB / 463 MB, free: 3.57 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.597e-05/0.4118, allocations: 83.27 kB / 463.1 MB, free: 3.5 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.67e-05/0.4119, allocations: 11.12 kB / 463.1 MB, free: 3.492 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.412, allocations: 344.8 kB / 463.4 MB, free: 3.16 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004313/0.4125, allocations: 349.3 kB / 463.7 MB, free: 2.926 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004139/0.4129, allocations: 352.8 kB / 464.1 MB, free: 2.691 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000442/0.4133, allocations: 0.4887 MB / 464.6 MB, free: 2.254 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.4134, allocations: 7.938 kB / 464.6 MB, free: 2.246 MB / 314.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.00132/0.4147, allocations: 1.116 MB / 465.7 MB, free: 1.312 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000166/0.4149, allocations: 244.5 kB / 465.9 MB, free: 1.051 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.4149, allocations: 0 / 465.9 MB, free: 1.051 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.4149, allocations: 4 kB / 465.9 MB, free: 1.047 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.745e-05/0.4149, allocations: 3.938 kB / 465.9 MB, free: 1.043 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.4149, allocations: 0 / 465.9 MB, free: 1.043 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002917/0.4152, allocations: 43.5 kB / 466 MB, free: 1.004 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000174/0.4154, allocations: 155.2 kB / 466.1 MB, free: 0.8555 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.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.0003406/0.4158, allocations: 414.3 kB / 466.5 MB, free: 428 kB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001291/0.4159, allocations: 90.97 kB / 466.6 MB, free: 336 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002442/0.4162, allocations: 150.8 kB / 466.8 MB, free: 200 kB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.4162, allocations: 0 / 466.8 MB, free: 200 kB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.4162, allocations: 4 kB / 466.8 MB, free: 196 kB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.4162, allocations: 0 / 466.8 MB, free: 196 kB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00228/0.4185, allocations: 1.955 MB / 468.7 MB, free: 14.55 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.4185, allocations: 0 / 468.7 MB, free: 14.55 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.191e-05/0.4185, allocations: 4 kB / 468.7 MB, free: 14.55 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.4185, allocations: 0 / 468.7 MB, free: 14.55 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.894e-05/0.4186, allocations: 39.09 kB / 468.8 MB, free: 14.52 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.4186, allocations: 0 / 468.8 MB, free: 14.52 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.4186, allocations: 0 / 468.8 MB, free: 14.52 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001688/0.4203, allocations: 1.378 MB / 470.2 MB, free: 13.34 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008676/0.4212, allocations: 0.563 MB / 470.7 MB, free: 12.83 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001628/0.4213, allocations: 59.97 kB / 470.8 MB, free: 12.77 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002893/0.4216, allocations: 39.81 kB / 470.8 MB, free: 12.73 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003792/0.422, allocations: 239.7 kB / 471.1 MB, free: 12.5 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001672/0.4222, allocations: 159.8 kB / 471.2 MB, free: 12.34 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001047/0.4233, allocations: 0.8539 MB / 472.1 MB, free: 11.5 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4233, allocations: 4 kB / 472.1 MB, free: 11.49 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004219/0.4237, allocations: 128 kB / 472.2 MB, free: 11.37 MB / 330.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.0002906/0.424, allocations: 184.4 kB / 472.4 MB, free: 11.18 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001624/0.4256, allocations: 1.513 MB / 473.9 MB, free: 9.582 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.4256, allocations: 0 / 473.9 MB, free: 9.582 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000941/0.4266, allocations: 1.109 MB / 475 MB, free: 8.387 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001086/0.4277, allocations: 293.1 kB / 475.3 MB, free: 8.102 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002362/0.4301, allocations: 1.718 MB / 477 MB, free: 6.355 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006757/0.4308, allocations: 1.042 MB / 478 MB, free: 5.285 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001471/0.4309, allocations: 37.5 kB / 478.1 MB, free: 5.246 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.816e-05/0.4309, allocations: 15.44 kB / 478.1 MB, free: 5.23 MB / 330.7 MB Notification: Performance of SimCode: time 6.42e-07/0.431, allocations: 0 / 478.1 MB, free: 5.23 MB / 330.7 MB Notification: Performance of Templates: time 0.01771/0.4487, allocations: 13.54 MB / 491.6 MB, free: 7.418 MB / 346.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DFFREG.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DFFREG.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DFFREG.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DFFREG.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DFFREG.sim & ./Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DFFREG -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DFFREG.pipe 2>&1)