Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DFFREGSRH.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.DFFREGSRH,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DFFREGSRH") translateModel(Modelica.Electrical.Digital.Examples.DFFREGSRH,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DFFREGSRH") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001363/0.001363, allocations: 166.6 kB / 7.636 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.207/1.207, allocations: 170.7 MB / 178.7 MB, free: 15.64 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.001943/0.001943, allocations: 119.5 kB / 218 MB, free: 8.402 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.807e-05/1.811e-05, allocations: 4 kB / 262.2 MB, free: 26.4 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06559/0.06563, allocations: 38.77 MB / 301 MB, free: 3.648 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2411/0.3067, allocations: 72.16 MB / 373.1 MB, free: 12.16 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002134/0.307, allocations: 72.09 kB / 373.2 MB, free: 12.12 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05521/0.3622, allocations: 30.39 MB / 403.6 MB, free: 3.176 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.3622, allocations: 0 / 403.6 MB, free: 3.176 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.657e-05/0.3623, allocations: 16 kB / 403.6 MB, free: 3.16 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.001156/0.3634, allocations: 1.281 MB / 404.9 MB, free: 1.855 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.3635, allocations: 8.031 kB / 404.9 MB, free: 1.848 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001696/0.3637, allocations: 130.5 kB / 405 MB, free: 1.719 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006757/0.3643, allocations: 0.5115 MB / 405.5 MB, free: 1.195 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.736e-05/0.3644, allocations: 12 kB / 405.5 MB, free: 1.184 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.663e-05/0.3645, allocations: 35.44 kB / 405.6 MB, free: 1.152 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000581/0.3651, allocations: 443.5 kB / 406 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007691/0.3658, allocations: 0.5798 MB / 406.6 MB, free: 416 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.3659, allocations: 0 / 406.6 MB, free: 416 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.375e-05/0.3659, allocations: 15.38 kB / 406.6 MB, free: 404 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.366, allocations: 4 kB / 406.6 MB, free: 400 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001384/0.3673, allocations: 0.9933 MB / 407.6 MB, free: 15.57 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006711/0.368, allocations: 0.6687 MB / 408.3 MB, free: 15.19 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006771/0.3687, allocations: 0.6544 MB / 408.9 MB, free: 14.64 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.686e-06/0.3687, allocations: 0 / 408.9 MB, free: 14.64 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008598/0.3696, allocations: 0.7552 MB / 409.7 MB, free: 13.84 MB / 298.7 MB Notification: Performance of pre-optimization done (n=36): time 3.767e-06/0.3696, allocations: 3.984 kB / 409.7 MB, free: 13.84 MB / 298.7 MB Notification: Performance of matching and sorting (n=36): time 0.001576/0.3712, allocations: 1.085 MB / 410.8 MB, free: 12.75 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001941/0.3714, allocations: 325 kB / 411.1 MB, free: 12.37 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001673/0.3731, allocations: 1.378 MB / 412.5 MB, free: 10.98 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.922e-05/0.3732, allocations: 45.69 kB / 412.5 MB, free: 10.93 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001731/0.3734, allocations: 214.6 kB / 412.7 MB, free: 10.71 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001098/0.3735, allocations: 75.08 kB / 412.8 MB, free: 10.64 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.876e-05/0.3735, allocations: 19.98 kB / 412.8 MB, free: 10.62 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001692/0.3737, allocations: 366.8 kB / 413.2 MB, free: 10.25 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005619/0.3743, allocations: 431.9 kB / 413.6 MB, free: 9.824 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005445/0.3748, allocations: 428 kB / 414 MB, free: 9.406 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003781/0.3752, allocations: 296.5 kB / 414.3 MB, free: 9.117 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3752, allocations: 3.938 kB / 414.3 MB, free: 9.113 MB / 298.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001445/0.3767, allocations: 1.009 MB / 415.3 MB, free: 8.098 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002243/0.3769, allocations: 289.5 kB / 415.6 MB, free: 7.766 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.3769, allocations: 0 / 415.6 MB, free: 7.766 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.182e-05/0.377, allocations: 8 kB / 415.6 MB, free: 7.758 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.345e-05/0.377, allocations: 8 kB / 415.6 MB, free: 7.75 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.776e-06/0.3771, allocations: 7.984 kB / 415.6 MB, free: 7.742 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003361/0.3774, allocations: 35.91 kB / 415.7 MB, free: 7.707 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001901/0.3776, allocations: 159.9 kB / 415.8 MB, free: 7.551 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.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.0004043/0.378, allocations: 450.6 kB / 416.2 MB, free: 7.055 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001574/0.3782, allocations: 134.4 kB / 416.4 MB, free: 6.922 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002911/0.3785, allocations: 200.2 kB / 416.6 MB, free: 6.723 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.3785, allocations: 4 kB / 416.6 MB, free: 6.719 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.3785, allocations: 3.938 kB / 416.6 MB, free: 6.715 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.3785, allocations: 0 / 416.6 MB, free: 6.715 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002401/0.3809, allocations: 1.916 MB / 418.5 MB, free: 4.75 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.3809, allocations: 4 kB / 418.5 MB, free: 4.746 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.002e-05/0.381, allocations: 11.94 kB / 418.5 MB, free: 4.734 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.381, allocations: 0 / 418.5 MB, free: 4.734 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-05/0.3811, allocations: 35.98 kB / 418.6 MB, free: 4.699 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.3811, allocations: 0 / 418.6 MB, free: 4.699 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.3811, allocations: 3.984 kB / 418.6 MB, free: 4.695 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001653/0.3827, allocations: 1.261 MB / 419.8 MB, free: 3.414 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009401/0.3837, allocations: 0.6591 MB / 420.5 MB, free: 2.734 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000186/0.3839, allocations: 59.97 kB / 420.5 MB, free: 2.676 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003203/0.3842, allocations: 35.97 kB / 420.6 MB, free: 2.641 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005697/0.3848, allocations: 359.6 kB / 420.9 MB, free: 2.289 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001919/0.385, allocations: 163.8 kB / 421.1 MB, free: 2.129 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.001455/0.3865, allocations: 1.134 MB / 422.2 MB, free: 0.9922 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3865, allocations: 0 / 422.2 MB, free: 0.9922 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004865/0.387, allocations: 140 kB / 422.3 MB, free: 0.8555 MB / 298.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,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.0003024/0.3873, allocations: 197.7 kB / 422.5 MB, free: 0.6523 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001973/0.3893, allocations: 1.855 MB / 424.4 MB, free: 14.7 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.511e-06/0.3893, allocations: 4 kB / 424.4 MB, free: 14.69 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001213/0.3905, allocations: 1.362 MB / 425.8 MB, free: 13.23 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001238/0.3917, allocations: 302.7 kB / 426.1 MB, free: 12.94 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003507/0.3953, allocations: 2.288 MB / 428.3 MB, free: 10.61 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001028/0.3963, allocations: 1.166 MB / 429.5 MB, free: 9.418 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002492/0.3966, allocations: 79.19 kB / 429.6 MB, free: 9.336 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.866e-05/0.3966, allocations: 35.44 kB / 429.6 MB, free: 9.301 MB / 314.7 MB Notification: Performance of SimCode: time 1.052e-06/0.3966, allocations: 0 / 429.6 MB, free: 9.301 MB / 314.7 MB Notification: Performance of Templates: time 0.01887/0.4155, allocations: 14.8 MB / 444.4 MB, free: 10.07 MB / 330.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DFFREGSRH.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DFFREGSRH.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DFFREGSRH.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DFFREGSRH.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DFFREGSRH.sim & ./Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DFFREGSRH -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DFFREGSRH.pipe 2>&1)