Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DLATREGSRL.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.DLATREGSRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DLATREGSRL") translateModel(Modelica.Electrical.Digital.Examples.DLATREGSRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DLATREGSRL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.008057/0.008057, allocations: 166.5 kB / 15.11 MB, free: 5.969 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.288/1.288, allocations: 170.8 MB / 186.6 MB, free: 1.117 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.001566/0.001566, allocations: 110.6 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003252/0.0003251, allocations: 8 kB / 274.1 MB, free: 10.1 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2033/0.2037, allocations: 38.77 MB / 312.9 MB, free: 38.81 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08286/0.2866, allocations: 72.85 MB / 385.7 MB, free: 1.676 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002524/0.2869, allocations: 75.97 kB / 385.8 MB, free: 1.602 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2074/0.4943, allocations: 37.64 MB / 423.4 MB, free: 87.14 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.4943, allocations: 0 / 423.4 MB, free: 87.14 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.046e-05/0.4943, allocations: 18.62 kB / 423.5 MB, free: 87.14 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.001221/0.4956, allocations: 1.49 MB / 424.9 MB, free: 86.18 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.4956, allocations: 12.5 kB / 425 MB, free: 86.18 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001644/0.4958, allocations: 136.5 kB / 425.1 MB, free: 86.11 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006701/0.4965, allocations: 0.507 MB / 425.6 MB, free: 85.79 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.273e-05/0.4965, allocations: 23.47 kB / 425.6 MB, free: 85.79 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.851e-05/0.4966, allocations: 28.38 kB / 425.6 MB, free: 85.79 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009066/0.4975, allocations: 0.6242 MB / 426.3 MB, free: 85.75 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/0.4975, allocations: 0 / 426.3 MB, free: 85.75 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.762e-05/0.4976, allocations: 21.23 kB / 426.3 MB, free: 85.75 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.4976, allocations: 2.656 kB / 426.3 MB, free: 85.75 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006013/0.4982, allocations: 471.3 kB / 426.8 MB, free: 85.75 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001628/0.4999, allocations: 1.122 MB / 427.9 MB, free: 85.41 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007512/0.5006, allocations: 0.6935 MB / 428.6 MB, free: 85.39 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.356e-06/0.5006, allocations: 6.312 kB / 428.6 MB, free: 85.39 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000907/0.5016, allocations: 0.7498 MB / 429.3 MB, free: 85.2 MB / 314.7 MB Notification: Performance of pre-optimization done (n=33): time 2.004e-06/0.5016, allocations: 0 / 429.3 MB, free: 85.2 MB / 314.7 MB Notification: Performance of matching and sorting (n=33): time 0.002743/0.5043, allocations: 2.105 MB / 431.4 MB, free: 84.45 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001555/0.5045, allocations: 329.7 kB / 431.8 MB, free: 84.11 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001598/0.5061, allocations: 1.479 MB / 433.2 MB, free: 83.52 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.774e-05/0.5062, allocations: 44.91 kB / 433.3 MB, free: 83.49 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001339/0.5063, allocations: 227 kB / 433.5 MB, free: 83.31 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.61e-05/0.5064, allocations: 83.22 kB / 433.6 MB, free: 83.26 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.142e-05/0.5065, allocations: 11.75 kB / 433.6 MB, free: 83.26 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.573e-05/0.5065, allocations: 366.3 kB / 433.9 MB, free: 82.93 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004995/0.507, allocations: 444.2 kB / 434.4 MB, free: 82.79 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000521/0.5076, allocations: 483 kB / 434.9 MB, free: 82.62 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004968/0.5081, allocations: 0.5789 MB / 435.4 MB, free: 82.25 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.5081, allocations: 0 / 435.4 MB, free: 82.25 MB / 314.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.00157/0.5097, allocations: 1.343 MB / 436.8 MB, free: 81.63 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000201/0.5099, allocations: 291.8 kB / 437.1 MB, free: 81.36 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.298e-06/0.5099, allocations: 3.938 kB / 437.1 MB, free: 81.36 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.318e-05/0.5099, allocations: 0 / 437.1 MB, free: 81.36 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.653e-05/0.51, allocations: 4.469 kB / 437.1 MB, free: 81.36 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.51, allocations: 8.016 kB / 437.1 MB, free: 81.35 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004098/0.5104, allocations: 46.64 kB / 437.1 MB, free: 81.34 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001687/0.5106, allocations: 127.2 kB / 437.2 MB, free: 81.34 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: 37 ($PRE.dLATREGSRL.delay.inertialDelaySensitive[2].y,$PRE.dLATREGSRL.delay.inertialDelaySensitive[1].y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,enable.y,data_0.y,reset.y,data_1.y,set.y,$PRE.dLATREGSRL.delay.inertialDelaySensitive[1].x,dLATREGSRL.delay.inertialDelaySensitive[1].x,dLATREGSRL.delay.inertialDelaySensitive[1].y,dLATREGSRL.delay.inertialDelaySensitive[1].delayTime,dLATREGSRL.delay.inertialDelaySensitive[1].y_auxiliary,dLATREGSRL.delay.inertialDelaySensitive[1].y_old,dLATREGSRL.delay.inertialDelaySensitive[1].lh,dLATREGSRL.delay.inertialDelaySensitive[1].t_next,$PRE.dLATREGSRL.delay.inertialDelaySensitive[2].x,dLATREGSRL.delay.inertialDelaySensitive[2].x,dLATREGSRL.delay.inertialDelaySensitive[2].y,dLATREGSRL.delay.inertialDelaySensitive[2].delayTime,dLATREGSRL.delay.inertialDelaySensitive[2].y_auxiliary,dLATREGSRL.delay.inertialDelaySensitive[2].y_old,dLATREGSRL.delay.inertialDelaySensitive[2].lh,dLATREGSRL.delay.inertialDelaySensitive[2].t_next,dLATREGSRL.dLATSR.dataIn[1],dLATREGSRL.dLATSR.dataIn[2],dLATREGSRL.dLATSR.dataOut[1],dLATREGSRL.dLATSR.dataOut[2],dLATREGSRL.dLATSR.enable_flag,dLATREGSRL.dLATSR.reset_set_flag,dLATREGSRL.dLATSR.nextstate[1],dLATREGSRL.dLATSR.nextstate[2],dLATREGSRL.dLATSR.next_assign_val[1],dLATREGSRL.dLATSR.next_assign_val[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 8 * 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.0008723/0.5115, allocations: 0.942 MB / 438.2 MB, free: 80.78 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001181/0.5116, allocations: 131.2 kB / 438.3 MB, free: 80.71 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002139/0.5118, allocations: 194.9 kB / 438.5 MB, free: 80.62 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.5118, allocations: 7.375 kB / 438.5 MB, free: 80.62 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.166e-06/0.5118, allocations: 0 / 438.5 MB, free: 80.62 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.5119, allocations: 7.141 kB / 438.5 MB, free: 80.62 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002586/0.5144, allocations: 2.339 MB / 440.9 MB, free: 79.44 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.5145, allocations: 0 / 440.9 MB, free: 79.44 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.608e-06/0.5145, allocations: 0 / 440.9 MB, free: 79.44 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.5145, allocations: 3.891 kB / 440.9 MB, free: 79.44 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.814e-05/0.5146, allocations: 32.47 kB / 440.9 MB, free: 79.44 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.5146, allocations: 7.719 kB / 440.9 MB, free: 79.43 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.5146, allocations: 3.953 kB / 440.9 MB, free: 79.43 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00162/0.5162, allocations: 1.631 MB / 442.5 MB, free: 78.48 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009157/0.5171, allocations: 0.6579 MB / 443.2 MB, free: 77.98 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001617/0.5173, allocations: 63.33 kB / 443.3 MB, free: 77.95 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003774/0.5177, allocations: 44.16 kB / 443.3 MB, free: 77.94 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004748/0.5182, allocations: 382.1 kB / 443.7 MB, free: 77.74 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001435/0.5183, allocations: 131.3 kB / 443.8 MB, free: 77.73 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001358/0.5197, allocations: 1.226 MB / 445 MB, free: 76.84 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5197, allocations: 0 / 445 MB, free: 76.84 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005163/0.5202, allocations: 148 kB / 445.2 MB, free: 76.7 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: 33 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,enable.y,data_0.y,reset.y,data_1.y,set.y,dLATREGSRL.delay.inertialDelaySensitive[1].x,dLATREGSRL.delay.inertialDelaySensitive[1].y,dLATREGSRL.delay.inertialDelaySensitive[1].delayTime,dLATREGSRL.delay.inertialDelaySensitive[1].y_auxiliary,dLATREGSRL.delay.inertialDelaySensitive[1].y_old,dLATREGSRL.delay.inertialDelaySensitive[1].lh,dLATREGSRL.delay.inertialDelaySensitive[1].t_next,dLATREGSRL.delay.inertialDelaySensitive[2].x,dLATREGSRL.delay.inertialDelaySensitive[2].y,dLATREGSRL.delay.inertialDelaySensitive[2].delayTime,dLATREGSRL.delay.inertialDelaySensitive[2].y_auxiliary,dLATREGSRL.delay.inertialDelaySensitive[2].y_old,dLATREGSRL.delay.inertialDelaySensitive[2].lh,dLATREGSRL.delay.inertialDelaySensitive[2].t_next,dLATREGSRL.dLATSR.dataIn[1],dLATREGSRL.dLATSR.dataIn[2],dLATREGSRL.dLATSR.dataOut[1],dLATREGSRL.dLATSR.dataOut[2],dLATREGSRL.dLATSR.enable_flag,dLATREGSRL.dLATSR.reset_set_flag,dLATREGSRL.dLATSR.nextstate[1],dLATREGSRL.dLATSR.nextstate[2],dLATREGSRL.dLATSR.next_assign_val[1],dLATREGSRL.dLATSR.next_assign_val[2]) * Number of discrete states: 31 (enable.y,data_0.y,reset.y,data_1.y,set.y,dLATREGSRL.dLATSR.dataOut[2],dLATREGSRL.dLATSR.dataOut[1],dLATREGSRL.dLATSR.next_assign_val[2],dLATREGSRL.dLATSR.next_assign_val[1],dLATREGSRL.dLATSR.nextstate[2],dLATREGSRL.dLATSR.nextstate[1],dLATREGSRL.dLATSR.reset_set_flag,dLATREGSRL.dLATSR.enable_flag,dLATREGSRL.delay.inertialDelaySensitive[2].y,dLATREGSRL.delay.inertialDelaySensitive[2].y_auxiliary,dLATREGSRL.delay.inertialDelaySensitive[2].t_next,dLATREGSRL.delay.inertialDelaySensitive[2].delayTime,dLATREGSRL.delay.inertialDelaySensitive[2].lh,dLATREGSRL.delay.inertialDelaySensitive[2].y_old,$whenCondition2,$whenCondition1,dLATREGSRL.delay.inertialDelaySensitive[2].x,dLATREGSRL.delay.inertialDelaySensitive[1].y,dLATREGSRL.delay.inertialDelaySensitive[1].y_auxiliary,dLATREGSRL.delay.inertialDelaySensitive[1].t_next,dLATREGSRL.delay.inertialDelaySensitive[1].delayTime,dLATREGSRL.delay.inertialDelaySensitive[1].lh,dLATREGSRL.delay.inertialDelaySensitive[1].y_old,$whenCondition4,$whenCondition3,dLATREGSRL.delay.inertialDelaySensitive[1].x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 4 * 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.0002575/0.5205, allocations: 181.6 kB / 445.4 MB, free: 76.52 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001687/0.5222, allocations: 1.925 MB / 447.3 MB, free: 74.5 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.5222, allocations: 0 / 447.3 MB, free: 74.5 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000933/0.5231, allocations: 1.437 MB / 448.7 MB, free: 72.97 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001043/0.5242, allocations: 295.3 kB / 449 MB, free: 72.69 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00377/0.528, allocations: 2.979 MB / 452 MB, free: 69.68 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008674/0.5289, allocations: 1.18 MB / 453.2 MB, free: 68.47 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001811/0.5291, allocations: 38.16 kB / 453.2 MB, free: 68.43 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.604e-05/0.5291, allocations: 15.44 kB / 453.2 MB, free: 68.41 MB / 314.7 MB Notification: Performance of SimCode: time 1.133e-06/0.5291, allocations: 0 / 453.2 MB, free: 68.41 MB / 314.7 MB Notification: Performance of Templates: time 0.01573/0.5448, allocations: 14.75 MB / 468 MB, free: 53.43 MB / 314.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DLATREGSRL.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DLATREGSRL.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DLATREGSRL.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DLATREGSRL.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DLATREGSRL.sim & ./Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DLATREGSRL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DLATREGSRL.pipe 2>&1)