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.001176/0.001176, allocations: 169.8 kB / 12.72 MB, free: 2.594 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.22/1.22, allocations: 170.6 MB / 183.8 MB, free: 11.42 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.001603/0.001603, allocations: 110.8 kB / 223.2 MB, free: 4.043 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.328e-05/2.329e-05, allocations: 4 kB / 268.9 MB, free: 20.92 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06339/0.06343, allocations: 38.77 MB / 307.6 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2424/0.3059, allocations: 72.39 MB / 380 MB, free: 3.84 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001868/0.3061, allocations: 67.95 kB / 380.1 MB, free: 3.805 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0496/0.3557, allocations: 26.73 MB / 406.8 MB, free: 13.61 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3558, allocations: 0 / 406.8 MB, free: 13.61 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.297e-05/0.3558, allocations: 16 kB / 406.8 MB, free: 13.6 MB / 298.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.0009259/0.3567, allocations: 0.9936 MB / 407.8 MB, free: 12.57 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.3568, allocations: 8.031 kB / 407.8 MB, free: 12.56 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001291/0.3569, allocations: 98.86 kB / 407.9 MB, free: 12.46 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005681/0.3575, allocations: 411.8 kB / 408.3 MB, free: 12.05 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.971e-05/0.3575, allocations: 17.5 kB / 408.3 MB, free: 12.04 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.324e-05/0.3576, allocations: 22.5 kB / 408.4 MB, free: 12.02 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000715/0.3583, allocations: 493 kB / 408.8 MB, free: 11.64 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.3583, allocations: 0 / 408.8 MB, free: 11.64 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.383e-05/0.3584, allocations: 15.12 kB / 408.9 MB, free: 11.63 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.3584, allocations: 0 / 408.9 MB, free: 11.63 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004823/0.3589, allocations: 352 kB / 409.2 MB, free: 11.39 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001306/0.3602, allocations: 0.9246 MB / 410.1 MB, free: 10.61 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005337/0.3608, allocations: 0.4912 MB / 410.6 MB, free: 10.31 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005208/0.3613, allocations: 483.9 kB / 411.1 MB, free: 10.04 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.216e-05/0.3613, allocations: 3.984 kB / 411.1 MB, free: 10.04 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006965/0.362, allocations: 0.6243 MB / 411.7 MB, free: 9.492 MB / 298.7 MB Notification: Performance of pre-optimization done (n=32): time 1.603e-06/0.362, allocations: 0 / 411.7 MB, free: 9.492 MB / 298.7 MB Notification: Performance of matching and sorting (n=32): time 0.001391/0.3634, allocations: 1.111 MB / 412.8 MB, free: 8.555 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001471/0.3636, allocations: 284.9 kB / 413.1 MB, free: 8.238 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0012/0.3648, allocations: 1.014 MB / 414.1 MB, free: 7.402 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.672e-05/0.3649, allocations: 41.39 kB / 414.2 MB, free: 7.359 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.238e-05/0.365, allocations: 146.1 kB / 414.3 MB, free: 7.246 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.29e-05/0.3651, allocations: 68.92 kB / 414.4 MB, free: 7.188 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.576e-05/0.3651, allocations: 11.12 kB / 414.4 MB, free: 7.18 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.3652, allocations: 345.1 kB / 414.7 MB, free: 6.844 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004256/0.3657, allocations: 338.9 kB / 415.1 MB, free: 6.621 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004506/0.3661, allocations: 340.8 kB / 415.4 MB, free: 6.289 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004827/0.3666, allocations: 487.6 kB / 415.9 MB, free: 5.77 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3666, allocations: 4 kB / 415.9 MB, free: 5.766 MB / 298.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001358/0.368, allocations: 1.083 MB / 416.9 MB, free: 4.633 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001756/0.3682, allocations: 243.9 kB / 417.2 MB, free: 4.352 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.3682, allocations: 0 / 417.2 MB, free: 4.352 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.3682, allocations: 0 / 417.2 MB, free: 4.352 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.418e-05/0.3682, allocations: 7.938 kB / 417.2 MB, free: 4.344 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.3683, allocations: 3.938 kB / 417.2 MB, free: 4.34 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003122/0.3686, allocations: 47.89 kB / 417.2 MB, free: 4.293 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001569/0.3687, allocations: 127.9 kB / 417.4 MB, free: 4.168 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: 36 ($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,$PRE.dLATREG.delay.inertialDelaySensitive[1].y,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,$PRE.dLATREG.delay.inertialDelaySensitive[2].y,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 () * 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.0003713/0.3691, allocations: 413.9 kB / 417.8 MB, free: 3.715 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001056/0.3692, allocations: 90.97 kB / 417.9 MB, free: 3.625 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000237/0.3695, allocations: 151.7 kB / 418 MB, free: 3.473 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.3695, allocations: 0 / 418 MB, free: 3.473 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.3695, allocations: 0 / 418 MB, free: 3.473 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.3695, allocations: 0 / 418 MB, free: 3.473 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002196/0.3717, allocations: 1.911 MB / 419.9 MB, free: 1.461 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.3717, allocations: 0 / 419.9 MB, free: 1.461 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.435e-06/0.3717, allocations: 0 / 419.9 MB, free: 1.461 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.3717, allocations: 0 / 419.9 MB, free: 1.461 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.138e-05/0.3718, allocations: 31.98 kB / 420 MB, free: 1.43 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.3718, allocations: 0 / 420 MB, free: 1.43 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.3718, allocations: 4 kB / 420 MB, free: 1.426 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001548/0.3734, allocations: 1.353 MB / 421.3 MB, free: 12 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007942/0.3742, allocations: 0.5542 MB / 421.9 MB, free: 15.44 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001436/0.3743, allocations: 59.95 kB / 421.9 MB, free: 15.38 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002938/0.3746, allocations: 47.89 kB / 422 MB, free: 15.33 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003581/0.375, allocations: 231.7 kB / 422.2 MB, free: 15.11 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001592/0.3752, allocations: 135.9 kB / 422.3 MB, free: 14.97 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.00104/0.3762, allocations: 0.8422 MB / 423.2 MB, free: 14.13 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.3762, allocations: 0 / 423.2 MB, free: 14.13 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004041/0.3766, allocations: 124 kB / 423.3 MB, free: 14.01 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) * 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.0002523/0.3769, allocations: 176.5 kB / 423.5 MB, free: 13.82 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001587/0.3785, allocations: 1.503 MB / 425 MB, free: 12.23 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3785, allocations: 0 / 425 MB, free: 12.23 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009511/0.3795, allocations: 1.129 MB / 426.1 MB, free: 11.02 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009952/0.3805, allocations: 262.8 kB / 426.4 MB, free: 10.77 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002301/0.3828, allocations: 1.685 MB / 428 MB, free: 9.055 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007037/0.3835, allocations: 1.039 MB / 429.1 MB, free: 7.984 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001127/0.3836, allocations: 33.52 kB / 429.1 MB, free: 7.953 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.559e-05/0.3837, allocations: 15.44 kB / 429.1 MB, free: 7.938 MB / 314.7 MB Notification: Performance of SimCode: time 3.11e-07/0.3837, allocations: 0 / 429.1 MB, free: 7.938 MB / 314.7 MB Notification: Performance of Templates: time 0.01578/0.3995, allocations: 12.6 MB / 441.7 MB, free: 11.06 MB / 330.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)