Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DFFREGSRH.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.DFFREGSRH,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DFFREGSRH") translateModel(Modelica.Electrical.Digital.Examples.DFFREGSRH,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DFFREGSRH") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00136/0.00136, allocations: 187.8 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.259/1.259, allocations: 194.3 MB / 203.1 MB, free: 9.309 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.00158/0.00158, allocations: 114.7 kB / 248.1 MB, free: 6.336 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.663e-05/1.665e-05, allocations: 4 kB / 298.1 MB, free: 8.223 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08285/0.08288, allocations: 44.5 MB / 342.6 MB, free: 11.62 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2689/0.3519, allocations: 77.47 MB / 420 MB, free: 18.26 MB / 315.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001796/0.3521, allocations: 62.91 kB / 420.1 MB, free: 18.23 MB / 315.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.05063/0.4027, allocations: 31.04 MB / 451.2 MB, free: 8.785 MB / 331.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.4028, allocations: 0 / 451.2 MB, free: 8.785 MB / 331.1 MB Notification: Performance of Transformations before backend: time 4.403e-05/0.4028, allocations: 16 kB / 451.2 MB, free: 8.77 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.001657/0.4045, allocations: 1.298 MB / 452.5 MB, free: 7.449 MB / 331.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.4045, allocations: 12.03 kB / 452.5 MB, free: 7.438 MB / 331.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002453/0.4048, allocations: 130.5 kB / 452.6 MB, free: 7.309 MB / 331.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007519/0.4056, allocations: 0.5158 MB / 453.1 MB, free: 6.781 MB / 331.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.284e-05/0.4056, allocations: 19.17 kB / 453.1 MB, free: 6.766 MB / 331.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.207e-05/0.4057, allocations: 27.94 kB / 453.2 MB, free: 6.738 MB / 331.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000615/0.4063, allocations: 437.1 kB / 453.6 MB, free: 6.445 MB / 331.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008169/0.4072, allocations: 0.596 MB / 454.2 MB, free: 5.988 MB / 331.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.884e-06/0.4072, allocations: 0 / 454.2 MB, free: 5.988 MB / 331.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.484e-05/0.4072, allocations: 12 kB / 454.2 MB, free: 5.977 MB / 331.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.4073, allocations: 0 / 454.2 MB, free: 5.977 MB / 331.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00175/0.409, allocations: 1.048 MB / 455.2 MB, free: 5.105 MB / 331.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007624/0.4098, allocations: 0.6747 MB / 455.9 MB, free: 4.719 MB / 331.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007/0.4105, allocations: 0.6657 MB / 456.6 MB, free: 4.348 MB / 331.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.18e-05/0.4105, allocations: 0 / 456.6 MB, free: 4.348 MB / 331.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008728/0.4114, allocations: 0.7596 MB / 457.3 MB, free: 3.703 MB / 331.1 MB Notification: Performance of pre-optimization done (n=36): time 1.813e-06/0.4114, allocations: 0 / 457.3 MB, free: 3.703 MB / 331.1 MB Notification: Performance of matching and sorting (n=36): time 0.001577/0.413, allocations: 1.1 MB / 458.4 MB, free: 2.844 MB / 331.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001943/0.4132, allocations: 325.8 kB / 458.8 MB, free: 2.484 MB / 331.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002251/0.4155, allocations: 1.54 MB / 460.3 MB, free: 1.207 MB / 331.1 MB Notification: Performance of collectPreVariables (initialization): time 9.67e-05/0.4156, allocations: 48.19 kB / 460.4 MB, free: 1.16 MB / 331.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002161/0.4158, allocations: 231.6 kB / 460.6 MB, free: 1.016 MB / 331.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000129/0.4159, allocations: 93.31 kB / 460.7 MB, free: 0.9375 MB / 331.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.719e-05/0.416, allocations: 11.94 kB / 460.7 MB, free: 0.9258 MB / 331.1 MB Notification: Performance of setup shared object (initialization): time 0.0001688/0.4162, allocations: 380 kB / 461.1 MB, free: 0.5703 MB / 331.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005345/0.4167, allocations: 433.8 kB / 461.5 MB, free: 284 kB / 331.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00054/0.4173, allocations: 443.1 kB / 461.9 MB, free: 15.98 MB / 347.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003892/0.4177, allocations: 297.5 kB / 462.2 MB, free: 15.71 MB / 347.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.4177, allocations: 0 / 462.2 MB, free: 15.71 MB / 347.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001615/0.4193, allocations: 1.025 MB / 463.2 MB, free: 14.68 MB / 347.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002286/0.4196, allocations: 293.5 kB / 463.5 MB, free: 14.34 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.4196, allocations: 0 / 463.5 MB, free: 14.34 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/0.4196, allocations: 0 / 463.5 MB, free: 14.34 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.382e-05/0.4196, allocations: 7.938 kB / 463.5 MB, free: 14.34 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.4197, allocations: 3.953 kB / 463.5 MB, free: 14.33 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003784/0.42, allocations: 35.97 kB / 463.6 MB, free: 14.3 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001943/0.4202, allocations: 160.4 kB / 463.7 MB, free: 14.14 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.dFFREGSRH.delay.inertialDelaySensitive[1].x,dFFREGSRH.delay.inertialDelaySensitive[1].x,$PRE.dFFREGSRH.delay.inertialDelaySensitive[1].y,dFFREGSRH.delay.inertialDelaySensitive[1].y,dFFREGSRH.delay.inertialDelaySensitive[1].delayTime,dFFREGSRH.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGSRH.delay.inertialDelaySensitive[1].y_old,dFFREGSRH.delay.inertialDelaySensitive[1].lh,dFFREGSRH.delay.inertialDelaySensitive[1].t_next,$PRE.dFFREGSRH.delay.inertialDelaySensitive[2].x,dFFREGSRH.delay.inertialDelaySensitive[2].x,$PRE.dFFREGSRH.delay.inertialDelaySensitive[2].y,dFFREGSRH.delay.inertialDelaySensitive[2].y,dFFREGSRH.delay.inertialDelaySensitive[2].delayTime,dFFREGSRH.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGSRH.delay.inertialDelaySensitive[2].y_old,dFFREGSRH.delay.inertialDelaySensitive[2].lh,dFFREGSRH.delay.inertialDelaySensitive[2].t_next,$PRE.dFFREGSRH.dFFSR.set,dFFREGSRH.dFFSR.set,$PRE.dFFREGSRH.dFFSR.reset,dFFREGSRH.dFFSR.reset,$PRE.dFFREGSRH.dFFSR.clock,dFFREGSRH.dFFSR.clock,dFFREGSRH.dFFSR.dataIn[1],dFFREGSRH.dFFSR.dataIn[2],dFFREGSRH.dFFSR.dataOut[1],dFFREGSRH.dFFSR.dataOut[2],dFFREGSRH.dFFSR.clock_flag,dFFREGSRH.dFFSR.reset_set_flag,dFFREGSRH.dFFSR.nextstate[1],dFFREGSRH.dFFSR.nextstate[2],dFFREGSRH.dFFSR.next_assign_val[1],dFFREGSRH.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.0004431/0.4207, allocations: 462.3 kB / 464.2 MB, free: 13.63 MB / 347.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001681/0.4209, allocations: 134.4 kB / 464.3 MB, free: 13.5 MB / 347.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005349/0.4214, allocations: 252 kB / 464.5 MB, free: 13.25 MB / 347.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/0.4214, allocations: 0 / 464.5 MB, free: 13.25 MB / 347.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.4214, allocations: 0 / 464.5 MB, free: 13.25 MB / 347.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.4215, allocations: 7.953 kB / 464.6 MB, free: 13.24 MB / 347.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002902/0.4244, allocations: 2.013 MB / 466.6 MB, free: 11.18 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.4244, allocations: 0 / 466.6 MB, free: 11.18 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.397e-05/0.4244, allocations: 4 kB / 466.6 MB, free: 11.17 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.02e-06/0.4244, allocations: 0 / 466.6 MB, free: 11.17 MB / 347.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.761e-05/0.4245, allocations: 39.97 kB / 466.6 MB, free: 11.13 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.4245, allocations: 0 / 466.6 MB, free: 11.13 MB / 347.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.4245, allocations: 0 / 466.6 MB, free: 11.13 MB / 347.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001669/0.4262, allocations: 1.273 MB / 467.9 MB, free: 9.84 MB / 347.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001111/0.4273, allocations: 0.6785 MB / 468.6 MB, free: 9.141 MB / 347.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000219/0.4275, allocations: 63.95 kB / 468.6 MB, free: 9.078 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000401/0.428, allocations: 39.91 kB / 468.7 MB, free: 9.039 MB / 347.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005623/0.4285, allocations: 351.6 kB / 469 MB, free: 8.695 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001801/0.4287, allocations: 155.9 kB / 469.2 MB, free: 8.543 MB / 347.1 MB Notification: Performance of sorting global known variables: time 0.002384/0.4311, allocations: 1.259 MB / 470.4 MB, free: 7.281 MB / 347.1 MB Notification: Performance of sort global known variables: time 6.11e-07/0.4311, allocations: 0 / 470.4 MB, free: 7.281 MB / 347.1 MB Notification: Performance of remove unused functions: time 0.0006751/0.4318, allocations: 152 kB / 470.6 MB, free: 7.133 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,dFFREGSRH.delay.inertialDelaySensitive[1].x,dFFREGSRH.delay.inertialDelaySensitive[1].y,dFFREGSRH.delay.inertialDelaySensitive[1].delayTime,dFFREGSRH.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGSRH.delay.inertialDelaySensitive[1].y_old,dFFREGSRH.delay.inertialDelaySensitive[1].lh,dFFREGSRH.delay.inertialDelaySensitive[1].t_next,dFFREGSRH.delay.inertialDelaySensitive[2].x,dFFREGSRH.delay.inertialDelaySensitive[2].y,dFFREGSRH.delay.inertialDelaySensitive[2].delayTime,dFFREGSRH.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGSRH.delay.inertialDelaySensitive[2].y_old,dFFREGSRH.delay.inertialDelaySensitive[2].lh,dFFREGSRH.delay.inertialDelaySensitive[2].t_next,dFFREGSRH.dFFSR.set,dFFREGSRH.dFFSR.reset,dFFREGSRH.dFFSR.clock,dFFREGSRH.dFFSR.dataIn[1],dFFREGSRH.dFFSR.dataIn[2],dFFREGSRH.dFFSR.dataOut[1],dFFREGSRH.dFFSR.dataOut[2],dFFREGSRH.dFFSR.clock_flag,dFFREGSRH.dFFSR.reset_set_flag,dFFREGSRH.dFFSR.nextstate[1],dFFREGSRH.dFFSR.nextstate[2],dFFREGSRH.dFFSR.next_assign_val[1],dFFREGSRH.dFFSR.next_assign_val[2]) * Number of discrete states: 34 (set.y,data_1.y,reset.y,data_0.y,clock.y,dFFREGSRH.dFFSR.dataOut[2],dFFREGSRH.dFFSR.dataOut[1],dFFREGSRH.dFFSR.next_assign_val[2],dFFREGSRH.dFFSR.next_assign_val[1],dFFREGSRH.dFFSR.nextstate[2],dFFREGSRH.dFFSR.nextstate[1],dFFREGSRH.dFFSR.reset_set_flag,dFFREGSRH.dFFSR.clock_flag,dFFREGSRH.dFFSR.clock,dFFREGSRH.dFFSR.reset,dFFREGSRH.dFFSR.set,dFFREGSRH.delay.inertialDelaySensitive[2].y,dFFREGSRH.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGSRH.delay.inertialDelaySensitive[2].t_next,dFFREGSRH.delay.inertialDelaySensitive[2].delayTime,dFFREGSRH.delay.inertialDelaySensitive[2].lh,dFFREGSRH.delay.inertialDelaySensitive[2].y_old,$whenCondition4,$whenCondition3,dFFREGSRH.delay.inertialDelaySensitive[2].x,dFFREGSRH.delay.inertialDelaySensitive[1].y,dFFREGSRH.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGSRH.delay.inertialDelaySensitive[1].t_next,dFFREGSRH.delay.inertialDelaySensitive[1].delayTime,dFFREGSRH.delay.inertialDelaySensitive[1].lh,dFFREGSRH.delay.inertialDelaySensitive[1].y_old,$whenCondition2,$whenCondition1,dFFREGSRH.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.0003235/0.4321, allocations: 181.7 kB / 470.7 MB, free: 6.945 MB / 347.1 MB Notification: Performance of simCode: created initialization part: time 0.002179/0.4343, allocations: 1.878 MB / 472.6 MB, free: 4.969 MB / 347.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.4344, allocations: 0 / 472.6 MB, free: 4.969 MB / 347.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001272/0.4356, allocations: 1.378 MB / 474 MB, free: 3.492 MB / 347.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001395/0.437, allocations: 296.4 kB / 474.3 MB, free: 3.211 MB / 347.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004339/0.4414, allocations: 2.447 MB / 476.7 MB, free: 0.7266 MB / 347.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001365/0.4428, allocations: 1.221 MB / 478 MB, free: 15.48 MB / 363.1 MB Notification: Performance of simCode: alias equations: time 0.0004417/0.4432, allocations: 191 kB / 478.1 MB, free: 15.29 MB / 363.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.045e-05/0.4433, allocations: 27.44 kB / 478.2 MB, free: 15.26 MB / 363.1 MB Notification: Performance of SimCode: time 1.052e-06/0.4433, allocations: 0 / 478.2 MB, free: 15.26 MB / 363.1 MB Notification: Performance of Templates: time 0.02303/0.4664, allocations: 15.79 MB / 494 MB, free: 15.07 MB / 379.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DFFREGSRH.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DFFREGSRH.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DFFREGSRH.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DFFREGSRH.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DFFREGSRH.sim & ./Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DFFREGSRH -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DFFREGSRH.pipe 2>&1)