Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DFFREGSRL.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.DFFREGSRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DFFREGSRL") translateModel(Modelica.Electrical.Digital.Examples.DFFREGSRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DFFREGSRL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0009611/0.0009611, allocations: 171.3 kB / 7.638 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.261/1.261, allocations: 170.7 MB / 178.7 MB, free: 15.65 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.001586/0.001586, allocations: 115.4 kB / 218 MB, free: 8.402 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.856e-05/1.859e-05, allocations: 4 kB / 262.2 MB, free: 26.41 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0678/0.06783, allocations: 38.77 MB / 301 MB, free: 3.641 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2717/0.3396, allocations: 72.19 MB / 373.2 MB, free: 12.14 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002478/0.3399, allocations: 70.27 kB / 373.2 MB, free: 12.11 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05866/0.3986, allocations: 31.66 MB / 404.9 MB, free: 1.938 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.699e-06/0.3986, allocations: 0 / 404.9 MB, free: 1.938 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.253e-05/0.3987, allocations: 19.94 kB / 404.9 MB, free: 1.918 MB / 282.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.002011/0.4007, allocations: 1.28 MB / 406.2 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.917e-05/0.4008, allocations: 12.03 kB / 406.2 MB, free: 0.6055 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003246/0.4011, allocations: 126.5 kB / 406.3 MB, free: 492 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008371/0.402, allocations: 0.5115 MB / 406.8 MB, free: 15.95 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.628e-05/0.402, allocations: 15.62 kB / 406.9 MB, free: 15.94 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001013/0.4021, allocations: 27.98 kB / 406.9 MB, free: 15.91 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006273/0.4028, allocations: 436.4 kB / 407.3 MB, free: 15.62 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008028/0.4036, allocations: 0.5772 MB / 407.9 MB, free: 15.18 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.4036, allocations: 4 kB / 407.9 MB, free: 15.18 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.195e-05/0.4037, allocations: 15.94 kB / 407.9 MB, free: 15.16 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.195e-05/0.4037, allocations: 7.938 kB / 407.9 MB, free: 15.16 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001592/0.4053, allocations: 0.9955 MB / 408.9 MB, free: 14.34 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006833/0.406, allocations: 0.6684 MB / 409.6 MB, free: 13.95 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006966/0.4067, allocations: 0.6535 MB / 410.2 MB, free: 13.31 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.304e-05/0.4067, allocations: 0 / 410.2 MB, free: 13.31 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000873/0.4076, allocations: 0.763 MB / 411 MB, free: 12.51 MB / 298.7 MB Notification: Performance of pre-optimization done (n=36): time 1.703e-06/0.4076, allocations: 0 / 411 MB, free: 12.51 MB / 298.7 MB Notification: Performance of matching and sorting (n=36): time 0.001602/0.4092, allocations: 1.089 MB / 412.1 MB, free: 11.41 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001899/0.4095, allocations: 321 kB / 412.4 MB, free: 11.04 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002031/0.4115, allocations: 1.374 MB / 413.8 MB, free: 9.648 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.62e-05/0.4116, allocations: 45.69 kB / 413.8 MB, free: 9.598 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001959/0.4118, allocations: 218.5 kB / 414 MB, free: 9.379 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001121/0.4119, allocations: 79.08 kB / 414.1 MB, free: 9.301 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.491e-05/0.412, allocations: 15.98 kB / 414.1 MB, free: 9.285 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.4121, allocations: 362.8 kB / 414.5 MB, free: 8.922 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005372/0.4127, allocations: 428 kB / 414.9 MB, free: 8.5 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005197/0.4132, allocations: 436 kB / 415.3 MB, free: 8.074 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003644/0.4136, allocations: 288.5 kB / 415.6 MB, free: 7.793 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.4136, allocations: 0 / 415.6 MB, free: 7.793 MB / 298.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001402/0.415, allocations: 1.017 MB / 416.6 MB, free: 6.77 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002088/0.4152, allocations: 289.5 kB / 416.9 MB, free: 6.438 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.4152, allocations: 0 / 416.9 MB, free: 6.438 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.4152, allocations: 0 / 416.9 MB, free: 6.438 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.021e-05/0.4153, allocations: 4 kB / 416.9 MB, free: 6.434 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.4153, allocations: 7.938 kB / 416.9 MB, free: 6.426 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003819/0.4157, allocations: 51.95 kB / 417 MB, free: 6.375 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001847/0.4159, allocations: 155.9 kB / 417.1 MB, free: 6.223 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: 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.0004122/0.4163, allocations: 458.4 kB / 417.6 MB, free: 5.719 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001559/0.4165, allocations: 134.5 kB / 417.7 MB, free: 5.586 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003545/0.4168, allocations: 200.2 kB / 417.9 MB, free: 5.387 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.4168, allocations: 3.984 kB / 417.9 MB, free: 5.383 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.371e-06/0.4169, allocations: 4 kB / 417.9 MB, free: 5.379 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.4169, allocations: 3.953 kB / 417.9 MB, free: 5.375 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002501/0.4194, allocations: 1.908 MB / 419.8 MB, free: 3.418 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.4194, allocations: 4 kB / 419.8 MB, free: 3.414 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.204e-05/0.4194, allocations: 0 / 419.8 MB, free: 3.414 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.4194, allocations: 0 / 419.8 MB, free: 3.414 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.141e-05/0.4195, allocations: 39.98 kB / 419.9 MB, free: 3.375 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.389e-06/0.4195, allocations: 7.984 kB / 419.9 MB, free: 3.367 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.4195, allocations: 3.953 kB / 419.9 MB, free: 3.363 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001593/0.4211, allocations: 1.257 MB / 421.1 MB, free: 2.086 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009126/0.422, allocations: 0.6591 MB / 421.8 MB, free: 1.406 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001951/0.4223, allocations: 63.91 kB / 421.8 MB, free: 1.344 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003304/0.4226, allocations: 31.97 kB / 421.9 MB, free: 1.312 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005256/0.4231, allocations: 359.6 kB / 422.2 MB, free: 0.9609 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000182/0.4233, allocations: 163.9 kB / 422.4 MB, free: 0.8008 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.001549/0.4249, allocations: 1.13 MB / 423.5 MB, free: 15.66 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4249, allocations: 0 / 423.5 MB, free: 15.66 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005227/0.4254, allocations: 144 kB / 423.7 MB, free: 15.52 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: 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.0002954/0.4257, allocations: 193.6 kB / 423.8 MB, free: 15.32 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001902/0.4276, allocations: 1.858 MB / 425.7 MB, free: 13.36 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.4276, allocations: 0 / 425.7 MB, free: 13.36 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001269/0.4289, allocations: 1.362 MB / 427.1 MB, free: 11.9 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001201/0.4301, allocations: 294.8 kB / 427.4 MB, free: 11.62 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003189/0.4333, allocations: 2.292 MB / 429.6 MB, free: 9.289 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009481/0.4343, allocations: 1.166 MB / 430.8 MB, free: 8.094 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001974/0.4345, allocations: 83.19 kB / 430.9 MB, free: 8.012 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.008e-05/0.4345, allocations: 27.44 kB / 430.9 MB, free: 7.984 MB / 314.7 MB Notification: Performance of SimCode: time 3.61e-07/0.4346, allocations: 0 / 430.9 MB, free: 7.984 MB / 314.7 MB Notification: Performance of Templates: time 0.0206/0.4552, allocations: 14.82 MB / 445.7 MB, free: 8.738 MB / 330.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DFFREGSRL.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DFFREGSRL.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DFFREGSRL.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DFFREGSRL.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DFFREGSRL.sim & ./Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DFFREGSRL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DFFREGSRL.pipe 2>&1)