Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DFFREGL.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.DFFREGL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DFFREGL") translateModel(Modelica.Electrical.Digital.Examples.DFFREGL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DFFREGL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001431/0.001432, allocations: 156.5 kB / 7.632 MB, free: 1.445 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.137/1.137, allocations: 170.7 MB / 178.7 MB, free: 7.031 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.001576/0.001576, allocations: 105.8 kB / 218 MB, free: 15.33 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.873e-05/1.875e-05, allocations: 4 kB / 262.2 MB, free: 3.055 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.204/0.204, allocations: 38.76 MB / 301 MB, free: 39.18 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08285/0.2869, allocations: 71.95 MB / 372.9 MB, free: 7.695 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000199/0.2871, allocations: 74.95 kB / 373 MB, free: 7.625 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06843/0.3556, allocations: 37.27 MB / 410.3 MB, free: 2.508 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3556, allocations: 4 kB / 410.3 MB, free: 2.504 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.742e-05/0.3557, allocations: 8 kB / 410.3 MB, free: 2.496 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001333/0.357, allocations: 1.008 MB / 411.3 MB, free: 1.398 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.3571, allocations: 12.03 kB / 411.3 MB, free: 1.387 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002013/0.3573, allocations: 86.97 kB / 411.4 MB, free: 1.301 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006151/0.3579, allocations: 415.6 kB / 411.8 MB, free: 0.8516 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.229e-05/0.3579, allocations: 16 kB / 411.8 MB, free: 0.8359 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.496e-05/0.358, allocations: 23.95 kB / 411.8 MB, free: 0.8125 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004876/0.3585, allocations: 344.2 kB / 412.2 MB, free: 484 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007042/0.3592, allocations: 482.3 kB / 412.6 MB, free: 15.99 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.3593, allocations: 0 / 412.6 MB, free: 15.99 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.666e-05/0.3593, allocations: 15.94 kB / 412.7 MB, free: 15.98 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.321e-06/0.3593, allocations: 4 kB / 412.7 MB, free: 15.97 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001289/0.3606, allocations: 0.821 MB / 413.5 MB, free: 15.12 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005609/0.3612, allocations: 494.4 kB / 414 MB, free: 14.62 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005133/0.3617, allocations: 476.8 kB / 414.4 MB, free: 14.16 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.49e-05/0.3618, allocations: 8 kB / 414.4 MB, free: 14.15 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007183/0.3625, allocations: 0.6431 MB / 415.1 MB, free: 13.46 MB / 330.7 MB Notification: Performance of pre-optimization done (n=34): time 2.004e-06/0.3625, allocations: 0 / 415.1 MB, free: 13.46 MB / 330.7 MB Notification: Performance of matching and sorting (n=34): time 0.001314/0.3638, allocations: 0.8938 MB / 416 MB, free: 12.57 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001493/0.364, allocations: 275.3 kB / 416.2 MB, free: 12.24 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001354/0.3653, allocations: 0.9801 MB / 417.2 MB, free: 11.25 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.943e-05/0.3654, allocations: 41.69 kB / 417.3 MB, free: 11.21 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/0.3655, allocations: 146 kB / 417.4 MB, free: 11.06 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001039/0.3657, allocations: 83.09 kB / 417.5 MB, free: 10.98 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.506e-05/0.3657, allocations: 8 kB / 417.5 MB, free: 10.97 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.3658, allocations: 342.8 kB / 417.8 MB, free: 10.62 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004123/0.3663, allocations: 336.2 kB / 418.2 MB, free: 10.3 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003992/0.3667, allocations: 328.5 kB / 418.5 MB, free: 9.977 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003012/0.367, allocations: 241.3 kB / 418.7 MB, free: 9.742 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.367, allocations: 3.938 kB / 418.7 MB, free: 9.738 MB / 330.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001207/0.3682, allocations: 0.8331 MB / 419.5 MB, free: 8.898 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002069/0.3684, allocations: 249.1 kB / 419.8 MB, free: 8.613 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/0.3684, allocations: 4 kB / 419.8 MB, free: 8.609 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.3685, allocations: 3.953 kB / 419.8 MB, free: 8.605 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.095e-05/0.3685, allocations: 3.938 kB / 419.8 MB, free: 8.602 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.3685, allocations: 4 kB / 419.8 MB, free: 8.598 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000341/0.3689, allocations: 35.88 kB / 419.8 MB, free: 8.562 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001882/0.3691, allocations: 152.7 kB / 420 MB, free: 8.414 MB / 330.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: 40 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,clock.y,data_0.y,reset.y,data_1.y,$PRE.dFFREGL.delay.inertialDelaySensitive[1].x,dFFREGL.delay.inertialDelaySensitive[1].x,$PRE.dFFREGL.delay.inertialDelaySensitive[1].y,dFFREGL.delay.inertialDelaySensitive[1].y,dFFREGL.delay.inertialDelaySensitive[1].delayTime,dFFREGL.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGL.delay.inertialDelaySensitive[1].y_old,dFFREGL.delay.inertialDelaySensitive[1].lh,dFFREGL.delay.inertialDelaySensitive[1].t_next,$PRE.dFFREGL.delay.inertialDelaySensitive[2].x,dFFREGL.delay.inertialDelaySensitive[2].x,$PRE.dFFREGL.delay.inertialDelaySensitive[2].y,dFFREGL.delay.inertialDelaySensitive[2].y,dFFREGL.delay.inertialDelaySensitive[2].delayTime,dFFREGL.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGL.delay.inertialDelaySensitive[2].y_old,dFFREGL.delay.inertialDelaySensitive[2].lh,dFFREGL.delay.inertialDelaySensitive[2].t_next,$PRE.dFFREGL.dFFR.reset,dFFREGL.dFFR.reset,$PRE.dFFREGL.dFFR.clock,dFFREGL.dFFR.clock,dFFREGL.dFFR.dataIn[1],dFFREGL.dFFR.dataIn[2],dFFREGL.dFFR.dataOut[1],dFFREGL.dFFR.dataOut[2],dFFREGL.dFFR.clock_flag,dFFREGL.dFFR.reset_flag,dFFREGL.dFFR.nextstate[1],dFFREGL.dFFR.nextstate[2],dFFREGL.dFFR.next_assign_val[1],dFFREGL.dFFR.next_assign_val[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 7 * 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.0003851/0.3694, allocations: 408.1 kB / 420.4 MB, free: 7.965 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001219/0.3696, allocations: 90.97 kB / 420.5 MB, free: 7.875 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002431/0.3698, allocations: 152.1 kB / 420.6 MB, free: 7.727 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-06/0.3698, allocations: 0 / 420.6 MB, free: 7.727 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.878e-06/0.3699, allocations: 7.953 kB / 420.6 MB, free: 7.719 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.3699, allocations: 0 / 420.6 MB, free: 7.719 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002155/0.372, allocations: 1.591 MB / 422.2 MB, free: 6.082 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.372, allocations: 4 kB / 422.2 MB, free: 6.078 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.592e-05/0.3721, allocations: 7.922 kB / 422.2 MB, free: 6.07 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.07e-06/0.3721, allocations: 0 / 422.2 MB, free: 6.07 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.06e-05/0.3722, allocations: 35.98 kB / 422.3 MB, free: 6.035 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.918e-06/0.3722, allocations: 3.953 kB / 422.3 MB, free: 6.031 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.3722, allocations: 0 / 422.3 MB, free: 6.031 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001387/0.3736, allocations: 1.068 MB / 423.3 MB, free: 4.945 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007895/0.3744, allocations: 0.5658 MB / 423.9 MB, free: 4.359 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000178/0.3746, allocations: 55.97 kB / 424 MB, free: 4.305 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002938/0.3749, allocations: 35.97 kB / 424 MB, free: 4.27 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004045/0.3753, allocations: 243.7 kB / 424.2 MB, free: 4.031 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001692/0.3754, allocations: 159.8 kB / 424.4 MB, free: 3.875 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001112/0.3766, allocations: 0.8148 MB / 425.2 MB, free: 3.062 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.3766, allocations: 0 / 425.2 MB, free: 3.062 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004635/0.3771, allocations: 116 kB / 425.3 MB, free: 2.949 MB / 330.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: 34 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,clock.y,data_0.y,reset.y,data_1.y,dFFREGL.delay.inertialDelaySensitive[1].x,dFFREGL.delay.inertialDelaySensitive[1].y,dFFREGL.delay.inertialDelaySensitive[1].delayTime,dFFREGL.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGL.delay.inertialDelaySensitive[1].y_old,dFFREGL.delay.inertialDelaySensitive[1].lh,dFFREGL.delay.inertialDelaySensitive[1].t_next,dFFREGL.delay.inertialDelaySensitive[2].x,dFFREGL.delay.inertialDelaySensitive[2].y,dFFREGL.delay.inertialDelaySensitive[2].delayTime,dFFREGL.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGL.delay.inertialDelaySensitive[2].y_old,dFFREGL.delay.inertialDelaySensitive[2].lh,dFFREGL.delay.inertialDelaySensitive[2].t_next,dFFREGL.dFFR.reset,dFFREGL.dFFR.clock,dFFREGL.dFFR.dataIn[1],dFFREGL.dFFR.dataIn[2],dFFREGL.dFFR.dataOut[1],dFFREGL.dFFR.dataOut[2],dFFREGL.dFFR.clock_flag,dFFREGL.dFFR.reset_flag,dFFREGL.dFFR.nextstate[1],dFFREGL.dFFR.nextstate[2],dFFREGL.dFFR.next_assign_val[1],dFFREGL.dFFR.next_assign_val[2]) * Number of discrete states: 32 (data_1.y,reset.y,data_0.y,clock.y,dFFREGL.dFFR.dataOut[2],dFFREGL.dFFR.dataOut[1],dFFREGL.dFFR.next_assign_val[2],dFFREGL.dFFR.next_assign_val[1],dFFREGL.dFFR.nextstate[2],dFFREGL.dFFR.nextstate[1],dFFREGL.dFFR.reset_flag,dFFREGL.dFFR.clock_flag,dFFREGL.dFFR.clock,dFFREGL.dFFR.reset,dFFREGL.delay.inertialDelaySensitive[1].y,dFFREGL.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGL.delay.inertialDelaySensitive[1].t_next,dFFREGL.delay.inertialDelaySensitive[1].delayTime,dFFREGL.delay.inertialDelaySensitive[1].lh,dFFREGL.delay.inertialDelaySensitive[1].y_old,$whenCondition2,$whenCondition1,dFFREGL.delay.inertialDelaySensitive[1].x,dFFREGL.delay.inertialDelaySensitive[2].y,dFFREGL.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGL.delay.inertialDelaySensitive[2].t_next,dFFREGL.delay.inertialDelaySensitive[2].delayTime,dFFREGL.delay.inertialDelaySensitive[2].lh,dFFREGL.delay.inertialDelaySensitive[2].y_old,$whenCondition4,$whenCondition3,dFFREGL.delay.inertialDelaySensitive[2].x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 7 * 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.0002573/0.3773, allocations: 190.5 kB / 425.5 MB, free: 2.754 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001512/0.3788, allocations: 1.46 MB / 427 MB, free: 1.207 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.3789, allocations: 0 / 427 MB, free: 1.207 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009452/0.3798, allocations: 1.086 MB / 428.1 MB, free: 36 kB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1458/0.5256, allocations: 276 kB / 428.3 MB, free: 101.4 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00318/0.5289, allocations: 1.68 MB / 430 MB, free: 101.1 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007055/0.5296, allocations: 1.035 MB / 431 MB, free: 100.3 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000209/0.5298, allocations: 39.84 kB / 431.1 MB, free: 100.3 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.208e-05/0.5299, allocations: 17.81 kB / 431.1 MB, free: 100.3 MB / 330.7 MB Notification: Performance of SimCode: time 7.71e-07/0.5299, allocations: 0 / 431.1 MB, free: 100.3 MB / 330.7 MB Notification: Performance of Templates: time 0.01873/0.5486, allocations: 13.06 MB / 444.2 MB, free: 98.09 MB / 330.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DFFREGL.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DFFREGL.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DFFREGL.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DFFREGL.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DFFREGL.sim & ./Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DFFREGL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DFFREGL.pipe 2>&1)