Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DFFREGSRL.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.DFFREGSRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DFFREGSRL") translateModel(Modelica.Electrical.Digital.Examples.DFFREGSRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DFFREGSRL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001032/0.001032, allocations: 182.7 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.338/1.338, 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.001645/0.001645, allocations: 126.2 kB / 253.5 MB, free: 9.57 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.531e-05/2.534e-05, allocations: 4 kB / 304.9 MB, free: 29.76 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07336/0.0734, allocations: 44.5 MB / 349.4 MB, free: 1.25 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3039/0.3774, allocations: 78.18 MB / 427.6 MB, free: 10.42 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000227/0.3777, allocations: 70.11 kB / 427.7 MB, free: 10.41 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05211/0.4298, allocations: 32.79 MB / 460.5 MB, free: 5.234 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.023e-06/0.4298, allocations: 3.938 kB / 460.5 MB, free: 5.23 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.853e-05/0.4299, allocations: 20 kB / 460.5 MB, free: 5.211 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.001304/0.4312, allocations: 1.289 MB / 461.8 MB, free: 3.898 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.4312, allocations: 12.02 kB / 461.8 MB, free: 3.887 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001669/0.4314, allocations: 134.4 kB / 461.9 MB, free: 3.754 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006992/0.4321, allocations: 0.5157 MB / 462.4 MB, free: 3.227 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.67e-05/0.4322, allocations: 15.44 kB / 462.5 MB, free: 3.215 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.242e-05/0.4323, allocations: 30.88 kB / 462.5 MB, free: 3.191 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009022/0.4332, allocations: 0.6271 MB / 463.1 MB, free: 2.707 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.4332, allocations: 0 / 463.1 MB, free: 2.707 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.135e-05/0.4333, allocations: 23.77 kB / 463.1 MB, free: 2.688 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.447e-06/0.4333, allocations: 4 kB / 463.1 MB, free: 2.684 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000601/0.4339, allocations: 459.1 kB / 463.6 MB, free: 2.367 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00155/0.4354, allocations: 1.084 MB / 464.7 MB, free: 1.453 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007311/0.4362, allocations: 0.6884 MB / 465.4 MB, free: 1.051 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006933/0.4369, allocations: 0.6795 MB / 466 MB, free: 0.668 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.258e-05/0.4369, allocations: 0 / 466 MB, free: 0.668 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008713/0.4378, allocations: 0.7655 MB / 466.8 MB, free: 16 kB / 314.7 MB Notification: Performance of pre-optimization done (n=36): time 1.693e-06/0.4378, allocations: 4 kB / 466.8 MB, free: 12 kB / 314.7 MB Notification: Performance of matching and sorting (n=36): time 0.001831/0.4396, allocations: 1.405 MB / 468.2 MB, free: 14.83 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000185/0.4398, allocations: 330.3 kB / 468.5 MB, free: 14.46 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002013/0.4419, allocations: 1.601 MB / 470.1 MB, free: 13.12 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.256e-05/0.4419, allocations: 41.2 kB / 470.2 MB, free: 13.08 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002015/0.4421, allocations: 243.8 kB / 470.4 MB, free: 12.93 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001012/0.4423, allocations: 82.86 kB / 470.5 MB, free: 12.86 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.943e-05/0.4423, allocations: 11.88 kB / 470.5 MB, free: 12.85 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001752/0.4425, allocations: 388.9 kB / 470.9 MB, free: 12.48 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005731/0.4431, allocations: 453.6 kB / 471.3 MB, free: 12.18 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005888/0.4437, allocations: 444 kB / 471.8 MB, free: 11.88 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006318/0.4443, allocations: 0.5829 MB / 472.4 MB, free: 11.36 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.4443, allocations: 0 / 472.4 MB, free: 11.36 MB / 330.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001816/0.4461, allocations: 1.349 MB / 473.7 MB, free: 10.02 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002119/0.4464, allocations: 289.5 kB / 474 MB, free: 9.684 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.4464, allocations: 3.938 kB / 474 MB, free: 9.68 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.4464, allocations: 0 / 474 MB, free: 9.68 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.036e-05/0.4464, allocations: 4 kB / 474 MB, free: 9.676 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.4465, allocations: 3.938 kB / 474 MB, free: 9.672 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003548/0.4468, allocations: 51.86 kB / 474 MB, free: 9.621 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001896/0.447, allocations: 151.9 kB / 474.2 MB, free: 9.473 MB / 330.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: 43 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,clock.y,data_0.y,reset.y,data_1.y,set.y,$PRE.dFFREGSRL.delay.inertialDelaySensitive[1].x,dFFREGSRL.delay.inertialDelaySensitive[1].x,$PRE.dFFREGSRL.delay.inertialDelaySensitive[1].y,dFFREGSRL.delay.inertialDelaySensitive[1].y,dFFREGSRL.delay.inertialDelaySensitive[1].delayTime,dFFREGSRL.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGSRL.delay.inertialDelaySensitive[1].y_old,dFFREGSRL.delay.inertialDelaySensitive[1].lh,dFFREGSRL.delay.inertialDelaySensitive[1].t_next,$PRE.dFFREGSRL.delay.inertialDelaySensitive[2].x,dFFREGSRL.delay.inertialDelaySensitive[2].x,$PRE.dFFREGSRL.delay.inertialDelaySensitive[2].y,dFFREGSRL.delay.inertialDelaySensitive[2].y,dFFREGSRL.delay.inertialDelaySensitive[2].delayTime,dFFREGSRL.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGSRL.delay.inertialDelaySensitive[2].y_old,dFFREGSRL.delay.inertialDelaySensitive[2].lh,dFFREGSRL.delay.inertialDelaySensitive[2].t_next,$PRE.dFFREGSRL.dFFSR.set,dFFREGSRL.dFFSR.set,$PRE.dFFREGSRL.dFFSR.reset,dFFREGSRL.dFFSR.reset,$PRE.dFFREGSRL.dFFSR.clock,dFFREGSRL.dFFSR.clock,dFFREGSRL.dFFSR.dataIn[1],dFFREGSRL.dFFSR.dataIn[2],dFFREGSRL.dFFSR.dataOut[1],dFFREGSRL.dFFSR.dataOut[2],dFFREGSRL.dFFSR.clock_flag,dFFREGSRL.dFFSR.reset_set_flag,dFFREGSRL.dFFSR.nextstate[1],dFFREGSRL.dFFSR.nextstate[2],dFFREGSRL.dFFSR.next_assign_val[1],dFFREGSRL.dFFSR.next_assign_val[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 8 * 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.0004669/0.4475, allocations: 462.4 kB / 474.6 MB, free: 8.965 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001608/0.4477, allocations: 134.5 kB / 474.8 MB, free: 8.832 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004825/0.4482, allocations: 255.7 kB / 475 MB, free: 8.582 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.4482, allocations: 4 kB / 475 MB, free: 8.578 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.4482, allocations: 0 / 475 MB, free: 8.578 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.4482, allocations: 3.938 kB / 475 MB, free: 8.574 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003537/0.4517, allocations: 2.399 MB / 477.4 MB, free: 6.062 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/0.4518, allocations: 0 / 477.4 MB, free: 6.062 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.23e-05/0.4518, allocations: 0 / 477.4 MB, free: 6.062 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.4518, allocations: 0 / 477.4 MB, free: 6.062 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.837e-05/0.4519, allocations: 47.97 kB / 477.5 MB, free: 6.016 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.4519, allocations: 4 kB / 477.5 MB, free: 6.012 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.4519, allocations: 0 / 477.5 MB, free: 6.012 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002135/0.454, allocations: 1.61 MB / 479.1 MB, free: 4.332 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001095/0.4551, allocations: 0.6786 MB / 479.8 MB, free: 3.633 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001796/0.4553, allocations: 63.95 kB / 479.8 MB, free: 3.57 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003369/0.4557, allocations: 47.88 kB / 479.9 MB, free: 3.523 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005435/0.4562, allocations: 351.6 kB / 480.2 MB, free: 3.18 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001902/0.4564, allocations: 167.8 kB / 480.4 MB, free: 3.016 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001914/0.4584, allocations: 1.319 MB / 481.7 MB, free: 1.691 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4584, allocations: 0 / 481.7 MB, free: 1.691 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005254/0.4589, allocations: 148 kB / 481.9 MB, free: 1.547 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: 36 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,clock.y,data_0.y,reset.y,data_1.y,set.y,dFFREGSRL.delay.inertialDelaySensitive[1].x,dFFREGSRL.delay.inertialDelaySensitive[1].y,dFFREGSRL.delay.inertialDelaySensitive[1].delayTime,dFFREGSRL.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGSRL.delay.inertialDelaySensitive[1].y_old,dFFREGSRL.delay.inertialDelaySensitive[1].lh,dFFREGSRL.delay.inertialDelaySensitive[1].t_next,dFFREGSRL.delay.inertialDelaySensitive[2].x,dFFREGSRL.delay.inertialDelaySensitive[2].y,dFFREGSRL.delay.inertialDelaySensitive[2].delayTime,dFFREGSRL.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGSRL.delay.inertialDelaySensitive[2].y_old,dFFREGSRL.delay.inertialDelaySensitive[2].lh,dFFREGSRL.delay.inertialDelaySensitive[2].t_next,dFFREGSRL.dFFSR.set,dFFREGSRL.dFFSR.reset,dFFREGSRL.dFFSR.clock,dFFREGSRL.dFFSR.dataIn[1],dFFREGSRL.dFFSR.dataIn[2],dFFREGSRL.dFFSR.dataOut[1],dFFREGSRL.dFFSR.dataOut[2],dFFREGSRL.dFFSR.clock_flag,dFFREGSRL.dFFSR.reset_set_flag,dFFREGSRL.dFFSR.nextstate[1],dFFREGSRL.dFFSR.nextstate[2],dFFREGSRL.dFFSR.next_assign_val[1],dFFREGSRL.dFFSR.next_assign_val[2]) * Number of discrete states: 34 (set.y,data_1.y,reset.y,data_0.y,clock.y,dFFREGSRL.dFFSR.dataOut[2],dFFREGSRL.dFFSR.dataOut[1],dFFREGSRL.dFFSR.next_assign_val[2],dFFREGSRL.dFFSR.next_assign_val[1],dFFREGSRL.dFFSR.nextstate[2],dFFREGSRL.dFFSR.nextstate[1],dFFREGSRL.dFFSR.reset_set_flag,dFFREGSRL.dFFSR.clock_flag,dFFREGSRL.dFFSR.clock,dFFREGSRL.dFFSR.reset,dFFREGSRL.dFFSR.set,dFFREGSRL.delay.inertialDelaySensitive[2].y,dFFREGSRL.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGSRL.delay.inertialDelaySensitive[2].t_next,dFFREGSRL.delay.inertialDelaySensitive[2].delayTime,dFFREGSRL.delay.inertialDelaySensitive[2].lh,dFFREGSRL.delay.inertialDelaySensitive[2].y_old,$whenCondition4,$whenCondition3,dFFREGSRL.delay.inertialDelaySensitive[2].x,dFFREGSRL.delay.inertialDelaySensitive[1].y,dFFREGSRL.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGSRL.delay.inertialDelaySensitive[1].t_next,dFFREGSRL.delay.inertialDelaySensitive[1].delayTime,dFFREGSRL.delay.inertialDelaySensitive[1].lh,dFFREGSRL.delay.inertialDelaySensitive[1].y_old,$whenCondition2,$whenCondition1,dFFREGSRL.delay.inertialDelaySensitive[1].x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 8 * 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.0002926/0.4592, allocations: 197.6 kB / 482 MB, free: 1.344 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002008/0.4612, allocations: 1.906 MB / 484 MB, free: 15.34 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.4612, allocations: 0 / 484 MB, free: 15.34 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001294/0.4625, allocations: 1.386 MB / 485.3 MB, free: 13.86 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001217/0.4638, allocations: 306.6 kB / 485.6 MB, free: 13.55 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003696/0.4675, allocations: 2.476 MB / 488.1 MB, free: 11.04 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009866/0.4685, allocations: 1.213 MB / 489.3 MB, free: 9.809 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000291/0.4688, allocations: 162.9 kB / 489.5 MB, free: 9.648 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.91e-05/0.4688, allocations: 27.44 kB / 489.5 MB, free: 9.621 MB / 346.7 MB Notification: Performance of SimCode: time 5.51e-07/0.4688, allocations: 0 / 489.5 MB, free: 9.621 MB / 346.7 MB Notification: Performance of Templates: time 0.02104/0.4899, allocations: 16.65 MB / 0.4943 GB, free: 8.551 MB / 362.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DFFREGSRL.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DFFREGSRL.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DFFREGSRL.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DFFREGSRL.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DFFREGSRL.sim & ./Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DFFREGSRL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DFFREGSRL.pipe 2>&1)