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.006271/0.006271, allocations: 165.4 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.373/1.373, allocations: 170.8 MB / 186.6 MB, free: 1.129 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.001673/0.001673, allocations: 118.6 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00035/0.00035, allocations: 12 kB / 274.1 MB, free: 10.1 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2582/0.2586, allocations: 38.76 MB / 312.9 MB, free: 38.72 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1103/0.369, allocations: 72.91 MB / 385.8 MB, free: 1.637 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000323/0.3694, allocations: 71.97 kB / 385.9 MB, free: 1.566 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05848/0.4279, allocations: 30.43 MB / 416.3 MB, free: 3.176 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.846e-06/0.4279, allocations: 0 / 416.3 MB, free: 3.176 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.852e-05/0.428, allocations: 16 kB / 416.3 MB, free: 3.16 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.00188/0.4299, allocations: 1.477 MB / 417.8 MB, free: 1.578 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/0.4299, allocations: 8.031 kB / 417.8 MB, free: 1.57 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001939/0.4301, allocations: 130.4 kB / 417.9 MB, free: 1.441 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008137/0.4309, allocations: 0.5129 MB / 418.4 MB, free: 0.8789 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.538e-05/0.431, allocations: 27.94 kB / 418.5 MB, free: 0.8516 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.629e-05/0.4311, allocations: 31.95 kB / 418.5 MB, free: 0.8203 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009979/0.4321, allocations: 0.6221 MB / 419.1 MB, free: 196 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.4321, allocations: 3.938 kB / 419.1 MB, free: 192 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.323e-05/0.4322, allocations: 19.98 kB / 419.1 MB, free: 172 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.477e-06/0.4322, allocations: 4 kB / 419.1 MB, free: 168 kB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1721/0.6043, allocations: 455.2 kB / 419.6 MB, free: 84.37 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002621/0.607, allocations: 1.028 MB / 420.6 MB, free: 84.07 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001064/0.6081, allocations: 0.6919 MB / 421.3 MB, free: 84.04 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.396e-05/0.6081, allocations: 5.531 kB / 421.3 MB, free: 84.04 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009176/0.609, allocations: 0.7597 MB / 422.1 MB, free: 83.87 MB / 314.7 MB Notification: Performance of pre-optimization done (n=36): time 3.596e-06/0.609, allocations: 0 / 422.1 MB, free: 83.87 MB / 314.7 MB Notification: Performance of matching and sorting (n=36): time 0.002991/0.612, allocations: 2.108 MB / 424.2 MB, free: 83.25 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001667/0.6122, allocations: 325.6 kB / 424.5 MB, free: 82.94 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002334/0.6146, allocations: 1.457 MB / 426 MB, free: 82.64 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000102/0.6147, allocations: 47.7 kB / 426 MB, free: 82.61 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001864/0.6149, allocations: 215.9 kB / 426.2 MB, free: 82.52 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001314/0.615, allocations: 80.34 kB / 426.3 MB, free: 82.49 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.465e-05/0.6151, allocations: 13.16 kB / 426.3 MB, free: 82.49 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.6152, allocations: 372 kB / 426.7 MB, free: 82.18 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006908/0.6159, allocations: 440.7 kB / 427.1 MB, free: 82.17 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006878/0.6166, allocations: 479.3 kB / 427.6 MB, free: 82.15 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005893/0.6172, allocations: 0.5804 MB / 428.1 MB, free: 81.89 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/0.6172, allocations: 1.094 kB / 428.1 MB, free: 81.89 MB / 314.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001874/0.6191, allocations: 1.343 MB / 429.5 MB, free: 81.39 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000195/0.6193, allocations: 291.3 kB / 429.8 MB, free: 81.12 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.6193, allocations: 1.406 kB / 429.8 MB, free: 81.12 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.211e-05/0.6193, allocations: 1.219 kB / 429.8 MB, free: 81.12 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.8e-05/0.6194, allocations: 17.86 kB / 429.8 MB, free: 81.11 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.6194, allocations: 4.328 kB / 429.8 MB, free: 81.11 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004849/0.6199, allocations: 41.59 kB / 429.8 MB, free: 81.11 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002357/0.6201, allocations: 159 kB / 430 MB, free: 81.11 MB / 314.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.001016/0.6212, allocations: 0.9455 MB / 430.9 MB, free: 80.55 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001384/0.6213, allocations: 130.6 kB / 431.1 MB, free: 80.48 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002635/0.6216, allocations: 200.9 kB / 431.3 MB, free: 80.39 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.6216, allocations: 0 / 431.3 MB, free: 80.39 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.6216, allocations: 7.703 kB / 431.3 MB, free: 80.38 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.6216, allocations: 0 / 431.3 MB, free: 80.38 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002562/0.6242, allocations: 2.322 MB / 433.6 MB, free: 79.21 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.6242, allocations: 0 / 433.6 MB, free: 79.21 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.408e-05/0.6242, allocations: 11.86 kB / 433.6 MB, free: 79.21 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.6242, allocations: 0 / 433.6 MB, free: 79.21 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.365e-05/0.6243, allocations: 36.58 kB / 433.6 MB, free: 79.21 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.6243, allocations: 3.953 kB / 433.6 MB, free: 79.21 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.6243, allocations: 3.234 kB / 433.6 MB, free: 79.21 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001729/0.626, allocations: 1.624 MB / 435.3 MB, free: 78.41 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000934/0.627, allocations: 0.6588 MB / 435.9 MB, free: 78.03 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001679/0.6272, allocations: 65.53 kB / 436 MB, free: 78 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003248/0.6275, allocations: 32.64 kB / 436 MB, free: 78 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000448/0.628, allocations: 357.7 kB / 436.4 MB, free: 77.91 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001559/0.6281, allocations: 158.9 kB / 436.5 MB, free: 77.9 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001405/0.6295, allocations: 1.21 MB / 437.7 MB, free: 77.43 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.6296, allocations: 3.531 kB / 437.7 MB, free: 77.43 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000608/0.6302, allocations: 150.9 kB / 437.9 MB, free: 77.43 MB / 314.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.00026/0.6304, allocations: 186.9 kB / 438.1 MB, free: 77.32 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001749/0.6322, allocations: 1.917 MB / 440 MB, free: 76.17 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.6322, allocations: 0 / 440 MB, free: 76.17 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00102/0.6332, allocations: 1.392 MB / 441.4 MB, free: 75.19 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001057/0.6343, allocations: 309.7 kB / 441.7 MB, free: 75.12 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003341/0.6377, allocations: 2.938 MB / 444.6 MB, free: 73.76 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000689/0.6384, allocations: 1.177 MB / 445.8 MB, free: 72.89 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002249/0.6386, allocations: 75.14 kB / 445.9 MB, free: 72.83 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.77e-05/0.6386, allocations: 27.44 kB / 445.9 MB, free: 72.8 MB / 314.7 MB Notification: Performance of SimCode: time 1.242e-06/0.6387, allocations: 4 kB / 445.9 MB, free: 72.8 MB / 314.7 MB Notification: Performance of Templates: time 0.01942/0.6581, allocations: 15.47 MB / 461.4 MB, free: 58.24 MB / 314.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)