Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DLATREG.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.DLATREG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DLATREG") translateModel(Modelica.Electrical.Digital.Examples.DLATREG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DLATREG") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.01096/0.01096, allocations: 166.5 kB / 15.11 MB, free: 5.98 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.386/1.386, allocations: 170.8 MB / 186.6 MB, free: 1.133 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.001578/0.001578, allocations: 115.3 kB / 226.2 MB, free: 10.12 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003121/0.0003124, allocations: 12 kB / 274.1 MB, free: 10.09 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.241/0.2414, allocations: 38.77 MB / 312.9 MB, free: 38.84 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08617/0.3276, allocations: 72.48 MB / 385.4 MB, free: 2.043 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002473/0.3279, allocations: 75.95 kB / 385.4 MB, free: 1.969 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05199/0.3799, allocations: 26.56 MB / 412 MB, free: 7.465 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.973e-06/0.3799, allocations: 0 / 412 MB, free: 7.465 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.85e-05/0.38, allocations: 12 kB / 412 MB, free: 7.453 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.001346/0.3813, allocations: 1.128 MB / 413.1 MB, free: 6.23 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.3814, allocations: 8.031 kB / 413.1 MB, free: 6.223 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001378/0.3815, allocations: 94.86 kB / 413.2 MB, free: 6.129 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006373/0.3822, allocations: 411.7 kB / 413.6 MB, free: 5.684 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.869e-05/0.3822, allocations: 16 kB / 413.7 MB, free: 5.668 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.511e-05/0.3823, allocations: 24 kB / 413.7 MB, free: 5.645 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008367/0.3831, allocations: 0.4901 MB / 414.2 MB, free: 5.148 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.3832, allocations: 3.938 kB / 414.2 MB, free: 5.145 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.026e-05/0.3832, allocations: 11.98 kB / 414.2 MB, free: 5.133 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.3832, allocations: 0 / 414.2 MB, free: 5.133 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005327/0.3838, allocations: 364.1 kB / 414.5 MB, free: 4.777 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001654/0.3854, allocations: 0.9222 MB / 415.5 MB, free: 3.805 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007125/0.3862, allocations: 0.4986 MB / 416 MB, free: 3.293 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.249e-05/0.3862, allocations: 0 / 416 MB, free: 3.293 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008366/0.387, allocations: 0.6267 MB / 416.6 MB, free: 2.629 MB / 314.7 MB Notification: Performance of pre-optimization done (n=32): time 2.104e-06/0.387, allocations: 0 / 416.6 MB, free: 2.629 MB / 314.7 MB Notification: Performance of matching and sorting (n=32): time 0.002375/0.3894, allocations: 1.729 MB / 418.3 MB, free: 0.7969 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001757/0.3896, allocations: 283.3 kB / 418.6 MB, free: 476 kB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1818/0.5714, allocations: 1.017 MB / 419.6 MB, free: 86.59 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001947/0.5717, allocations: 40.72 kB / 419.7 MB, free: 86.56 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001466/0.5718, allocations: 144.8 kB / 419.8 MB, free: 86.48 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000145/0.572, allocations: 71.91 kB / 419.9 MB, free: 86.47 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.295e-05/0.572, allocations: 13.92 kB / 419.9 MB, free: 86.47 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.676e-05/0.5722, allocations: 340.9 kB / 420.2 MB, free: 86.16 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007936/0.573, allocations: 335.6 kB / 420.5 MB, free: 86.16 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006863/0.5737, allocations: 365.4 kB / 420.9 MB, free: 86.14 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005004/0.5742, allocations: 0.4908 MB / 421.4 MB, free: 85.91 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/0.5742, allocations: 0 / 421.4 MB, free: 85.91 MB / 314.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001484/0.5757, allocations: 1.093 MB / 422.5 MB, free: 85.64 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001342/0.5758, allocations: 245.7 kB / 422.7 MB, free: 85.42 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.5758, allocations: 1.312 kB / 422.7 MB, free: 85.42 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.5759, allocations: 4.688 kB / 422.7 MB, free: 85.42 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.871e-05/0.5759, allocations: 2.875 kB / 422.7 MB, free: 85.42 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.5759, allocations: 2.875 kB / 422.7 MB, free: 85.42 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003201/0.5762, allocations: 48.19 kB / 422.8 MB, free: 85.42 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001426/0.5764, allocations: 116.9 kB / 422.9 MB, free: 85.42 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: 36 ($PRE.dLATREG.delay.inertialDelaySensitive[2].y,$PRE.dLATREG.delay.inertialDelaySensitive[1].y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,enable.y,data_0.y,reset.y,data_1.y,$PRE.dLATREG.delay.inertialDelaySensitive[1].x,dLATREG.delay.inertialDelaySensitive[1].x,dLATREG.delay.inertialDelaySensitive[1].y,dLATREG.delay.inertialDelaySensitive[1].delayTime,dLATREG.delay.inertialDelaySensitive[1].y_auxiliary,dLATREG.delay.inertialDelaySensitive[1].y_old,dLATREG.delay.inertialDelaySensitive[1].lh,dLATREG.delay.inertialDelaySensitive[1].t_next,$PRE.dLATREG.delay.inertialDelaySensitive[2].x,dLATREG.delay.inertialDelaySensitive[2].x,dLATREG.delay.inertialDelaySensitive[2].y,dLATREG.delay.inertialDelaySensitive[2].delayTime,dLATREG.delay.inertialDelaySensitive[2].y_auxiliary,dLATREG.delay.inertialDelaySensitive[2].y_old,dLATREG.delay.inertialDelaySensitive[2].lh,dLATREG.delay.inertialDelaySensitive[2].t_next,dLATREG.dLATR.dataIn[1],dLATREG.dLATR.dataIn[2],dLATREG.dLATR.dataOut[1],dLATREG.dLATR.dataOut[2],dLATREG.dLATR.enable_flag,dLATREG.dLATR.reset_flag,dLATREG.dLATR.nextstate[1],dLATREG.dLATR.nextstate[2],dLATREG.dLATR.next_assign_val[1],dLATREG.dLATR.next_assign_val[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 8 * 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.0008308/0.5772, allocations: 0.7682 MB / 423.7 MB, free: 85.03 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001157/0.5773, allocations: 91.64 kB / 423.7 MB, free: 84.99 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002228/0.5776, allocations: 141.3 kB / 423.9 MB, free: 84.93 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.5776, allocations: 0.9688 kB / 423.9 MB, free: 84.93 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.5776, allocations: 1.031 kB / 423.9 MB, free: 84.93 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.5776, allocations: 2.906 kB / 423.9 MB, free: 84.93 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00217/0.5798, allocations: 1.926 MB / 425.8 MB, free: 84.34 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.5798, allocations: 0 / 425.8 MB, free: 84.34 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.099e-05/0.5798, allocations: 8.266 kB / 425.8 MB, free: 84.33 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.5798, allocations: 0 / 425.8 MB, free: 84.33 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.78e-05/0.5799, allocations: 33.97 kB / 425.9 MB, free: 84.33 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.5799, allocations: 3.562 kB / 425.9 MB, free: 84.33 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.5799, allocations: 4.781 kB / 425.9 MB, free: 84.33 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001575/0.5815, allocations: 1.361 MB / 427.2 MB, free: 83.94 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008763/0.5824, allocations: 0.5578 MB / 427.8 MB, free: 83.75 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001566/0.5825, allocations: 59.67 kB / 427.8 MB, free: 83.75 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003014/0.5829, allocations: 33.34 kB / 427.9 MB, free: 83.75 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004383/0.5833, allocations: 237.1 kB / 428.1 MB, free: 83.75 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001893/0.5835, allocations: 137.5 kB / 428.2 MB, free: 83.74 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001635/0.5851, allocations: 0.8494 MB / 429.1 MB, free: 83.5 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.91e-07/0.5852, allocations: 3.25 kB / 429.1 MB, free: 83.5 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007107/0.5859, allocations: 121.6 kB / 429.2 MB, free: 83.49 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: 32 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,enable.y,data_0.y,reset.y,data_1.y,dLATREG.delay.inertialDelaySensitive[1].x,dLATREG.delay.inertialDelaySensitive[1].y,dLATREG.delay.inertialDelaySensitive[1].delayTime,dLATREG.delay.inertialDelaySensitive[1].y_auxiliary,dLATREG.delay.inertialDelaySensitive[1].y_old,dLATREG.delay.inertialDelaySensitive[1].lh,dLATREG.delay.inertialDelaySensitive[1].t_next,dLATREG.delay.inertialDelaySensitive[2].x,dLATREG.delay.inertialDelaySensitive[2].y,dLATREG.delay.inertialDelaySensitive[2].delayTime,dLATREG.delay.inertialDelaySensitive[2].y_auxiliary,dLATREG.delay.inertialDelaySensitive[2].y_old,dLATREG.delay.inertialDelaySensitive[2].lh,dLATREG.delay.inertialDelaySensitive[2].t_next,dLATREG.dLATR.dataIn[1],dLATREG.dLATR.dataIn[2],dLATREG.dLATR.dataOut[1],dLATREG.dLATR.dataOut[2],dLATREG.dLATR.enable_flag,dLATREG.dLATR.reset_flag,dLATREG.dLATR.nextstate[1],dLATREG.dLATR.nextstate[2],dLATREG.dLATR.next_assign_val[1],dLATREG.dLATR.next_assign_val[2]) * Number of discrete states: 30 (enable.y,data_0.y,reset.y,data_1.y,dLATREG.dLATR.dataOut[2],dLATREG.dLATR.dataOut[1],dLATREG.dLATR.next_assign_val[2],dLATREG.dLATR.next_assign_val[1],dLATREG.dLATR.nextstate[2],dLATREG.dLATR.nextstate[1],dLATREG.dLATR.reset_flag,dLATREG.dLATR.enable_flag,dLATREG.delay.inertialDelaySensitive[1].y,dLATREG.delay.inertialDelaySensitive[1].y_auxiliary,dLATREG.delay.inertialDelaySensitive[1].t_next,dLATREG.delay.inertialDelaySensitive[1].delayTime,dLATREG.delay.inertialDelaySensitive[1].lh,dLATREG.delay.inertialDelaySensitive[1].y_old,$whenCondition4,$whenCondition3,dLATREG.delay.inertialDelaySensitive[1].x,dLATREG.delay.inertialDelaySensitive[2].y,dLATREG.delay.inertialDelaySensitive[2].y_auxiliary,dLATREG.delay.inertialDelaySensitive[2].t_next,dLATREG.delay.inertialDelaySensitive[2].delayTime,dLATREG.delay.inertialDelaySensitive[2].lh,dLATREG.delay.inertialDelaySensitive[2].y_old,$whenCondition2,$whenCondition1,dLATREG.delay.inertialDelaySensitive[2].x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 4 * 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.0003271/0.5862, allocations: 185.8 kB / 429.4 MB, free: 83.39 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001447/0.5877, allocations: 1.522 MB / 430.9 MB, free: 82.46 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.5877, allocations: 3.312 kB / 430.9 MB, free: 82.46 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001043/0.5888, allocations: 1.141 MB / 432.1 MB, free: 81.64 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001423/0.5902, allocations: 250.7 kB / 432.3 MB, free: 81.6 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003542/0.5938, allocations: 2.113 MB / 434.4 MB, free: 80.59 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007757/0.5946, allocations: 1.036 MB / 435.5 MB, free: 79.79 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001742/0.5947, allocations: 44.48 kB / 435.5 MB, free: 79.78 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.333e-05/0.5948, allocations: 18.19 kB / 435.5 MB, free: 79.77 MB / 314.7 MB Notification: Performance of SimCode: time 1.834e-06/0.5948, allocations: 0 / 435.5 MB, free: 79.77 MB / 314.7 MB Notification: Performance of Templates: time 0.01808/0.6129, allocations: 12.64 MB / 448.2 MB, free: 72.18 MB / 314.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DLATREG.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DLATREG.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DLATREG.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DLATREG.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DLATREG.sim & ./Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DLATREG -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DLATREG.pipe 2>&1)