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.0009971/0.0009971, allocations: 180.3 kB / 16.38 MB, free: 5.766 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.107/1.107, allocations: 194.5 MB / 211.6 MB, free: 3.043 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.001485/0.001485, allocations: 114.8 kB / 256.9 MB, free: 4.348 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002904/0.0002904, allocations: 8 kB / 310.6 MB, free: 14.94 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07337/0.07368, allocations: 44.5 MB / 355.1 MB, free: 2.336 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2193/0.2931, allocations: 78.21 MB / 433.3 MB, free: 11.29 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001857/0.2933, allocations: 69.31 kB / 433.3 MB, free: 11.25 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04963/0.3429, allocations: 31.07 MB / 464.4 MB, free: 14.98 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.343, allocations: 0 / 464.4 MB, free: 14.98 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.86e-05/0.343, allocations: 19.94 kB / 464.4 MB, free: 14.96 MB / 346.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.001481/0.3445, allocations: 1.493 MB / 465.9 MB, free: 13.37 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.3446, allocations: 12.03 kB / 465.9 MB, free: 13.36 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001653/0.3447, allocations: 130.4 kB / 466.1 MB, free: 13.23 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008025/0.3455, allocations: 0.5129 MB / 466.6 MB, free: 12.66 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.148e-05/0.3456, allocations: 23.92 kB / 466.6 MB, free: 12.64 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.894e-05/0.3457, allocations: 32 kB / 466.6 MB, free: 12.61 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009088/0.3466, allocations: 0.6222 MB / 467.3 MB, free: 11.98 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.723e-06/0.3466, allocations: 0 / 467.3 MB, free: 11.98 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.867e-05/0.3467, allocations: 20 kB / 467.3 MB, free: 11.96 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.3467, allocations: 4 kB / 467.3 MB, free: 11.96 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006553/0.3473, allocations: 471.3 kB / 467.7 MB, free: 11.5 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001699/0.3491, allocations: 1.088 MB / 468.8 MB, free: 10.36 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008285/0.3499, allocations: 0.7092 MB / 469.5 MB, free: 9.637 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.506e-06/0.3499, allocations: 4 kB / 469.5 MB, free: 9.633 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009427/0.3509, allocations: 0.7632 MB / 470.3 MB, free: 8.832 MB / 346.7 MB Notification: Performance of pre-optimization done (n=36): time 2.124e-06/0.3509, allocations: 0 / 470.3 MB, free: 8.832 MB / 346.7 MB Notification: Performance of matching and sorting (n=36): time 0.002661/0.3536, allocations: 2.139 MB / 472.4 MB, free: 6.582 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001865/0.3538, allocations: 325 kB / 472.8 MB, free: 6.203 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002419/0.3562, allocations: 1.612 MB / 474.4 MB, free: 4.578 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.726e-05/0.3563, allocations: 45.7 kB / 474.4 MB, free: 4.527 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002373/0.3565, allocations: 242.3 kB / 474.7 MB, free: 4.285 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001102/0.3566, allocations: 83.09 kB / 474.7 MB, free: 4.203 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.927e-05/0.3567, allocations: 12 kB / 474.7 MB, free: 4.191 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001878/0.3569, allocations: 382.7 kB / 475.1 MB, free: 3.809 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006615/0.3576, allocations: 443.9 kB / 475.6 MB, free: 3.371 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006191/0.3582, allocations: 486.7 kB / 476 MB, free: 2.887 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006393/0.3588, allocations: 0.5834 MB / 476.6 MB, free: 2.254 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.3589, allocations: 0 / 476.6 MB, free: 2.254 MB / 346.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001751/0.3606, allocations: 1.369 MB / 478 MB, free: 0.832 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001668/0.3608, allocations: 285.5 kB / 478.3 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.3608, allocations: 3.984 kB / 478.3 MB, free: 0.5 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.3608, allocations: 4 kB / 478.3 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.706e-05/0.3609, allocations: 16 kB / 478.3 MB, free: 492 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.3609, allocations: 0 / 478.3 MB, free: 492 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003221/0.3612, allocations: 47.81 kB / 478.3 MB, free: 444 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001774/0.3614, allocations: 155.9 kB / 478.5 MB, free: 288 kB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 43 ($PRE.dFFREGSRH.delay.inertialDelaySensitive[2].y,$PRE.dFFREGSRH.delay.inertialDelaySensitive[1].y,$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,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,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 () * Number of clocked 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.001047/0.3624, allocations: 0.983 MB / 479.5 MB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001354/0.3626, allocations: 134.5 kB / 479.6 MB, free: 15.1 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003407/0.3629, allocations: 255.6 kB / 479.8 MB, free: 14.85 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.3629, allocations: 4 kB / 479.9 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.363, allocations: 0 / 479.9 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.363, allocations: 0 / 479.9 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002848/0.3658, allocations: 2.41 MB / 482.3 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.3658, allocations: 0 / 482.3 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.379e-05/0.3659, allocations: 12 kB / 482.3 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.3659, allocations: 0 / 482.3 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.783e-05/0.3659, allocations: 43.97 kB / 482.3 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.366, allocations: 0 / 482.3 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.366, allocations: 0 / 482.3 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001891/0.3679, allocations: 1.633 MB / 484 MB, free: 10.56 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001008/0.3689, allocations: 0.6824 MB / 484.6 MB, free: 9.859 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001608/0.369, allocations: 63.95 kB / 484.7 MB, free: 9.797 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003349/0.3694, allocations: 47.88 kB / 484.7 MB, free: 9.75 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004799/0.3699, allocations: 351.6 kB / 485.1 MB, free: 9.406 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001639/0.37, allocations: 159.9 kB / 485.2 MB, free: 9.25 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001699/0.3718, allocations: 1.329 MB / 486.6 MB, free: 7.918 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3718, allocations: 0 / 486.6 MB, free: 7.918 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004912/0.3723, allocations: 148 kB / 486.7 MB, free: 7.773 MB / 362.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) * Number of clocked states: 0 () * 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.0002491/0.3725, allocations: 201.6 kB / 486.9 MB, free: 7.566 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001966/0.3745, allocations: 1.931 MB / 488.8 MB, free: 5.539 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3745, allocations: 3.938 kB / 488.8 MB, free: 5.535 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001222/0.3757, allocations: 1.393 MB / 490.2 MB, free: 4.043 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001026/0.3768, allocations: 310.8 kB / 490.5 MB, free: 3.746 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003952/0.3807, allocations: 3.097 MB / 493.6 MB, free: 0.6133 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009407/0.3817, allocations: 1.22 MB / 494.9 MB, free: 15.37 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003209/0.382, allocations: 188.1 kB / 495 MB, free: 15.18 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.86e-05/0.3821, allocations: 27.44 kB / 495.1 MB, free: 15.16 MB / 378.7 MB Notification: Performance of SimCode: time 5.82e-07/0.3821, allocations: 0 / 495.1 MB, free: 15.16 MB / 378.7 MB Notification: Performance of Templates: time 0.02168/0.4038, allocations: 16.69 MB / 0.4998 GB, free: 14.06 MB / 394.7 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)