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.001158/0.001158, allocations: 188.6 kB / 8.353 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.35/1.35, allocations: 194.3 MB / 203.1 MB, free: 9.32 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001681/0.001681, allocations: 110.2 kB / 248.1 MB, free: 6.359 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.535e-05/1.54e-05, allocations: 4 kB / 298.1 MB, free: 8.242 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08424/0.08427, allocations: 44.5 MB / 342.6 MB, free: 11.65 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2621/0.3464, allocations: 77.51 MB / 420.1 MB, free: 18.3 MB / 315.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001805/0.3467, allocations: 66.84 kB / 420.1 MB, free: 18.27 MB / 315.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.0523/0.399, allocations: 32.59 MB / 452.7 MB, free: 7.309 MB / 331.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.399, allocations: 0 / 452.7 MB, free: 7.309 MB / 331.1 MB Notification: Performance of Transformations before backend: time 4.015e-05/0.3991, allocations: 20 kB / 452.8 MB, free: 7.289 MB / 331.1 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.001453/0.4005, allocations: 1.294 MB / 454.1 MB, free: 5.973 MB / 331.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.4006, allocations: 8.031 kB / 454.1 MB, free: 5.965 MB / 331.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000198/0.4008, allocations: 130.4 kB / 454.2 MB, free: 5.836 MB / 331.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006694/0.4015, allocations: 0.5184 MB / 454.7 MB, free: 5.305 MB / 331.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.342e-05/0.4015, allocations: 27.53 kB / 454.7 MB, free: 5.281 MB / 331.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.296e-05/0.4016, allocations: 24 kB / 454.8 MB, free: 5.258 MB / 331.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005493/0.4022, allocations: 441.7 kB / 455.2 MB, free: 4.961 MB / 331.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007591/0.4029, allocations: 0.5904 MB / 455.8 MB, free: 4.508 MB / 331.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.4029, allocations: 7.953 kB / 455.8 MB, free: 4.5 MB / 331.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.001e-05/0.403, allocations: 11.38 kB / 455.8 MB, free: 4.492 MB / 331.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.403, allocations: 4 kB / 455.8 MB, free: 4.488 MB / 331.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001598/0.4046, allocations: 1.047 MB / 456.8 MB, free: 3.617 MB / 331.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006807/0.4053, allocations: 0.6743 MB / 457.5 MB, free: 3.23 MB / 331.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006146/0.4059, allocations: 0.656 MB / 458.2 MB, free: 2.867 MB / 331.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.298e-05/0.406, allocations: 4 kB / 458.2 MB, free: 2.863 MB / 331.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008536/0.4068, allocations: 0.7659 MB / 458.9 MB, free: 2.215 MB / 331.1 MB Notification: Performance of pre-optimization done (n=36): time 2.535e-06/0.4068, allocations: 4 kB / 459 MB, free: 2.211 MB / 331.1 MB Notification: Performance of matching and sorting (n=36): time 0.00154/0.4084, allocations: 1.088 MB / 460 MB, free: 1.363 MB / 331.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001791/0.4086, allocations: 322.4 kB / 460.4 MB, free: 1.008 MB / 331.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0025/0.4111, allocations: 1.542 MB / 461.9 MB, free: 15.73 MB / 347.1 MB Notification: Performance of collectPreVariables (initialization): time 8.969e-05/0.4112, allocations: 44.94 kB / 461.9 MB, free: 15.68 MB / 347.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002483/0.4114, allocations: 237.8 kB / 462.2 MB, free: 15.54 MB / 347.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000119/0.4116, allocations: 74.28 kB / 462.2 MB, free: 15.47 MB / 347.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.812e-05/0.4116, allocations: 11.31 kB / 462.3 MB, free: 15.46 MB / 347.1 MB Notification: Performance of setup shared object (initialization): time 0.0001896/0.4118, allocations: 384.5 kB / 462.6 MB, free: 15.1 MB / 347.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005173/0.4124, allocations: 434.6 kB / 463.1 MB, free: 14.81 MB / 347.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005169/0.4129, allocations: 445.7 kB / 463.5 MB, free: 14.44 MB / 347.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004208/0.4133, allocations: 291.9 kB / 463.8 MB, free: 14.16 MB / 347.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.4133, allocations: 0 / 463.8 MB, free: 14.16 MB / 347.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001514/0.4149, allocations: 1.033 MB / 464.8 MB, free: 13.12 MB / 347.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002121/0.4151, allocations: 294.5 kB / 465.1 MB, free: 12.78 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.4151, allocations: 0 / 465.1 MB, free: 12.78 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.4151, allocations: 0 / 465.1 MB, free: 12.78 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.224e-05/0.4152, allocations: 7.938 kB / 465.1 MB, free: 12.77 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.007e-06/0.4152, allocations: 0 / 465.1 MB, free: 12.77 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00036/0.4155, allocations: 47.95 kB / 465.2 MB, free: 12.73 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000186/0.4157, allocations: 156.4 kB / 465.3 MB, free: 12.57 MB / 347.1 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.0004476/0.4162, allocations: 474.1 kB / 465.8 MB, free: 12.05 MB / 347.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001489/0.4163, allocations: 130.5 kB / 465.9 MB, free: 11.93 MB / 347.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004387/0.4168, allocations: 252 kB / 466.1 MB, free: 11.68 MB / 347.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.4168, allocations: 4 kB / 466.1 MB, free: 11.67 MB / 347.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.4168, allocations: 0 / 466.1 MB, free: 11.67 MB / 347.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.4168, allocations: 0 / 466.1 MB, free: 11.67 MB / 347.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002818/0.4196, allocations: 2.001 MB / 468.1 MB, free: 9.621 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.4197, allocations: 0 / 468.1 MB, free: 9.621 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.549e-05/0.4197, allocations: 8 kB / 468.2 MB, free: 9.613 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.4197, allocations: 0 / 468.2 MB, free: 9.613 MB / 347.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.306e-05/0.4198, allocations: 43.97 kB / 468.2 MB, free: 9.57 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.4198, allocations: 0 / 468.2 MB, free: 9.57 MB / 347.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.4198, allocations: 0 / 468.2 MB, free: 9.57 MB / 347.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001603/0.4214, allocations: 1.265 MB / 469.5 MB, free: 8.285 MB / 347.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001005/0.4224, allocations: 0.6824 MB / 470.1 MB, free: 7.582 MB / 347.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000211/0.4226, allocations: 59.95 kB / 470.2 MB, free: 7.523 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003823/0.423, allocations: 51.86 kB / 470.3 MB, free: 7.473 MB / 347.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005268/0.4236, allocations: 347.6 kB / 470.6 MB, free: 7.133 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001695/0.4238, allocations: 163.9 kB / 470.8 MB, free: 6.973 MB / 347.1 MB Notification: Performance of sorting global known variables: time 0.00212/0.4259, allocations: 1.255 MB / 472 MB, free: 5.715 MB / 347.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4259, allocations: 0 / 472 MB, free: 5.715 MB / 347.1 MB Notification: Performance of remove unused functions: time 0.0008813/0.4268, allocations: 148 kB / 472.2 MB, free: 5.57 MB / 347.1 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.0003212/0.4271, allocations: 181.7 kB / 472.3 MB, free: 5.379 MB / 347.1 MB Notification: Performance of simCode: created initialization part: time 0.002229/0.4294, allocations: 1.882 MB / 474.2 MB, free: 3.398 MB / 347.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.4294, allocations: 0 / 474.2 MB, free: 3.398 MB / 347.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00128/0.4307, allocations: 1.37 MB / 475.6 MB, free: 1.93 MB / 347.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001354/0.432, allocations: 295.2 kB / 475.9 MB, free: 1.652 MB / 347.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00412/0.4362, allocations: 2.456 MB / 478.3 MB, free: 15.16 MB / 363.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001287/0.4375, allocations: 1.216 MB / 479.5 MB, free: 13.91 MB / 363.1 MB Notification: Performance of simCode: alias equations: time 0.0003512/0.4379, allocations: 160.5 kB / 479.7 MB, free: 13.75 MB / 363.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.495e-05/0.4379, allocations: 27.44 kB / 479.7 MB, free: 13.73 MB / 363.1 MB Notification: Performance of SimCode: time 6.11e-07/0.4379, allocations: 0 / 479.7 MB, free: 13.73 MB / 363.1 MB Notification: Performance of Templates: time 0.02312/0.461, allocations: 15.78 MB / 495.5 MB, free: 13.54 MB / 379.1 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)